Note that there are some explanatory texts on larger screens.

plurals
  1. POPhusion Passenger: Trouble on deploying an application on the local machine
    primarykey
    data
    text
    <p>I am using Mac OS Snow Leopard, Apache Server, Phusion Passenger and RVM and I am trying to deploy on my local machine a RoR application.</p> <p>In my <code>~.etc/apache/httpd.conf</code> file I have:</p> <pre><code>NameVirtualHost *:80 &lt;VirtualHost *:80&gt; ServerName mysite.com DocumentRoot /Users/MyUserName/Sites/mysite.com/public &lt;Directory /Users/MyUserName/Sites/mysite.com/public&gt; Order allow,deny Allow from all &lt;/Directory&gt; &lt;/VirtualHost&gt; </code></pre> <p>When I browse the <code>mysite.com</code> address I get the following Phusion Passenger' error:</p> <pre><code>Error message: no such file to load -- bundler Exception class: LoadError Application root: /Users/MyUserName/Sites/mysite.com Backtrace: # File Line Location 0 /Users/MyUserName/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb 36 in `require' 1 /Users/MyUserName/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb 36 in `require' ... </code></pre> <p><strong>How can I solve that?</strong></p> <hr> <p>Console outputs:</p> <pre><code>$ /usr/bin/ruby -v ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin10.0] $ echo $PATH /Users/MyUserName/.rvm/gems/ruby-1.9.2-p290/bin:/Users/MyUserName/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/MyUserName/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/MyUserName/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin $ which ruby gem irb rake /Users/MyUserName/.rvm/rubies/ruby-1.9.2-p290/bin/ruby /Users/MyUserName/.rvm/rubies/ruby-1.9.2-p290/bin/gem /Users/MyUserName/.rvm/rubies/ruby-1.9.2-p290/bin/irb /Users/MyUserName/.rvm/gems/ruby-1.9.2-p290/bin/rake $ irb 1.9.2-p290 :001 &gt; require "bundler" =&gt; true </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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