How do I use JRUBY_OPTS with RVM?

后端 未结 5 773
青春惊慌失措
青春惊慌失措 2020-12-28 09:56

It seems that the idiomatic way to provide flags to JRuby in an RVM-based Rails project is to set the environmental variable JRUBY_OPTS or PROJECT_JRUBY_OPTS, the latter per

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-28 10:30

    this option was parsed with jruby nailgun hook only, i have added a new hook to parse only this options (no ng):

    rvm get head
    chmod +x ${rvm_path}/hooks/after_use_jruby_opts
    

    and it should work upon entering directory with this option

提交回复
热议问题