Skip to content
This repository

-S script/rails console is picking up RVM's .irbrc #160

jkutner opened this Issue · 0 comments

1 participant

Joe Kutner
Joe Kutner
jkutner commented

With RVM, and maybe other situations, we see this kind of thing:

$ java -jar app.war -S script/rails c
Loading production environment (Rails 3.2.12) :001 > JRUBY_VERSION
 => "1.7.3" :002 > IRB.conf[:PROMPT_MODE]
 => :RVM 

Basically, its picks up the RVM .irbrc configuration, which thinks our JRuby runtime is the RVM ruby in use. But actually we are using the JRuby inside of the WAR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.