How to use bundler gem binaries in path

Posted by Sean Chambers on Stack Overflow See other posts from Stack Overflow or by Sean Chambers
Published on 2010-01-27T04:50:46Z Indexed on 2010/05/02 2:57 UTC
Read the original article Hit count: 422

Filed under:
|
|

I just started using bundler for gem packaging in vendor/. The problem is with certain gems (like rspec and cucumber) that have binaries. The binary path that is under my_app/vendor/gems/ruby/1.8/...cucumber-0.6.2/bin/ is not in my path, therefore when I go to run cucumber i get command cannot be found.

What is the easiest way to execute the bundled gem binaries from within the app rather than adding a large number of folders to my path?

Thanks

© Stack Overflow or respective owner

Related posts about cucumber

Related posts about bundler