RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Fed up of typing `bundle exec`? Automate it with bundler-exec.

bundler-exec replaces a bunch of common Ruby commands (e.g. rake, ruby, rails, rspec) with a shell function that automatically runs them with bundle exec if you’re working in a Bundled project. http://effectif.com/ruby/automating-bundle-exec If you’re not sure why that’s a good thing, that’s explained too.

Comments

This problem has already been solved:

bundle install --binstubs

This problem has already been worked-around. Binstubs has its own PITA’ness. (Like having to mess around with $PATHS if you want transparent commands)

Until RubyGems or RVM becomes bundler exec aware there is no clean solution.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in