Permalink
Browse files

Merge branch 'pass-jruby-opts-to-rake'

  • Loading branch information...
2 parents f1200f0 + 4238dc9 commit a667fcd09d90d5dadeeee5c965638ed16ef2958c Jim Jowdy committed Sep 10, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 bin_files/rake.erb
View
@@ -2,11 +2,14 @@
set -e
+<% if defined? @jruby_opts %>
+export JRUBY_OPTS="%<=@jruby_opts%>"
+<% end %>
export FULL_DIR=`cd $(dirname $0); pwd`
export PATH=$FULL_DIR:$PATH
export GEM_HOME="<%=@gem_home%>"
export GEM_PATH="<%=@gem_path%>"
cd $(dirname $0)/..
-.rake_runner "$@"
+.rake_runner "$@"

0 comments on commit a667fcd

Please sign in to comment.