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 569991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:21:14+00:00 2026-05-13T13:21:14+00:00

I am actually running phusion passenger on ubuntu for a while. today i updated

  • 0

I am actually running phusion passenger on ubuntu for a while. today i updated Ruby Enterprise Edition to the latest version – now it seems i have to reinstall all the gems that were installed on the system. so here are my questions

  • what is the best way to setup phusion passenger and ruby enterprise edition to easily maintain gems afterwards, even if a new Ruby Enterprise Edition gets released?
  • should gems be installed from the root user or from a system user (user .gem directory) – what would be the best practice here?
  • 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-05-13T13:21:14+00:00Added an answer on May 13, 2026 at 1:21 pm

    i now did the following to make maintainability more easy on my system (any comments welcome, as i am not sure if that is the best practice)

    • uninstall all gems as the root user: gem list –no-versions | xargs gem uninstall -a -I
    • install passenger as root user (via /opt/REE/bin/gem install passenger ) – i also had to install ‘rake’
    • made a symlink from /opt/REE to the latest ruby enterprise version dir
    • run /opt/REE/bin/passenger-install-apache2-module as the root user
    • added the loadmodule directives to /etc/apache2/apache2.conf
    • create a user phusion passenger runs under and change his path to 1) ruby system binary directory
      2) user specific gem binary directory

      PATH=$PATH:/home//.gem/ruby/1.8/bin:/opt/ruby-enterprise-1.8.7-2010.01/bin

    (i changed that settings in .bash_profile and switch to the user with su username -l )
    most of the gems i maintain now within the packages (frozen). except rails, which is installed on the system.

    • last step: re-installed all the gems as gem user; saved all gem names in a txtfile before via gem list –no-version > gems.txt and automatically reinstalling them (see http://www.blog.railshouse.com/2009/03/12/Re-installing-all-gems-automatically for more info)

    is there anoter (better) way? how are other people doing this kind of system maintainance?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Right now I have an MVC application running on http://127.0.0.1:8081/ (it is actually running
Which version of node.js is actually running on Windows Azure Web Sites?
I'm running a Hadoop job using Hive actually that is supposed to uniq lines
I'm running a test, and found that the file doesn't actually get written until
Actually I am new to jquery as well as web designing Now I need
Just curious how many people are actually running 2010 and what's your feedback so
Using capistrano 2.12.0, capistrano-ext 1.2.1, Rails 3.2.7 and Phusion Passenger 3.0.15. For no logical
Any good utilities out there for verifying VBScript syntax without actually running the script?
Suppose I create a site in Wordpress, which is running on Elastic Beanstalk. Now,
When upgrading from Ruby 1.8.6 to Ruby Enterprise 1.8.7 p334, the memory size has

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.