Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Autorequire bundled libraries by default

  • Loading branch information...
commit db15e49ddf64afd982ddb52e7d0487314f7dcf97 1 parent 031139b
@jeremy jeremy authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 railties/lib/generators/rails/app/templates/config/boot.rb
View
5 railties/lib/generators/rails/app/templates/config/boot.rb
@@ -16,6 +16,9 @@
# require 'rubygems'
end
+# Auto-require all bundled libraries.
+Bundler.require
+
<% unless options[:skip_activerecord] -%>
require 'rails/all'
@@ -40,4 +43,4 @@
require "action_mailer/railtie"
require "active_resource/railtie"
require "rails/test_unit/railtie"
-<% end -%>
+<% end -%>

1 comment on commit db15e49

@voxxit

Finally!

Please sign in to comment.
Something went wrong with that request. Please try again.