Skip to content

Commit

Permalink
disable RUBYOPT for internal jruby. Ticket 130
Browse files Browse the repository at this point in the history
  • Loading branch information
rdp committed Feb 4, 2010
1 parent 2425e52 commit 7fc4efa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/redcar/runner.rb
Expand Up @@ -20,6 +20,7 @@ def spin_up
if false
command = "jruby #{java_args} \"#{bin}\" #{ARGV.join(' ')}"
else
ENV['RUBYOPT'] = nil # disable other native args
command = "java #{java_args} -cp \"#{jruby_complete}\" org.jruby.Main \"#{bin}\" #{ARGV.join(' ')}"
end
exec(command)
Expand All @@ -33,4 +34,4 @@ def java_args
end
end
end
end
end

0 comments on commit 7fc4efa

Please sign in to comment.