Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Detect and execute .rvmrc files before building #57

Open
bguthrie opened this issue Jun 27, 2011 · 4 comments
Open

Detect and execute .rvmrc files before building #57

bguthrie opened this issue Jun 27, 2011 · 4 comments
Labels
Milestone

Comments

@bguthrie
Copy link
Contributor

Currently CC.rb doesn't integrate with RVM, in the sense that it has no way to automatically handle any .rvmrc files that might be checked into your project. You can handle them yourself with a custom build script, but the default build mechanism does nothing for you. If this is a feature that would be helpful, we should target it for a future release.

@blakeeb
Copy link

blakeeb commented Oct 5, 2011

This is still an issue. I'd love to see this implemented. Circumvented it in the meantime by following this guide: http://pivotallabs.com/users/mbarinek/blog/articles/1450-rails-3-with-rvm-and-cruise-control

@bguthrie
Copy link
Contributor Author

bguthrie commented Oct 5, 2011

Thanks for the link to the guide - I hadn't seen it before, but it seems like a nice, lightweight solution. If that would suffice for your needs then I'd be happy to follow it as a template for this feature.

@bbenthall-rpx
Copy link

Yep! sourcing RVM into the environment is all that's necessary.

@ianheggie
Copy link
Contributor

Similar issue with rbenv ... also consider detecting .ruby-version (which both rvm and rbenv detect)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants