“bin/rails: No such file or directory” w/ Ruby 2 & Rails 4 on Heroku
I had this problem also since I upgraded to rails 4.0.0 Run this command rake rails:update:bin You can go here for more info https://devcenter.heroku.com/articles/rails4
I had this problem also since I upgraded to rails 4.0.0 Run this command rake rails:update:bin You can go here for more info https://devcenter.heroku.com/articles/rails4
sudo apt-get -y update sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev cd /tmp wget http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p451.tar.gz tar -xvzf ruby-2.0.0-p451.tar.gz cd ruby-2.0.0-p451/ ./configure –prefix=/usr/local make sudo make install from here How do I install ruby 2.0.0 correctly on Ubuntu 12.04? UPDATE for ruby 2.1.5 sudo apt-get -y update sudo apt-get -y install build-essential zlib1g-dev libssl-dev … Read more
Run the following: $ curl -L https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh > ~/.bash_git And add this to the top of your ~/.bashrc: source ~/.bash_git Re-login to your shell and you should be set.
I was stuck after I uninstalled rvm with rvm implode then after reinstalling rvm it received the same error message. After looking through wayne seguin’s git hub page. He lists tools on his page and recommended using rvm reset after an installation. This fixed my error message. No PATH edits needed.
I had almost precisely the same error, and was able to completely fix it simply by running: gem install bundler It’s possible your bundler installation is corrupt or missing – that’s what happened in my case. Note that if the above fails you can try: sudo gem install bundler …but generally you can do it … Read more