Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Check for environment.rb

  • Loading branch information...
commit 4afe70790cd26e6b8f17106d031c67ce4da3efbe 1 parent 3072bf7
@jeremy jeremy authored
View
2  railties/lib/rails/generators/rails/app/templates/config/boot.rb
@@ -1,6 +1,6 @@
# Use Bundler (preferred)
environment = File.expand_path('../../vendor/gems/environment', __FILE__)
-if File.exist?(environment)
+if File.exist?("#{environment}.rb")
require environment
# Use 2.x style vendor/rails and RubyGems
Please sign in to comment.
Something went wrong with that request. Please try again.