cruisecontrol.rb icon indicating copy to clipboard operation
cruisecontrol.rb copied to clipboard

Detect and execute .rvmrc files before building

Open bguthrie opened this issue 13 years ago • 4 comments

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.

bguthrie avatar Jun 27 '11 23:06 bguthrie

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

blakeeb avatar Oct 05 '11 23:10 blakeeb

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.

bguthrie avatar Oct 05 '11 23:10 bguthrie

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

bbenthall-rpx avatar Oct 06 '11 21:10 bbenthall-rpx

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

ianheggie avatar Nov 08 '13 13:11 ianheggie