rvm gemset use don't switch gemset ... #1412

Closed
JohnBat26 opened this Issue Dec 26, 2012 · 2 comments

Comments

Projects
None yet
3 participants

Hi.
I try to switch gemset in rvm, but it don't switch :(.

stas@testStas:/projects/web-collabration$ rvm gemset use webex
Using ruby-1.9.3-p327-perf with gemset webex
stas@testStas:
/projects/web-collabration$ rvm gemset list
gemsets for ruby-1.9.3-p327-perf (found in /home/stas/.rvm/gems/ruby-1.9.3-p327-perf)
=> (default)
global
webex

But after: source ~/.bash_profile switching start to work.

OS: Kubuntu x86-84

Member

richo commented Dec 26, 2012

You'll find that rvm isn't loaded as a function, meaning it can't save internal state.

short version is that you'll need to source .bash_profile in .bashrc

Owner

mpapis commented Dec 26, 2012

I would prefer instruction to enable login shell ... but sourcing would do to - but has it's drawbacks like breaking X / scp

@ghost ghost assigned mpapis Jan 8, 2013

@mpapis mpapis closed this in 7349f07 Jan 8, 2013

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