On Jul 18, 2011, at 1:27 AM, 7stud -- wrote: > Conrad Taylor wrote in post #1011293: >> On Sat, Jul 16, 2011 at 4:34 AM, 7stud -- <[email protected]> wrote: >> >>> versions back to the old versions, but now I get that spork error. Is >>> there a way to 'unactivate' spork 0.9.0 and 'activate' spork 0.8.4? >>> >>> >> Hi, if you're installing gems using bundler, the recommended way to run >> their associated executables is by doing the following: >> >> bundle exec <executable-name> >> > > Thanks. I read about that at the Bundler website, and now I am > executing all excutables with bundle exec.
FYI, if you type "bundle install --binstubs", Bundler will put wrapper commands in a bin directory at the root of your project. The name/location is customizable, but ./bin is the default. So now you can type "bin/<executable-name>", assuming the gem that installs the executable is in your Gemfile. Now, if you put ./bin at the front of your path (e.g. export PATH=./bin:$PATH), you can just type <executable-name> and it's the same as if you typed "bundle exec <executable-name>". Cheers, David -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

