views:

283

answers:

0

I'm using RVM and would like to install Phusion Passenger on Snow Leopard. After installing the Passenger gem (version 2.2.15) I try run the Apache module installer script passenger-install-apache2-module. But it compains that it can't find rake:

...
* RubyGems... found
* Rake... not found
* rack... found
...

There is already a bug-report for this on the passenger forum, but besides telling me to wait for Passenger 3, there doesn't seem to be any solution (symlinking /usr/bin/rake doesn't do the trick for me)

Does anybody know of a way to hack around this just to get the Apache module installed? Once installed I imagine it doesn't matter if the script can find rake or not.

Just some specs on my env:

$ which ruby
/Users/watson/.rvm/rubies/ree-1.8.7-2010.02/bin/ruby

$ ruby -v
ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-darwin10.4.0], MBARI 0x6770, Ruby Enterprise Edition 2010.02

$ which rake
/Users/watson/.rvm/gems/ree-1.8.7-2010.02@global/bin/rake

$ rake -V
rake, version 0.8.7

$ echo $PATH
/Users/watson/.rvm/gems/ree-1.8.7-2010.02@rails235/bin:/Users/watson/.rvm/gems/ree-1.8.7-2010.02@global/bin:/Users/watson/.rvm/rubies/ree-1.8.7-2010.02/bin:/Users/watson/.rvm/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/opt/local/lib/postgresql84/bin