From 26fc1946da149da74279502990d180473825149b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 20 Nov 2015 14:41:41 +0100 Subject: [PATCH] ruby1.9.1-dev is a test requirement Without this package installed on the system the following error triggers when bundle attempts to install the "json" package with native extensions: Gem::Installer::ExtensionBuildError: 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 `
' Gem files will remain installed in /home/elemoine/src/fuel-plugin-lma-collector/.bundled_gems/ruby/1.9.1/gems/json-1.8.3 for inspection. Results logged to /home/elemoine/src/fuel-plugin-lma-collector/.bundled_gems/ruby/1.9.1/gems/json-1.8.3/ext/json/ext/generator/gem_make.out An error occurred while installing json (1.8.3), and Bundler cannot continue. Make sure that `gem install json -v '1.8.3'` succeeds before bundling. ERROR: InvocationError: '/usr/local/bin/bundle install --path /home/elemoine/src/fuel-plugin-lma-collector/.bundled_gems' Change-Id: I07d1b69a10892238aea7f21ecb8d7044f39b8ab1 (cherry picked from commit d03dcefe4d65f392722e615ab2193a88fcd0280c) --- doc/source/dev/tests.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/dev/tests.rst b/doc/source/dev/tests.rst index 77f9d2dd7..8d552c875 100644 --- a/doc/source/dev/tests.rst +++ b/doc/source/dev/tests.rst @@ -5,6 +5,6 @@ You need to have `tox` and `bundler` installed for running the tests. Quickstart for Ubuntu Trusty:: - apt-get install tox ruby + apt-get install tox ruby ruby1.9.1-dev gem install bundler tox