mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-27 14:03:40 +03:00
F #2433: search Gemfile in install_gems dir
This commit is contained in:
parent
d033bce570
commit
8ae59a4cbc
@ -498,6 +498,7 @@ end
|
||||
def find_gemfile_path
|
||||
paths = []
|
||||
paths << "#{Dir.pwd}/Gemfile"
|
||||
paths << File.expand_path(File.dirname(__FILE__))
|
||||
paths << "#{ENV["ONE_LOCATION"]}/share/install_gems/Gemfile" \
|
||||
if ENV["ONE_LOCATION"]
|
||||
paths << "/usr/share/one/install_gems/Gemfile"
|
||||
|
Loading…
x
Reference in New Issue
Block a user