ruby - Rails 3.0.5: Bundler says it'd be using Rack1.2.2 but Passenger casts a GemNotFound Error -


I am using passenger with passenger 3.0.5 and Ruby 1.8.7.

It worked fine until I could not remember some changes.

I hit bundle install and said that it will use rack 1.2.2, but the bundler still pays the GemNotFound rack 1.2.2.

As I hit find / -name "rack" , it shows that all the DIR rack 1.2.2 has been installed and it seems that it is installed is.

I explicitly demand Gems Rack 1.2.2 It does not help in my jamfile too.

Do not help gemdir to enter bundle via configured path / diamonds / to / gems

Your,

Zorn .

Your passenger uses another installation of Ruby to get it to NGINX_FOLDER / Set the manual to conf / nginx.conf

  http {passenger_ruby / path / to / you / ruby ​​/ folder; ...}   

Use this command to know your Ruby folder:

  which is the Ruby   

UPD

For Apache (you can read this in official passenger Apache module document) just set:

  Passengerruby / path / To / your / ruby ​​/ folder    

Comments