Skip to content

Monthly Archives: July 2010

quick tip: bunder, rails 2.3.8, and rspec

I set up an app on 2.3.8 with bundler, and when trying to run the rspec tests got …/config/Gemfile not found (Bundler::GemfileNotFound) which is odd. I’d grabbed the code for config/intializers/preinitializer.rb from; to solve the issue I changed line 15 from ENV["BUNDLE_GEMFILE"] = File.expand_path(“../../Gemfile”, _ FILE _) to ENV["BUNDLE_GEMFILE"] = File.expand_path(File.join(Rails.root,”Gemfile”), _ FILE _) […]

quick tip: zsh and bundler

I’m just starting to look at bundler — way ahead of the curve as usual. I’m using zsh, and every time I ran a bundle command I’d get: correct ‘bundle’ to .. [nyae]? To turn off the autocorrect message, just add this to your .zshrc: alias bundle=’nocorrect bundle’