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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:27:27+00:00 2026-06-14T19:27:27+00:00

I am trying to install the gem johnson for a sample application and it’s

  • 0

I am trying to install the gem johnson for a sample application and it’s proving to be difficult. I have ruby version ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-darwin12.2.0] installed, and trying to install johnson version 2.0.0.pre3 (what the failed bundle install out said). When trying to install johnson I get a large amount of output, so for now I’ll just give the first lines and hope it’s enough.

sudo gem install johnson -v '2.0.0.pre3'
Building native extensions.  This could take a while...
ERROR:  Error installing johnson:
ERROR: Failed to build gem native extension.
  • 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-14T19:27:28+00:00Added an answer on June 14, 2026 at 7:27 pm

    Ruby 1.9 Incompatibility

    I can reproduce this problem on my mac with ruby 1.9.3p125.

    As far as I can tell Johnson is not compatible with Ruby 1.9. This issue was raised two years ago https://github.com/jbarnette/johnson/issues/30, however the project has not been updated in the past three years. On the issue link above, they discuss an experimental 1.9.1 branch that is probably not want you want.

    Switching to my system ruby (1.8.7) on Mountain Lion allows me to install the gem:

    $ rvm system
    $ ruby --version
    ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
    $ sudo gem install johnson
    Building native extensions.  This could take a while...
    Successfully installed johnson-1.2.0
    1 gem installed
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to install the sqlite3 gem for ruby on rails and am getting
I am trying to install ruby-mp3info as a gem on my computer. Running sudo
I am trying to install the cairo ruby gem on OSX 10.6. There seems
I'm trying to install the Nokogiri gem under an RVM managed Ruby 1.8.7 installation
I am currently trying to install the gem nfoiled , which provides a ruby
I am trying to install a ruby gem called activeldap, however, it won't let
I'm trying to install ruby-filemagic. I tried sudo gem install ruby-filemagic -v 0.2.2 and
I'm trying to install the Ruby gem sanitize. I've already installed nokogiri: >gem list
Trying to install mysql2 gem on ruby 1.9.2 and I get this error: Installing
I was trying to install this gem https://github.com/frodefi/rails-messaging into a rails application. The README

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.