1
0
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:
Javi Fontan 2016-09-12 18:28:04 +02:00
parent d033bce570
commit 8ae59a4cbc

View File

@ -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"