What file does ‘rails -v’ call?
When i run the phone call “rails -v” I obtain following end product “bash:/usr/bin/rails:Absolutely no such report or directory” WE successfully mounted rails THREE.0.7 with all the gem installation command, so I’m resulted in believe that means this file that will runs any time rails -v is actually inputted has a different file path (since WE upgraded on the standard 3.3.5).I need to know what archive this calls so Allow me to change the actual file avenue and hopefully make the following work.
The -v parameter just shows just what version of Rails happens to be installed.It seems to be rails is not really installed in any respect, or the actual system offers broken dependencies, as once installation you will be able to locate rails just like this:
MONEY which rails
/usr/bin/rails
Try putting in as every other package, having aptitude as well as apt-get:
MONEY sudo skills install rails
If your prefer to download your version that’s not offered with the authentic repositories next install the downloaded.deb record using dpkg
MONEY sudo dpkg -i .deb
In case you have broken dependencies then you certainly should deal with them very first:
MONEY sudo skills install -f
Take care,
Sidd.
Leave a Reply
You must be logged in to post a comment.