After installing ruby-rails-4.0 (4.0.2+dfsg-2) attempting to generate a new web application fails with the following error:
$ rails new hello
….
run bundle install
/usr/bin/ruby1.9.1: No such file or directory — /usr/share/rubygems-integration/1.9.1/gems/bundler-1.3.5/bin/bundle (LoadError)
Best Answer
This will fix the issue:
You'll most likely run into other gem dependencies:
come to mind.