Skip to content

Instantly share code, notes, and snippets.

@januszm
Last active March 25, 2021 19:10
Show Gist options
  • Save januszm/6cfe498135ee39d7628050655a84be11 to your computer and use it in GitHub Desktop.
Save januszm/6cfe498135ee39d7628050655a84be11 to your computer and use it in GitHub Desktop.
rails_version = '6.1.3'
# Include rails specific gems
# We need this until https://github.com/rails/rails/issues/41750 is resolved
gem 'actioncable', rails_version
gem 'actionmailer', rails_version
gem 'actionpack', rails_version
gem 'actionview', rails_version
gem 'activejob', rails_version
gem 'activemodel', rails_version
gem 'activerecord', rails_version
gem 'activesupport', rails_version
gem 'railties', rails_version
gem 'sprockets-rails'
# in config/application.rb replace require 'rails/all' with:
require "rails"
# active_storage, action_mailbox, action_text removed
%w(
active_record/railtie
action_controller/railtie
action_view/railtie
action_mailer/railtie
active_job/railtie
action_cable/engine
rails/test_unit/railtie
sprockets/railtie
).each do |railtie|
require railtie
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment