Skip to content

Conversation

weakish
Copy link
Contributor

@weakish weakish commented Nov 10, 2013

If a Debian/Ubuntu user have not installed ruby1.9-dev before, when they use gem install gist, they will get this error:

 $ sudo gem install gist Building native extensions. This could take a while... ERROR: Error installing gist: ERROR: Failed to build gem native extension. /usr/bin/ruby1.9.1 extconf.rb /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError) from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from extconf.rb:1:in `<main>' 

This is because mkmf.rb is missing on their system.

Thus they need to install mkmf.rb, which is included in the ruby1.9-dev package.

After that, gem install gist works.

Debian/Ubuntu users should install ruby1.9-dev, too.
@ConradIrwin
Copy link
Collaborator

Thanks! I've actualy fixed this by removing the dependency on the JSON gem instead as:

  1. json is in the standard library in ruby 1.9 and above...
  2. we already have vendor/json for use with homebrew...

Should be fixed in 4.1.3, would love confirmation :).

@weakish
Copy link
Contributor Author

weakish commented Nov 11, 2013

@ConradIrwin I tested it on a virtual machine (Debian 7). It works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants