Starting with Rails LTS 2.3.18.19, it is possible to run Rails LTS with modern versions of RubyGems (2.6.13 at the time of writing) if you are using Rails 2.3 LTS with Bundler.
With RubyGems 2+, Rails LTS will restrict the following features which are now supplied by bundler:
- You will no longer be able to use
config.gem ...
inenvironment.rb
. - You can no longer freeze/unpack gems using
rails:freeze:gems
orrails:gems:unpack
. - Rails will no longer search locally installed gems when looking for generators (in
script/generate
).
Posted by Tobias Kraze to Rails LTS documentation (2017-09-06 14:10)