Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8795173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:21:04+00:00 2026-06-13T23:21:04+00:00

I installed the passenger gem, but it didn’t work with my old nginx. So

  • 0

I installed the passenger gem, but it didn’t work with my old nginx. So I am trying to install nginx from the passenger script.

I do $ sudo ./bin/passenger-install-nginx-module, which gives

 * rack... not found
 * To install rack:
   Please install RubyGems first, then run /home/dbadmin/.rvm/wrappers/ruby-1.9.3-p286@rails-3.1.1/gem install rack

Although the rack gem is in fact installed. Anyway, I do

$ /home/dbadmin/.rvm/wrappers/ruby-1.9.3-p286@rails-3.1.1/gem install rack
Successfully installed rack-1.4.1
1 gem installed
Installing ri documentation for rack-1.4.1...
Installing RDoc documentation for rack-1.4.1...

After this, $ sudo ./bin/passenger-install-nginx-module again says that * rack... not found.

What might be happening?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:21:05+00:00Added an answer on June 13, 2026 at 11:21 pm

    If you’re going to use sudo with rvm, you need to use rvmsudo – because sudo doesn’t run root’s profile (i.e. doesn’t load RVM) when it changes to the root user.

    rvmsudo ./bin/passenger-install-nginx-module
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Normally I would install phusion passenger via the gem command, but this wouldn't work
I've been trying to install passenger with no success yet. I've installed the gem,
Installed rubyinstaller-1.8.7-p358.exe, then tried to install jammit , but the config.gem command isn't being
I installed: Centos 6 Ruby 1.9.3-rc1 Passenger gem and passenger nginx module ( compiled
I'm using the init.d script from this: http://wiki.nginx.org/RedHatNginxInitScript but this script sucks on my
Installed rvm gem installed passenger when I try to install passenger-install-apache2-module it gives? root@c2h2crawler:~#
I am getting this issue. passenger-install-apache2-module Already installed Apache2 and passenger gem /usr/lib/ruby/gems/1.8/gems/passenger-3.0.6/lib/phusion_passenger/platform_info/apache.rb:277:in `_unmemoized_apr_config_needed_for_building_apache_modules?':
I'm trying to install passenger: gem1.8 install passenger But i'm getting the error: Building
I'm trying to install the spree_wholesale gem but receiving an error when I start
I have successfully installed the paggenger gem using following command rvmsuo gem install passenger

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.