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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:54:02+00:00 2026-05-24T23:54:02+00:00

I set up a local project to use rvm, with a project-specific gemset, and

  • 0

I set up a local project to use rvm, with a project-specific gemset, and did “bundle package” to put all my gems into vendor/cache. Then i checked it all into source control.

Now, on the server, i’ve installed rvm (same ruby – ruby-1.8.7-p302) and made a gemset again. I checked out the project folder, cd’d into it (i’m in the right rvm and gemset at this point). I thought i would be able to do “bundle install” to install from the gems in vendor/cache. But the RedCloth gem is falling over:

Using rake (0.8.7) 
Installing RedCloth (4.2.3) with native extensions 
/opt/ruby-enterprise-1.8.7-2011.01/lib/ruby/site_ruby/1.8/rubygems/installer.rb:529:in
`build_extensions': ERROR: Failed to build gem native extension. 
(Gem::Installer::ExtensionBuildError)

        /opt/ruby-enterprise-1.8.7-2011.01/bin/ruby extconf.rb 

Gem files will remain installed in 
/home/deploy/.rvm/gems/ruby-1.8.7-p302@akrotoski/gems/RedCloth-4.2.3 for inspection.

Here’s what i have for “gem list” so far:

*** LOCAL GEMS ***

bundler (1.0.11)
rake (0.8.7)
RedCloth (4.2.7)

This is odd – even though it’s falling over trying to build RedCloth it reckons it’s installed.

What’s also odd is that the error message refers to the “system” version of ruby, rather than the one for the current rvm. The current rvm is definitely activated:

rvm list
>> rvm rubies
>> => ruby-1.8.7-p302 [ x86_64 ]

which ruby
>> /home/deploy/.rvm/rubies/ruby-1.8.7-p302/bin/ruby

which gem
>> /home/deploy/.rvm/rubies/ruby-1.8.7-p302/bin/gem

I’m pretty confused at this point…One potential issue might be that in my local machine (which is 32 bit) i have the i386 version of ruby-1.8.7-p302, while on my server i have the x86_64 version – could that be causing this problem?

Grateful for any advice – max

  • 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-24T23:54:02+00:00Added an answer on May 24, 2026 at 11:54 pm

    step one : vendor everything with bundler

    Just in case here’s an excellent blog post on how to vendor everything (and that implies excluding the use of gemsets). I’m pointing to this because it seems to me there’s a dangerous mixture of bundler & gemset in your environment. If you vendor everything (the safest) no gemset is requirred….

    step 2 : include .rvmrc in your project’s root.

    ok this is explained in the aforementioned blogpost : it’ll make sure you’re in the same ruby version when you cd in the project (but it seem that’s already the case…)

    step 3 : run bundle install –deployment

    the deployment option means the cached gems will be used automatically. This ensures your production environment reflects perfectly your dev one.

    hope it solves the problem…

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

Sidebar

Related Questions

In Visual Studio 2008 I can add a project reference and set Copy Local
I've set up a project with an SDF local database file and am trying
i have set up buildout project (django to be specific) that has to run
I want to integrate a local database into Windows Phone 7 project. The DB
We have an Access DB which has a set of local tables and input
I recently set up a local copy of Wordpress, added some content and created
I know how to set up a local webserver using xampp on windows... I
I want to set subversion on my local machine, thats on my laptop. i
How do you set the Windows time zone on the local machine programmatically in
The Win32 GetTimeZoneInformation function returns your systems local time zone as set up in

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.