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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T05:53:07+00:00 2026-05-21T05:53:07+00:00

I have a Linode (Ubuntu 9.10, but upgrading not a problem) where I run

  • 0

I have a Linode (Ubuntu 9.10, but upgrading not a problem) where I run a few PHP applications and had a Sinatra and Rails 2 app running. I tried to deploy some new Rails (3) apps but in doing so, broke nearly everything :).

My requirements are simple:

  • The PHP applications kind-of make “LAMP” a requirement, even if that runs on a different port then :80, behind some proxy is fine.
  • I want to run several Rails3 and Rails2 apps.
  • I need to use different versions of gems in these apps.

  • Additional services such as SOLR, MongoDB, MySQL and Resque are installed and running, so currently not a problem, but a requirement nonetheless.

Before, I had just one Rails app and a simple Sinatra app behind Phusion Passenger, the gems where installed globally.
When introducing a Rails 3 app, gem-version-conflicts would arise, so I have installed RVM, but that breaks the existing app severely.

An example of the problems I run across: The existing app, is Tracks, which has all its gems packaged in vendor/gems, some of which are not available on rubygems.org. I could not make RVM recognise these gems. I keep running from one problem (RVM not recognising vendor/gems, rake gems:install not installing, conflicts between Rails and rubygems versions etc.) into others. I am not seeking solutions for each and every issue in this question.

The new Rails 3 apps prefer Ruby 1.9, yet Passenger is installed against ruby 1.8.7. I have managed to downgrade these Rails3 apps, so they work on 1.8.7, but a solution that allows me to use whatever ruby-version is best fit for the app would be preferrable for me.

How would you set up a server like this? Would you set up such a server in the first place? Are there affordable commercial solutions for this? Or should I seek solutions such as a VM for each app? About the load and usage: this is mostly for personal and demonstration use: so each app has to serve max 800 pageviews/day: very, very low usage (The actual deployemnt for heavy-used apps and client projects is done on dedicated servers).

  • 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-21T05:53:08+00:00Added an answer on May 21, 2026 at 5:53 am

    For Rails 2/3: Not an easy task but can be done: http://jeremy.wordpress.com/2010/08/19/ruby-rvm-passenger-rails-bundler-in-development/ Just make sure you are using latest rvm, passenger.

    For PHP and Rails, I’m using nginx with passenger and it works fine. I have a default nginx php config and default passenger added settings for Rails.

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

Sidebar

Related Questions

I have my first app, not that big, but it is the first step.
I have django+python+apache2+mod_python installed hosted and working on ubuntu server/ linode VPS. php5 is
Have you guys had any experiences (positive or negative) by placing your source code/solution
Have had to write my first proper multithreaded coded recently, and realised just how
I'm hosting my application on a Linode , but is hosted on a Tomcat
Have just started using Google Chrome , and noticed in parts of our site,
Have you ever seen any of there error messages? -- SQL Server 2000 Could
Have just started using Visual Studio Professional's built-in unit testing features, which as I
Have you used VS.NET Architect Edition's Application and System diagrams to start designing a
Have you determined a maximum number of characters allowed in FCKEditor ? I seem

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.