Hi,
I am trying to follow this guide : https://digitalocean.com/community/articles/how-to-1-click-install-ruby-on-rails-on-ubuntu-12-10-with-digitalocean
I am at this part Now modify your PATH in /etc/default/unicorn: PATH=/usr/local/rvm/rubies/ruby-2.0.0-p195/bin:/home/unicorn/.rvm/bin:/usr/local/sbin:/usr/bin:/bin:/sbin:$
Since I changed to ruby-2.0.0-p247, I would like to modify this in the unicorn folder, however I do not know how. Everytime I try to modify it using filezilla it fails the transfer :
Erreur : /etc/default/unicorn: open for write: permission denied Erreur : Echec du transfert du fichier
and typing "PATH=/usr/local/rvm/rubies/ruby-2.0.0-p195/bin:/home/unicorn/.rvm/bin:/usr/local/sbin:/usr/bin:/bin:/sbin:$ "
as root in the terminal does not seem to do anything because the file remains the same. So how do I do this ?
Thanks
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!
Since I cannot edit, I will have to double post. I made sure I changed the ruby file in “PATH=/usr/local/rvm/rubies/ruby-2.0.0-p195/bin:/home/unicorn/.rvm/bin:/usr/local/sbin:/usr/bin:/bin:/sbin:$”, <br> <br>so I actually wrote “PATH=/usr/local/rvm/rubies/ruby-2.0.0-p247/bin:/home/unicorn/.rvm/bin:/usr/local/sbin:/usr/bin:/bin:/sbin:$” in terminal, still doesn’t work.
Please take a look at <a href=“http://askubuntu.com/questions/54221/how-to-edit-files-in-a-terminal-with-nano”>http://askubuntu.com/questions/54221/how-to-edit-files-in-a-terminal-with-nano</a> <br> <br>You will have to edit /etc/default/unicorn via SSH as root.
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.