Skip to content
This repository has been archived by the owner on Feb 7, 2020. It is now read-only.

Commit

Permalink
Merge branch 'pass-jruby-opts-to-rake'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Jowdy committed Sep 10, 2012
2 parents f1200f0 + 4238dc9 commit a667fcd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin_files/rake.erb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@


set -e set -e


<% if defined? @jruby_opts %>
export JRUBY_OPTS="%<=@jruby_opts%>"
<% end %>
export FULL_DIR=`cd $(dirname $0); pwd` export FULL_DIR=`cd $(dirname $0); pwd`
export PATH=$FULL_DIR:$PATH export PATH=$FULL_DIR:$PATH
export GEM_HOME="<%=@gem_home%>" export GEM_HOME="<%=@gem_home%>"
export GEM_PATH="<%=@gem_path%>" export GEM_PATH="<%=@gem_path%>"


cd $(dirname $0)/.. cd $(dirname $0)/..


.rake_runner "$@" .rake_runner "$@"

0 comments on commit a667fcd

Please sign in to comment.