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

I need help how to use correctly the javascript : document.cookie or how to
I need help getting the this week full date range in the following format:
i need help how to write Hebrew in SlugField in django models now i
I need help figuring out how to successfully redirect while including Analytics code. I
I need help determining what the cause of a serious visual glitch is with
I need help with Java SDKs. I have installed Java SE SDK, and I
I need help with improving the performance of the following SQL query. The database
I need help collapsing a collapsible div on page load. I'm using this JavaScript
Need help. It may be weird. First activity has listview(like lazyadapter) once i click
I need help explaing the following example below (c) CommonsWare. I know it makes

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.