all.rb 215 B

123456789101112131415
  1. require "rails"
  2. %w(
  3. active_record
  4. action_controller
  5. action_mailer
  6. active_resource
  7. rails/test_unit
  8. sprockets
  9. ).each do |framework|
  10. begin
  11. require "#{framework}/railtie"
  12. rescue LoadError
  13. end
  14. end