1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-27 14:03:40 +03:00

F #2433: typo in Gemfile path

This commit is contained in:
Javi Fontan 2016-09-13 10:12:37 +02:00
parent aff67c2623
commit bea3f99797

View File

@ -498,7 +498,7 @@ end
def find_gemfile_path
paths = []
paths << "#{Dir.pwd}/Gemfile"
paths << File.expand_path(File.dirname(__FILE__))
paths << "#{File.expand_path(File.dirname(__FILE__))}/Gemfile"
paths << "#{ENV["ONE_LOCATION"]}/share/install_gems/Gemfile" \
if ENV["ONE_LOCATION"]
paths << "/usr/share/one/install_gems/Gemfile"