sudo driving me crazy!! (ruby, gem)
I am using Ubuntu 9.10 and it didn't have Ruby previously.
I have the following setup as my PATH in ~/.profile (both for my login account AND root)
When I am root OR my login account (cbmeeks), I can:
at the command line and it works.
However, if I:
sudo ruby -v
I get a command not found?
The same is true for any bin in that /opt/ruby-…/bin folder.
sudo /opt/ruby-enterprise-1.8.7-2009.10/bin/ruby -v
Any tips? I've even rebooted the server.
Yeah, sorry. I have several domains. Part of the reason I was having trouble was that I reloaded my linode and decided to setup all of my virtual servers using Sinatra and serve my main app (coming soon) with Rails.
BitCircle.com now points to the correct virtual host. Using Sinatra now.
Pretty sweet actually.