Re:Rbenv, an unobtrusive rvm replacement
by jarin on Thursday August 11, 2011 @06:46PM
(#2875154)
Pretty nice, but I actually do really like having gemsets. It gets me as close to the production environment as possible, plus it makes it really easy to clean up unused gems when I'm done with a project.
[ Parent
| on HN ]
Re:Rbenv, an unobtrusive rvm replacement
by stephencelis on Thursday August 11, 2011 @06:50PM
(#2875170)
You can use Bundler to isolate your gems locally, or you can use rbenv-gemset:
Re:Rbenv, an unobtrusive rvm replacement
by nzadrozny on Thursday August 11, 2011 @07:09PM
(#2875235)
For that, I use Bundler and always install gems to vendor/bundle for maximum isolation and easy cleanup.
:~ which bi
bi: aliased to bundle install --path vendor/bundle
Re:Rbenv, an unobtrusive rvm replacement
by mudgemeister on Friday August 12, 2011 @05:55AM
(#2876628)
You can tell Bundler to install to a relative path by default by putting the following in ~/.bundle/config:
---
BUNDLE_PATH: vendor/bundle
In that way, you need only run the standard "bundle" or "bundle install" instead of setting up an alias.
Re:Rbenv, an unobtrusive rvm replacement
by stephencelis on Thursday August 11, 2011 @07:32PM
(#2875305)
(You should only have to run this the first time you bundle.)
but does this not increase the size of your source control repository?