Ruby gem: rails
gem install rails -v 8.1.1 gem 'rails', '~> 8.1.1' To upgrade to this version, update your Gemfile:
gem 'rails', '~> 8.1.1' Then run:
bundle update rails Note: Review the release notes and changelog before upgrading to ensure compatibility with your application.