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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:46:54+00:00 2026-05-28T18:46:54+00:00

On my Ubuntu 10.04 machine I’m having some issues installing RMagick (Ruby’s ImageMagick gem),

  • 0

On my Ubuntu 10.04 machine I’m having some issues installing RMagick (Ruby’s ImageMagick gem), both with the regular imagemagick packages from apt and with ImageMagick compiled from source.
The issue so far is that bundle install fails to install rmagick, whereas RubyGems works just fine. My output is the following:

root@li264-104:/home/user/www/test/public# bundle install
[..cut..]
Installing rmagick (2.13.1) with native extensions /usr/local/lib/ruby/site_ruby/1.8/rubygems/installer.rb:483:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)

/usr/local/bin/ruby extconf.rb 

Gem files will remain installed in /home/user/www/test/public/vendor/bundle/ruby/1.8/gems/rmagick-2.13.1 for inspection.
Results logged to /home/user/www/test/public/vendor/bundle/ruby/1.8/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/installer.rb:446:in `each'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/installer.rb:446:in `build_extensions'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/installer.rb:198:in `install'
        from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.18/lib/bundler/source.rb:101:in `install'
        from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.18/lib/bundler/rubygems_integration.rb:78:in `preserve_paths'
        from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.18/lib/bundler/source.rb:91:in `install'
        from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.18/lib/bundler/installer.rb:58:in `run'
        from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.18/lib/bundler/rubygems_integration.rb:93:in `with_build_args'
        from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.18/lib/bundler/installer.rb:57:in `run'
        from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.18/lib/bundler/installer.rb:49:in `run'
        from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.18/lib/bundler/installer.rb:8:in `install'
        from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.18/lib/bundler/cli.rb:220:in `install'
        from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.18/lib/bundler/vendor/thor/task.rb:22:in `send'
        from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.18/lib/bundler/vendor/thor/task.rb:22:in `run'
        from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.18/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
        from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.18/lib/bundler/vendor/thor.rb:263:in `dispatch'
        from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.18/lib/bundler/vendor/thor/base.rb:386:in `start'
        from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.18/bin/bundle:13
        from /usr/local/bin/bundle:19:in `load'
        from /usr/local/bin/bundle:19
root@li264-104:/home/user/www/test/public# cat /home/user/www/test/public/vendor/bundle/ruby/1.8/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
/usr/local/bin/ruby extconf.rb

Also, running the last contents of gem_make.out manually runs successfully:

======================================================================
Thu 19Jan12 16:42:10
This installation of RMagick 2.13.1 is configured for
Ruby 1.8.7 (i686-linux) and ImageMagick 6.7.4 Q8
======================================================================

And also installing using RubyGems works just fine on this machine, making it hard to localize the actual error:

root@li264-104:/home/user/www/test/public# gem install rmagick
Building native extensions.  This could take a while...
Successfully installed rmagick-2.13.1
1 gem installed
Installing ri documentation for rmagick-2.13.1...
Installing RDoc documentation for rmagick-2.13.1...

I’m definitely hoping anyone has some pointers. The behavior found looks a lot like the issue in curb gem installation: bundle install fails, but normal gem install works, sadly this issue has no solution posted (and I’m not short on memory). Thanks in advance!

  • 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-28T18:46:55+00:00Added an answer on May 28, 2026 at 6:46 pm

    I’ve been unable to find any solution for the issue and instead installed rvm, which did work correctly.

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

Sidebar

Related Questions

I am copying my ssh file id_rsa.pub from my ubuntu machine to my mac
I installed Eclipse on my Ubuntu machine and then the Ruby Development Tools (RDT),
I am trying to use OpenCV on my Ubuntu machine but I am having
Before installing PHPUnit on my Ubuntu machine, I thought I had zf.sh all set
For some reason, the following seems to work perfectly on my ubuntu machine running
When I am trying to apply some authentication in .hg/hgrc file on Ubuntu machine
I'm accessing an Ubuntu machine using PuTTY, and using gcc. The default LANG environment
I have SBCL running on a Ubuntu machine. I want to write a little
I am running windows 7 and have installed an Ubuntu machine using virtual box.
I have installed Rhodecode (mercurial server) on an Ubuntu machine. I specified the repository

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.