Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nzadrozny
on Aug 11, 2011
|
parent
|
context
|
favorite
| on:
Rbenv, an unobtrusive rvm replacement
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
mudgemeister
on Aug 12, 2011
|
next
[–]
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.
stephencelis
on Aug 11, 2011
|
prev
|
next
[–]
(You should only have to run this the first time you bundle.)
hadis
on Aug 12, 2011
|
prev
[–]
but does this not increase the size of your source control repository?
zszugyi
on Aug 16, 2011
|
parent
[–]
No, just add the directory to .gitignore.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
:~ which bi
bi: aliased to bundle install --path vendor/bundle