Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Just an additional note to step3 of the <strong>Marked</strong> (Broandon's) answer, because I didn't get my Passenger3 up and run by using those codes.</p> <p>The error message is as below:</p> <pre><code>*** Phusion Passenger: no passenger_native_support.bundle found for the current Ruby interpreter. Compiling one... # mkdir -p /Users/jerry/.rvm/gems/ruby-1.9.3-p194@xxx/gems/passenger-3.0.18/ext/ruby/ruby-1.9.3-x86_64-macosx # cd /Users/jerry/.rvm/gems/ruby-1.9.3-p194@xxx/gems/passenger-3.0.18/ext/ruby/ruby-1.9.3-x86_64-macosx Unable to locate the RVM path. Your RVM installation is probably too old. Please update it with 'rvm get head &amp;&amp; rvm reload &amp;&amp; rvm repair all'. </code></pre> <p>Referring to the message "Unable to locate the RVM path", I checked the RVM Documentation <a href="https://rvm.io/integration/passenger/" rel="nofollow">https://rvm.io/integration/passenger/</a></p> <p>Edit config/setup_load_paths.rb to this: </p> <pre><code>if ENV['MY_RUBY_HOME'] &amp;&amp; ENV['MY_RUBY_HOME'].include?('rvm') begin gems_path = ENV['MY_RUBY_HOME'].split(/@/)[0].sub(/rubies/,'gems') ENV['GEM_PATH'] = "#{gems_path}:#{gems_path}@global" require 'rvm' RVM.use_from_path! File.dirname(File.dirname(__FILE__)) rescue LoadError raise "RVM gem is currently unavailable." end end # If you're not using Bundler at all, remove lines bellow ENV['BUNDLE_GEMFILE'] = File.expand_path('../Gemfile', File.dirname(__FILE__)) require 'bundler/setup' </code></pre> <p>Problem solved!</p>
    singulars
    1. This table or related slice is empty.
    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.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      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