Created
July 29, 2016 08:44
-
-
Save killerswan/66f166977f278eda3bf8a39396f014a6 to your computer and use it in GitHub Desktop.
RVM doesn't use the right Gem path: https://github.com/killerswan/ponyc/blob/f70cf38c8a246ff3ca6ec345736086ed0260ec83/.travis.yml#L82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rvm: | |
- 2.2.3 | |
install: | |
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; | |
then | |
... | |
rvm use 2.2.3 --default; | |
sudo gem install fpm; | |
fi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning! PATH is not properly set up, '/usr/local/rvm/gems/ruby-2.2.3/bin' is not at first place, | |
usually this is caused by shell initialization files - check them for 'PATH=...' entries, | |
it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles', | |
to fix temporarily in this shell session run: 'rvm use ruby-2.2.3'. | |
Using /usr/local/rvm/gems/ruby-2.2.3 | |
Fetching: json-1.8.3.gem (100%) | |
Building native extensions. This could take a while... | |
ERROR: Error installing fpm: | |
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>' | |
Gem files will remain installed in /var/lib/gems/1.9.1/gems/json-1.8.3 for inspection. | |
Results logged to /var/lib/gems/1.9.1/gems/json-1.8.3/ext/json/ext/generator/gem_make.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Aha, now on to a more complex problem:
Also, still:
https://travis-ci.org/killerswan/ponyc/jobs/148268944