Skip to content

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

Description

@jkutner

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)
jruby-1.7.4.dev :001 > JRUBY_VERSION
 => "1.7.3" 
jruby-1.7.4.dev :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.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1446619-s-script-rails-console-is-picking-up-rvm-s-irbrc?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github).

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions