while i was trying to run this code "bundle install --without production"
I am getting an error like
"The program 'bundle' is currently not installed. You can install it by typing:
sudo apt-get install ruby-bundler
"
I have installed bundle already but still getting this error.
This problem occurred while i was learning from Harlt's.."Updating Gemfile" at Heroku setup section
First Set up the PATH variable for the installed ruby executable(Suppose the installed ruby is ruby-2.0.0-p451):
PATH=$PATH:$HOME/.rvm/gems/ruby-2.0.0-p451/bin
and then run,
gem install bundler
(if bundler is not installed)
and lastly run,
rvm use ruby-2.0.0-p451 --default
(--default is optional).
There you go. Now you would be able to run bundle
command with out any issues.
Hope it helps :)
For those, who uses rbenv receipt is:
gem install bundler
rbenv rehash
bundle