rvm using /after_cd_bunlder vs --binstubs. How are these different?
How are the outcome of these two methods different? Why use one over the
other? I believe they both end up enabling you to issue 'rake' or 'rspec'
without the preceeding 'bundle exec". My guess - with method 1 you only
have to do this once, and then on ALL new rails project for the rvm ruby
version will automatically have the desired feature ( as explained above)?
Method 1:
rvm get head && rvm reload
chmod +x $rvm_path/hooks/after_cd_bundler
bundle install --binstubs
OR
Method 2:
bundle install --binstubs
If found this documentation, but it did not help me understand which
method to use. I looked on http://rv.io and found intergration/bundler and
/workflow/hooks.
The is code for after_cd_bundler (but I cannot post anymore links due to
stackoverflow.com limitations on me)
No comments:
Post a Comment