github-changelog-generator / github-changelog-generator/github-changelog-generator

Can't install on ubuntu 17.04

Open
#557 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
7.5k
Forks
843
PR merge metrics
No merged PRs in 30d

Description

```
sudo gem install github_changelog_generator
Building native extensions. This could take a while...
ERROR: Error installing github_changelog_generator:
ERROR: Failed to build gem native extension.

current directory: /var/lib/gems/2.3.0/gems/rainbow-2.2.2/ext
/usr/bin/ruby2.3 mkrf_conf.rb

current directory: /var/lib/gems/2.3.0/gems/rainbow-2.2.2/ext
/usr/bin/ruby2.3 -rubygems /usr/share/rubygems-integration/all/gems/rake-10.5.0/bin/rake RUBYARCHDIR=/var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/rainbow-2.2.2 RUBYLIBDIR=/var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/rainbow-2.2.2
/usr/bin/ruby2.3: No such file or directory -- /usr/share/rubygems-integration/all/gems/rake-10.5.0/bin/rake (LoadError)

rake failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.3.0/gems/rainbow-2.2.2 for inspection.
Results logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/rainbow-2.2.2/gem_make.out
```

I did `sudo apt-get install ruby-dev` and `sudo apt-get install zlib1g-dev` like referred [here](https://github.com/skywinder/github-changelog-generator/issues/64) without success.

Thanks.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `sudo gem install github_changelog_generator` on Ubuntu 17.04 with Ruby 2.3 and inspect the reported `rainbow` native-extension and missing `rake` paths. Compare the dependency and installation requirements with the referenced issue; done means the gem installs successfully or the supported setup and failure cause are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby, ubuntu
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
22/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.