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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:23:33+00:00 2026-06-01T10:23:33+00:00

I have a RoR application running on box1…it obviously has Ruby, RubyGems, and Rails

  • 0

I have a RoR application running on box1…it obviously has Ruby, RubyGems, and Rails installed on that box, along with a few other gems.

I want to copy this whole set-up so it runs independentally on box2 as well.

Neither box has an internet connection, but an internet connection is available on another machine.

So as far as I can see, I need to-

  • Install Ruby on box2 (I have an RPM, no problem)
  • Install RubyGems on box2 (I have an RPM, no problem)
  • Install Rails (How do i do this?)
  • Copy over entire Rails app directory onto box2?

The only guidance on the Ruby on Rails site is to run gem install rails but I cannot do this without an internet connection.

So can I just run bundle package on box1, then copy over the resulting gem files onto box2 and do a local gem install on each one to install them?
Or can I simply copy ‘usr/local/lib/ruby/gems/1.9.1/gems’ directory onto box2?

Secondly, I plan on packing my Rails app into an RPM so I can easily deploy it wherever I want…can I just include my gem files (resulting from bundle package) in the RPM directory structure, and then direct the RPM in the .spec file to do a gem install during installation? That way it’ll install the required gems as the RPM is being installed.

It’s possible I’m overlooking a much simpler method, or misunderstanding something, if so, please enlighten me. Any help?

  • 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-01T10:23:34+00:00Added an answer on June 1, 2026 at 10:23 am

    Take a look at Vagrant and the Railscasts episode.

    Vagrant will solve your “deploy anywhere” problem by putting everything in a virtual machine that has all your gems installed.

    Of course, this won’t solve your immediate problem due to lack of internet access but it does sound like you’re on the right track.

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

Sidebar

Related Questions

I have a RoR application (ruby v1.8.7; rails v2.3.5) that is caching a page
I am running Ruby on Rails 3 and I have an application that makes
I am running a RoR application (rails 2.3.8, ruby 1.8.7), the application runs fine
I am using Ruby on Rails 3.1 and I have an application running at
I have a RoR 2.3.8 application running on EC2, I am using engineyard. which
I have a basic question. I already have a RoR application which has hundreds
We have RoR application and we are planning to make js interface(extjs or closure)
i have an RoR application Log, which similar to the book store app, my
Background I have a ror application which is continuously recording and showing on a
I have RoR 3.0 web application which is acting as an OAuth API provider.

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.