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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T01:23:12+00:00 2026-05-14T01:23:12+00:00

HELP!! I need to bundle a gem otherwise a published client’s site will stay

  • 0

HELP!! I need to bundle a gem otherwise a published client’s site will stay dead

    MacBook-Pros-MacBook-Pro:pn 
macbookpro$ sudo ruby script/generate sanitize
Missing the Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.
  • 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-14T01:23:13+00:00Added an answer on May 14, 2026 at 1:23 am

    You could manually install the gem on the machine as the message tells you to, but since you’re asking how to bundle the gem, that’s probably not what you’re looking for.

    To bundle the Rails gems run the following on a machine that has the gems installed (probably your development machine):

    rake rails:freeze:gems
    

    This will unpack the Rails gems into vendor/rails. Then it’s a matter of adding and commiting the gems.

    To freeze/vendor all the gems required by your application (as defined in environment.rb):

    rake gems:unpack:dependencies
    

    If you use gems like Nokogiri that contains code which needs to be compiled for the environment it’s running on, you have to a little more. After vendoring it, run

    rake gems:build
    

    and that should do it for you. Note, this last step needs to be run on the machine where the application needs to be run – in this case you can’t just rely on doing it locally and committing your changes like you can with pure Ruby gems.

    See http://reborg.tumblr.com/post/99668398/rails-gems-unpack-native for more details.

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

Sidebar

Related Questions

Hi I need help in finding a way to store ArrayList<HashMap<String,String>> in an Bunble
I am including 'acts_as_rateable' gem in my Gemfile like this gem 'acts_as_rateable', :git =>
I'd appreciate any help with this - I'm sure it's a simple mistake. The
I have created a bundle product in Magento 1.4.0.1. All the components of the
I've written a Python script that uses a package that I've created. I need
I'm working through the Ruby on Rails 3 Tutorial: Learn Rails by Example by
I just made my first setup of RoR, and creating a new application works
My android application needs another NATIVE application executable to run before the android one,
I'm working on displaying a set of images, then if the users wishes, to
So I've used code examples from all over the net and got my app

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.