Unable to autodetect the currently active RVM gem set name

1,987 views
Skip to first unread message

Steve Eichert

unread,
Sep 21, 2010, 1:37:08 PM9/21/10
to Phusion Passenger Discussions
I just installed passenger beta 3 and during the install of the apache
module received the following message:

Unable to autodetect the currently active RVM gem set name. Please
contact this program's author for support.

I don't currently have any gem sets defined in RVM.

$ rvm gemset list

gemsets for ruby-1.8.7-p302 (found in /Users/seichert/.rvm/gems/
ruby-1.8.7-p302)

$

Thoughts?
~ Steve

Hongli Lai

unread,
Sep 21, 2010, 1:41:57 PM9/21/10
to phusion-...@googlegroups.com

What does 'rvm info' say?

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

Steve Eichert

unread,
Sep 21, 2010, 1:46:10 PM9/21/10
to Phusion Passenger Discussions
$ rvm info

ruby-1.8.7-p302:

system:
uname: "Darwin Steve-Eicherts-iMac.local 10.4.0 Darwin
Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010;
root:xnu-1504.7.4~1/RELEASE_I386 i386"
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release
(x86_64-apple-darwin10.0)"
zsh: "/bin/zsh => zsh 4.3.9 (i386-apple-darwin10.0)"

rvm:
version: "rvm 1.0.11 by Wayne E. Seguin
(waynee...@gmail.com) [http://rvm.beginrescueend.com/]"

ruby:
interpreter: "ruby"
version: "1.8.7"
date: "2010-08-16"
platform: "i686-darwin10.4.0"
patchlevel: "2010-08-16 patchlevel 302"
full_version: "ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-
darwin10.4.0]"

homes:
gem: "/Users/seichert/.rvm/gems/ruby-1.8.7-p302"
ruby: "/Users/seichert/.rvm/rubies/ruby-1.8.7-p302"

binaries:
ruby: "/Users/seichert/.rvm/rubies/ruby-1.8.7-p302/bin/
ruby"
irb: "/Users/seichert/.rvm/rubies/ruby-1.8.7-p302/bin/
irb"
gem: "/Users/seichert/.rvm/rubies/ruby-1.8.7-p302/bin/
gem"
rake: "/usr/local/bin/rake"

environment:
PATH: "/Users/seichert/.rvm/gems/ruby-1.8.7-p302@global/
bin:/Users/seichert/.rvm/rubies/ruby-1.8.7-p302/bin:/Users/
seichert/.rvm/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/
usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/usr/X11/bin:/Users/
seichert/Development/ec2-api-tools/bin:/usr/local/jruby-1.3.1/bin:/
Users/seichert/bin"
GEM_HOME: "/Users/seichert/.rvm/gems/ruby-1.8.7-p302"
GEM_PATH: "/Users/seichert/.rvm/gems/ruby-1.8.7-p302/bin:/
Users/seichert/.rvm/gems/ruby-1.8.7-p302@global/bin"
BUNDLE_PATH: "/Users/seichert/.rvm/gems/ruby-1.8.7-p302"
MY_RUBY_HOME: "/Users/seichert/.rvm/rubies/ruby-1.8.7-p302"
IRBRC: "/Users/seichert/.rvm/rubies/ruby-1.8.7-p302/.irbrc"
RUBYOPT: ""
gemset: ""

On Sep 21, 1:41 pm, Hongli Lai <hon...@phusion.nl> wrote:
> On Tue, Sep 21, 2010 at 7:37 PM, Steve Eichert <steve.eich...@gmail.com> wrote:
> > I just installed passenger beta 3 and during the install of the apache
> > module received the following message:
>
> > Unable to autodetect the currently active RVM gem set name. Please
> > contact this program's author for support.
>
> > I don't currently have any gem sets defined in RVM.
>
> > $ rvm gemset list
>
> > gemsets for ruby-1.8.7-p302 (found in /Users/seichert/.rvm/gems/
> > ruby-1.8.7-p302)
>
> > $
>
> What does 'rvm info' say?
>
> --
> Phusion | The Computer Science Company
>
> Web:http://www.phusion.nl/
> E-mail: i...@phusion.nl

Hongli Lai

unread,
Sep 21, 2010, 2:00:49 PM9/21/10
to phusion-...@googlegroups.com
Can you run the following command (one single line) and tell me what you see?

ruby -rubygems -e 'require "phusion_passenger/platform_info/ruby"; p
PhusionPassenger::PlatformInfo::GEM_HOME; puts $LOAD_PATH'

> --
> You received this message because you are subscribed to the Google Groups "Phusion Passenger Discussions" group.
> To post to this group, send email to phusion-...@googlegroups.com.
> To unsubscribe from this group, send email to phusion-passen...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/phusion-passenger?hl=en.
>
>

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl

Steve Eichert

unread,
Sep 21, 2010, 2:08:15 PM9/21/10
to phusion-...@googlegroups.com
$ ruby -rubygems -e 'require "phusion_passenger/platform_info/ruby"; p PhusionPassenger::PlatformInfo::GEM_HOME; puts $LOAD_PATH'
"/Users/seichert/.rvm/gems/ruby-1.8.7-p302"
/Users/seichert/.rvm/gems/ruby-1.8.7-p302/gems/rake-0.8.7/bin
/Users/seichert/.rvm/gems/ruby-1.8.7-p302/gems/rake-0.8.7/lib
/Users/seichert/.rvm/gems/ruby-1.8.7-p302/gems/fastthread-1.0.7/bin
/Users/seichert/.rvm/gems/ruby-1.8.7-p302/gems/fastthread-1.0.7/lib
/Users/seichert/.rvm/gems/ruby-1.8.7-p302/gems/fastthread-1.0.7/ext
/Users/seichert/.rvm/gems/ruby-1.8.7-p302/gems/daemon_controller-0.2.5/bin
/Users/seichert/.rvm/gems/ruby-1.8.7-p302/gems/daemon_controller-0.2.5/lib
/Users/seichert/.rvm/gems/ruby-1.8.7-p302/gems/spruz-0.1.5/bin
/Users/seichert/.rvm/gems/ruby-1.8.7-p302/gems/spruz-0.1.5/lib
/Users/seichert/.rvm/gems/ruby-1.8.7-p302/gems/file-tail-1.0.5/bin
/Users/seichert/.rvm/gems/ruby-1.8.7-p302/gems/file-tail-1.0.5/lib
/Users/seichert/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/bin
/Users/seichert/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib
/Users/seichert/.rvm/gems/ruby-1.8.7-p302/gems/passenger-3.0.0.pre3/bin
/Users/seichert/.rvm/gems/ruby-1.8.7-p302/gems/passenger-3.0.0.pre3/lib
/Users/seichert/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8
/Users/seichert/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/i686-darwin10.4.0
/Users/seichert/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby
/Users/seichert/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/vendor_ruby/1.8
/Users/seichert/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/vendor_ruby/1.8/i686-darwin10.4.0
/Users/seichert/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/vendor_ruby
/Users/seichert/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8
/Users/seichert/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/i686-darwin10.4.0
.

Hongli Lai

unread,
Sep 21, 2010, 2:15:45 PM9/21/10
to phusion-...@googlegroups.com
On Tue, Sep 21, 2010 at 8:08 PM, Steve Eichert <steve....@gmail.com> wrote:
> $ ruby -rubygems -e 'require "phusion_passenger/platform_info/ruby"; p
> PhusionPassenger::PlatformInfo::GEM_HOME; puts $LOAD_PATH'
> "/Users/seichert/.rvm/gems/ruby-1.8.7-p302"

That looks OK.

How did you run passenger-install-apache2-module? Were you using sudo?
If so what happens if you use rvmsudo instead?

Steve Eichert

unread,
Sep 21, 2010, 2:30:13 PM9/21/10
to phusion-...@googlegroups.com
Yes, I used sudo.

Running with rvmsudo "worked".  I did notice that the instructions at the end have PassengerRuby set to the system Ruby instead of the RVM ruby.

   PassengerRuby /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

Shouldn't that be my RVM ruby instead?  Or perhaps the same as I currently have? (below)

  PassengerRuby /Users/seichert/.rvm/bin/passenger_ruby

~ Steve


Reply all
Reply to author
Forward
0 new messages