rails 3 b2+nginx report error "no such file to load -- rack"

Thank you for all your help!!!

<rails 3 beta2+nginx report error "no such file to load -- rack">

I already used google to search this question when I send this message.

but I did not find method of solution.

Hi, did you add the rack gem to your gem file?

-Conrad

Conrad Taylor wrote:

Hi, did you add the rack gem to your gem file?

-Conrad

Sent from my iPhone

: - ) Thans! Conrad

I checked my app gem file :

Conrad Taylor wrote:

Hi, did you add the rack gem to your gem file?

-Conrad

Sent from my iPhone

Hi, Conrad

I find method of solution about "no such file to load -- rack"

http://rvm.beginrescueend.com/integration/passenger/

Jun Sha wrote:

Hi, Conrad

I find method of solution about "no such file to load -- rack"

http://rvm.beginrescueend.com/integration/passenger/

=========================================

in /opt/nginx/conf/nginx.conf

passenger_ruby /home/wayne/.rvm/bin/passenger_ruby;

instead of

you current ruby version as "ruby 1.9.2-head..."

=========================================

and then when I input localhost:3002 in browser and click link - > About
your application’s environment

all right !

Ruby version 1.8.7 (i686-darwin10.0.0)

I'm having this same issue, but on Apache with Rails 3 Beta 3. I noticed
that your Ruby version is now 1.8.7 and not 1.9.2. I'm trying to figure
out how to get past the "no such file to load -- rack" issue while
keeping Ruby 1.9.2.

I tried your approach of changing passenger_ruby to the home directory
instead of using the "ruby 1.9.2-head" directory but my home directory
is empty. I installed RVM via git so the closest matching folder I can
find is in /root/.rvm/src/rvm/bin/ but I don't have a passenger_ruby
file in there.

I've tried everything I've found on Google as possible solutions and
can't get it to work.

Any advice?
Thanks
Bobby

nevermind, got it working. Once I fully understood all of these
directions: http://rvm.beginrescueend.com/integration/passenger/ I got
it working. Needed to make sure that PassengerRuby was pointed to
something like: /home/wayne/.rvm/bin/passenger_ruby instead of the RVM
ruby