Skip to content

Commit

Permalink
use full path for gems
Browse files Browse the repository at this point in the history
  • Loading branch information
jpalley committed Apr 17, 2012
1 parent f2c58f9 commit fb73a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/jetpack
Expand Up @@ -53,7 +53,7 @@ script_start_time = Time.now
@jetpack_dir = File.expand_path(File.join(File.dirname(__FILE__), ".."))

@gem_home = "file:" + File.expand_path(File.join(@settings.app_root, @jruby_jar_file)) + "!/META-INF/jruby.home/lib/ruby/gems/1.8"
@gem_path = @gem_home + ":vendor/bundler_gem"
@gem_path = @gem_home + ":#{File.expand_path(File.join(@path_to_project, "vendor/bundler_gem"))}"

@java_dash_jar = "PATH=$PATH:$(dirname $0) GEM_HOME=\"#{@gem_home}\" GEM_PATH=\"#{@gem_path}\" exec java #{@settings.java_options} -jar"
@jruby_opts = @settings.ruby_version.to_s == '1.9' ? '--1.9' : ''
Expand Down

0 comments on commit fb73a26

Please sign in to comment.