19 Jul '12, 7am

Bundler.with_clean_env bundleされた環境の中でシェルを呼ぶときbundleで変更された分をなかった事にする方法 / “bundle-exec(1) - Execute a command in the co…”

NAME SYNOPSIS DESCRIPTION BUNDLE INSTALL --BINSTUBS ENVIRONMENT MODIFICATIONS RUBYGEMS PLUGINS bundle-exec(1) bundle-exec(1) NAME bundle-exec - Execute a command in the context of the bundle SYNOPSIS bundle exec command DESCRIPTION This command executes the command, making all gems specified in the Gemfile(5) available to require in Ruby programs. Essentially, if you would normally have run something like rspec spec/my_spec.rb , and you want to use the gems specified in the Gemfile(5) and installed via bundle install(1) , you should run bundle exec rspec spec/my_spec.rb . Note that bundle exec does not require that an executable is available on your shell's $PATH . BUNDLE INSTALL --BINSTUBS If you use the --binstubs flag in bundle install(1) , Bundler will automatically create a directory (which defaults to app_root/bin ) containing all of the executables available from ge...

Full article: http://gembundler.com/man/bundle-exec.1.html

Tweets

"Please run `bundle install`" bundler 1.0.0 iss...

ruby-forum.com 19 Jul '12, 7am

ME TOO! and here is a backtrace. Using latest rvm (0.1.46), passenger, ruby 1.9.2-p0 (the new official release), latest ra...