wayneeseguin/rvm — Issue #528: issue with gemset not cleaned for default
Author: mpapis
Created: 2011-10-26 22:50:13+00:00
State: open

the `rvm use default` does not clean gemset in some cases:

1.9.2-p290@test-plugins ~/projects/opensource>rvm use --default 1.9.2
Using /home/mpapis/.rvm/gems/ruby-1.9.2-p290

1.9.2-p290 ~/projects/opensource>rvm use default
Using /home/mpapis/.rvm/gems/ruby-1.9.2-p290

1.9.2-p290 ~/projects/opensource>rvm use 1.8.7-p352@test-plugins
Using /home/mpapis/.rvm/gems/ruby-1.8.7-p352 with gemset test-plugins

1.8.7-p352@test-plugins ~/projects/opensource>cd rvm-test/
1.9.2-p290@testrun ~/projects/opensource/rvm-test master[dirty]>cd ..
1.8.7-p352@test-plugins ~/projects/opensource>rvm use default
Using /home/mpapis/.rvm/gems/ruby-1.9.2-p290 with gemset test-plugins

And in other cases it cleans it correctly:

1.9.2-p290@test-plugins ~/projects/opensource>rvm use 1.8.7
Using /home/mpapis/.rvm/gems/ruby-1.8.7-p352

1.8.7-p352 ~/projects/opensource>rvm use default
Using /home/mpapis/.rvm/gems/ruby-1.9.2-p290

1.9.2-p290 ~/projects/opensource> rvm use 1.8.7@test-plugins
Using /home/mpapis/.rvm/gems/ruby-1.8.7-p352 with gemset test-plugins

1.8.7-p352@test-plugins ~/projects/opensource>rvm use default
Using /home/mpapis/.rvm/gems/ruby-1.9.2-p290

1.9.2-p290 ~/projects/opensource>