Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gemset_use! #5

Closed
fdutey opened this issue Jun 2, 2012 · 2 comments · Fixed by #9
Closed

gemset_use! #5

fdutey opened this issue Jun 2, 2012 · 2 comments · Fixed by #9
Assignees

Comments

@fdutey
Copy link

fdutey commented Jun 2, 2012

Hi.

Just to notice, there's always the bug with method 'gemset_use!' in lib/rvm/environment/gemset.rb:86

It just don't work with rails templates (result[:rvm_env_string] is nil).
I saw it was fixed in older version but it's still here

see here: rvm/rvm#449
or here: rvm/rvm#458

I manually fix the problem but now I need to build ruby configurations automatically (intent to migrate my co-workers from php to ruby) and I can't just fix it with scripts (path names depends on which ruby version is installed).

Thank you for your time.
Best regards.

@ghost ghost assigned mpapis Jun 3, 2012
@mpapis
Copy link
Member

mpapis commented Jun 9, 2012

this change was reverted by @deryldoucette in rvm/rvm@34e2cd0 ... I have no idea which one is better, maybe there should by an or:

result[:GEM_HOME] || result[:rvm_env_string]

@lunks
Copy link
Contributor

lunks commented Jul 2, 2012

I'm using this on a rails template script and also have the same error.

@lunks lunks mentioned this issue Jul 2, 2012
@mpapis mpapis closed this as completed in 528898c Jul 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants