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 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Frederick Cheung
2011-Jan-22 00:49 UTC
Re: where does ''bundle install'' store executables?
On Jan 20, 7:32 pm, Fearless Fool <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> 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? >You might want to take a look at http://gembundler.com/man/bundle-exec.1.html Fred> TIA. > > - ff > > -- > Posted viahttp://www.ruby-forum.com/.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.