- set GEM_HOME and GEM_PATH so gembag installs to the right place

(for proper MRI/rbx support)
This commit is contained in:
Jordan Sissel 2013-04-23 23:45:28 -07:00
parent a9a191d620
commit 6061117565

View file

@ -30,6 +30,8 @@ deps = [spec.development_dependencies, spec.runtime_dependencies].flatten
# target for now
rubymajor = RUBY_VERSION.split(".")[0..1].join(".")
target = "vendor/bundle/#{RUBY_ENGINE}/#{rubymajor}/"
ENV["GEM_HOME"] = target
ENV["GEM_PATH"] = ""
deps.each do |dep|
# TODO(sissel): Hack for now