-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JRUBY_OPTS is misinterpreted #28
Comments
Yeah, thanks I'll simply remove JRUBY_OPTS to avoid confusion.
|
Yeah, I tried removing JRUBY_OPTS from the init script like you did but could not get the profiling to work. Something did parse JRUBY_OPTS (I think jruby does parse it), but the profile dumped was empty of any methods. I've since taken to running under WeBrick for profiles. But I agree, JRUBY_OPTS should be removed. Thanks! |
New wrinkle... Capistrano deployment... I need JRUBY_OPTS with --1.9 or my capistrano-invoked rake tasks fail with odd hash syntax errors, but then the 'cap deploy:start' fails on - Invalid option --1.9. Any ideas on how to get around that? |
use smt like jruby --1.9 -S rake as rake in capistrano ... |
It appears that JRUBY_OPTS is misinterpreted as if it were just another JAVA_OPTS. See https://github.com/trinidad/trinidad_init_services/blob/master/init.d/trinidad.erb#L96
This is preventing me from passing
--profile.api
as a jruby option. When I set JRUBY_OPTS to--profile.api
, I get:The text was updated successfully, but these errors were encountered: