Patrick Cheng created JRUBY-6591:
------------------------------------
Summary: When running a gem via bundle exec, java options are not
passed it.
Key: JRUBY-6591
URL: https://jira.codehaus.org/browse/JRUBY-6591
Project: JRuby
Issue Type: Bug
Reporter: Patrick Cheng
Assignee: Thomas E Enebo
test.rb:
require 'java'
java_import 'java.lang.Runtime'
puts Runtime.getRuntime.maxMemory
patcheng:bundle pcheng$ sh test.sh
jruby -J-Xmx1000m -J-XX:MaxPermSize=256m -S test.rb
1035468800
jruby -J-Xmx1000m -J-XX:MaxPermSize=256m -S bundle exec ./test.rb
1035468800
jruby -J-Xmx1000m -J-XX:MaxPermSize=256m -S rake -f test.rb
1035468800
rake aborted!
Don't know how to build task 'default'
(See full trace by running task with --trace)
jruby -J-Xmx1000m -J-XX:MaxPermSize=256m -S bundle exec rake -f test.rb
(in /Users/pcheng/Downloads/bundle)
517734400
rake aborted!
Don't know how to build task 'default'
(See full trace by running task with --trace)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email