mirror of
https://github.com/github/rails.git
synced 2026-01-09 22:58:02 -05:00
Use the correct environment.rb path
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
begin
|
begin
|
||||||
require File.expand_path('../vendor/environment', __FILE__)
|
require File.expand_path('../.bundle/environment', __FILE__)
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
begin
|
begin
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
@@ -18,4 +18,4 @@ rescue LoadError
|
|||||||
$:.unshift File.expand_path("../#{framework}/lib", __FILE__)
|
$:.unshift File.expand_path("../#{framework}/lib", __FILE__)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user