Where does 'bundle install' store executables?

This should be an easy one: where does ‘bundle install’ store
executables, e.g. rspec and annotate?

I ask because, in my case, the executables are getting written to:

${DEVROOT}/usr/lib/ruby/gems/1.9.1/bin/

rather than (what I’d expect):

${DEVROOT}/usr/bin/

(In my case, DEVROOT is a sandboxed directory tree for Ruby 1.9.1 /
Rails 3.0. Everything else about it appears to work properly.)

In the interim, I can add {DEVROOT}/usr/lib/ruby/gems/1.9.1/bin/ to my
path, but is that the approved technique?

TIA.

  • ff

On Jan 20, 7:32pm, Fearless F. [email protected] wrote:

(In my case, DEVROOT is a sandboxed directory tree for Ruby 1.9.1 /
Rails 3.0. Everything else about it appears to work properly.)

In the interim, I can add {DEVROOT}/usr/lib/ruby/gems/1.9.1/bin/ to my
path, but is that the approved technique?

You might want to take a look at
http://gembundler.com/man/bundle-exec.1.html

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs