Note that there are some explanatory texts on larger screens.

plurals
  1. POERROR: Missing RVM environment file After Doing rvm upgrade command - Passenger 4.0.23
    primarykey
    data
    text
    <p>I was running ruby 2.0.0-p247 on my Mac Mini Server (Mavericks 10.9.1). I read that there was a security vulnerability so I decided to upgrade to use the latest Ruby patch 2.0.0-p353. I did the following commands:</p> <pre><code>gem update --system (RubyGems 2.1.11) rvm get stable (RVM 1.25.0) rvm upgrade 2.0.0-p247 2.0.0-p353 (which should have moved my gemsets) </code></pre> <p>There is nothing in my system that I can find that references 2.0.0-p247 in rvm which is what I expected. When I go to ~/myuser/.rvm/environments there is no file 2.0.0-p247.</p> <p>I am now attempting to start passenger. I had version 4.0.23 enterprise installed. I attempted to run <code>rvmsudo passenger-install-apache2-module</code> but got an error.</p> <pre><code>cd /Users/myuser/.rvm/gems/ruby-2.0.0-p353@mygemset/gems/passenger-enterprise-server-4.0.23 /Users/myuser/.rvm/wrappers/ruby-2.0.0-p353@ mygemset/rake apache2:clean apache2 RELEASE=yes # /Users/myuser/.rvm/wrappers/ruby-2.0.0-p353@ mygemset/rake apache2:clean apache2 RELEASE=yes ERROR: Missing RVM environment file: '/Users/myuser/.rvm/environments/ruby-2.0.0-p247@LightBeCorp_Rails4Ruby2' </code></pre> <p>Here are statements in my .bashrc file related to rvm if this will help.</p> <pre><code>[[ -s "$HOME/.rvm/scripts/rvm" ]] PATH="$PATH:$HOME/.rvm/gems/ruby-1.9.3-p327@mygemset/bin:/.rvm/rubies/ruby-1.9.3-p327/bin/ruby:/.rvm/rubies/ruby-1.9.3-p448/bin/ruby:/.rvm/rubies/ruby-2.0.0-p353/bin/ruby:/usr/bin/psql:/usr/local:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" </code></pre> <p>I did a <code>rvm list rubies</code> command. ruby-2.0.0-p247 is not listed.</p> <p>Any help would be appreciated. I will continue looking. I plan to post a link to this in the Phusion Passenger group.</p> <p><strong>UPDATE 12/21/2013 12:20 pm</strong></p> <p>I updated my .bashrc file to the following since I no longer use the other rubies in my Rails applications. I still get the error when I try to run <code>rvmsudo passenger-install-apache2-module</code>.</p> <pre><code>[[ -s "$HOME/.rvm/scripts/rvm" ]] PATH="$PATH:$HOME/.rvm/rubies/ruby-2.0.0-p353/bin/ruby:/usr/bin/psql:/usr/local:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" </code></pre>
    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.
 

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