Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Dec 20, 2010 1:32 am 
Offline

Joined: Mon Dec 20, 2010 12:57 am
Posts: 1
How do I setup my server with rvm and thin running on nginx?

I've been trying to piece together information from a bunch of different articles, but I always run into problems. This is a learning experience, for now, but I'll eventually be running rails in production on this server, so I want to get it right (and also understand it).

I'm running Ubuntu 10.10 right now.

I setup a separate user, put them in the sudoer file, install rvm and its dependencies, install gems: rails, rake, bundler, and thin. Following this, I'm supposed to run

Code:
$ sudo thin install


I can't run sudo thin install. I get command not found. rvm and gems don't work either-- which I'm assuming is because I'm running it as root, and these commands are only available in my local environment.

If I run just

Code:
thin install


I don't have the permissions to access /etc/init.d

Could someone explain what I need to do to set this up correctly? I'm considering not using rvm, but I would still like to understand it. I need thin because I'll be using eventmachine.

--
Luke


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group