mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Check for environment.rb
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user