-
-
Notifications
You must be signed in to change notification settings - Fork 847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation fails on Ubuntu #352
Comments
@davidsowerby The issue seems to be a quite old |
@davidsowerby Thanks for your interest in github-changelog-generator! Do tell if using a newer Ruby worked for you. |
@olleolleolle Thanks for the quick response. I'm hoping I can get this to work for me - your project seems to be doing exactly what I want. Ubuntu is some way behind on Ruby versions. I used the Brightbox ppa instead, and installed Ruby 2.3:
But ... I am still getting an error
|
The ffi gem builds native extensions. Kind souls on the Web explain this, too: jasmine/jasmine#755 (comment) |
Ok, tried this:
First command completed but references Ruby 1.9.1 and also has some suspicious output:
Second command generates a similar error to previous:
|
@davidsowerby We've reached the point in this GitHub Issue where we're answering "How do I install Ruby on Ubuntu with development header files so that I'll close this Issue since it's no longer about this project, but about how to get up and running with gems with extensions on Ubuntu 14.04. |
Ok, fair enough, thanks for your help this far ... I've been trying to find some reference to installing on Ubuntu but not found anything complete as yet. With luck, your summary of the problem will be enough to solve that:
To someone unfamiliar with Ruby that's a useful piece of information |
@davidsowerby Cool! Perhaps this can be a tip? http://www.nokogiri.org/tutorials/installing_nokogiri.html#ubuntu___debian |
@davidsowerby Nokogiri is a common dependency which has extensions. |
@olleolleolle Thanks for the thought - but I decided not to install Ruby just for this - much as I like the look of your project, it would introduce an unnecessary dependency, and one which is clearly not straightforward to manage. I have a half-written alternative - I'll just need to finish the other half ... but thanks for your help |
@davidsowerby "It depends", as always. Best of luck! |
I'm not familiar with Ruby, so I may be missing something simple ...
On Ubuntu 14.04, I installed Ruby:
sudo apt-get install ruby
That seemed to installed correctly
Attempted to install your gem:
sudo gem install github_changelog_generator
/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:4:in `
Gem files will remain installed in /var/lib/gems/1.9.1/gems/ffi-1.9.10 for inspection.
Results logged to /var/lib/gems/1.9.1/gems/ffi-1.9.10/ext/ffi_c/gem_make.out
The text was updated successfully, but these errors were encountered: