« return

Rails 3 - bundler: command not found: rspec

05-Oct-2010, Ant

I am upgrading an app to Rails 3 and on to getting the rspec specs running.
After installing the compatible verison of rspec and running bundle install etc.

rake spec

I get this

bundler: command not found: rspec
Install missing gem binaries with `bundle install`

I am using Ruby Enterprise locally and there was a executable that was not being found.
on symlinking to this executable from the necessary bin directory the problem was solved.
sudo ln -s /opt/ruby-enterprise-1.8.7-2010.01/bin/rspec /usr/local/bin/rspec