By Temple Pate
I was following the Tutorial Here
But I get this error just trying to install ruby.
Command ‘ruby’ is available in ‘/usr/local/bin/ruby’ The command could not be located because ‘/usr/local/bin’ is not included in the PATH environment variable.
Someone wanted me to apply :
That’s weird. /usr/local/bin should be included in the PATH variable. Edit /etc/environment and add :/usr/local/bin at the end of the file before the quotation mark.
PATH=“…:/usr/local/bin” Then log out and log back in.
Which did not work.
My current setup is a drupal site that was setup by Ajenti, but Ajenti should just be configuring the nginx configs, it shouldn’t have any problem with ruby.
My end goal is to install snorby and foreman as well.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Sorry Mr ASB, I had some work related issues come up and it threw me for a loop these past few weeks.
Echo : root@PassItOn-Main:/# echo $PATH /sbin:/usr/sbin:/bin:/usr/bin
P.S. Please ignore the fact im using root :) i’ll be fixing that on my official setup.
When typing in the second command it didn’t give an error, nor any other response.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.