Note that there are some explanatory texts on larger screens.

plurals
  1. POrvm + passenger (stand alone) GemNotFound
    text
    copied!<p>I am new to Rails and trying to deploy an application to a CentOS server. I have chosen to use RVM as it seems to be highly recommended. I am open to Nginx, Apache or Passenger Stand Alone -- whatever works and is easiest. </p> <p>I have struggled with this install but think that I have successfully cleaned up after myself and have now followed the instructions for single user (non-sudo) rvm install (including ssh).</p> <p>One thing I don't understand is how Passenger should be installed (given that RVM is being used)?:</p> <pre><code>gem install passenger sudo gem install passenger rvmsudo gem install passenger </code></pre> <p>I assume that however it is installed, it should be started in the same way. I have tried each of these methods, but encounter problems in all cases.</p> <p>When I started Passenger with sudo, I received:</p> <blockquote> <p>Could not find factory_girl-3.6.1 in any of the sources (Bundler::GemNotFound)</p> </blockquote> <p>I noticed that sometimes my ruby version would be 1.8.7 even if I set it to 1.9.3-p194 with RVM, so I uninstalled 1.8.7 (had been installed prior to RVM) and reinstalled 1.9.3-p194 (using RVM and specifying openssl again). I reinstalled passenger </p> <p>Now when I do "sudo passenger start", I just get a new prompt as though nothing happened. Also if I do "sudo gem install passenger".</p> <p>Finally, I notice that if I start passenger with rvmsudo that the webserver does start, however it gives an error to the console:</p> <blockquote> <p>/usr/bin/evn: ruby: Permission denied</p> </blockquote> <p>Any help would be greatly appreciated.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload