[root@svn-master redmine]# bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this
application for all non-root users on this machine.
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32, java. To add those platforms to the bundle, run bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32 java.
The dependency activerecord-jdbc-adapter (~> 1.3.2) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run bundle lock --add-platform java.
The dependency activerecord-jdbcmysql-adapter (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run bundle lock --add-platform java.
/opt/rh/rh-ruby24/root/usr/share/gems/gems/psych-2.2.2/lib/psych.rb:228: warning: already initialized constant Psych::LIBYAML_VERSION
/opt/rh/rh-ruby24/root/usr/share/ruby/psych.rb:228: warning: previous definition of LIBYAML_VERSION was here
/opt/rh/rh-ruby24/root/usr/share/gems/gems/psych-2.2.2/lib/psych.rb:230: warning: already initialized constant Psych::FALLBACK
/opt/rh/rh-ruby24/root/usr/share/ruby/psych.rb:230: warning: previous definition of FALLBACK was here
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies....
Using rake 12.0.0
Using i18n 0.7.0
Fetching json 1.8.6
Installing json 1.8.6 with native extensions
Using minitest 5.10.2
Using thread_safe 0.3.6
Using builder 3.2.3
Using erubis 2.7.0
Using mini_portile2 2.1.0
Using rack 1.6.8
Using mime-types-data 3.2016.0521
Using arel 6.0.4
Using bundler 1.15.1
Using thor 0.19.4
Using concurrent-ruby 1.0.5
Using coderay 1.1.1
Using request_store 1.0.5
Using public_suffix 2.0.5
Using mimemagic 0.3.2
Using htmlentities 4.3.4
Using rbpdf-font 1.19.1
Using net-ldap 0.12.1
Using ruby-openid 2.3.0
Fetching rmagick 2.16.0
Installing rmagick 2.16.0 with native extensions
Fetching redcarpet 3.3.4
Installing redcarpet 3.3.4 with native extensions
Fetching mysql2 0.4.8
Installing mysql2 0.4.8 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /opt/rh/rh-ruby24/root/usr/local/share/gems/gems/json-1.8.6/ext/json/ext/generator
/opt/rh/rh-ruby24/root/usr/bin/ruby -r ./siteconf20170713-2950-1k6f61u.rb extconf.rb
mkmf.rb can't find header files for ruby at /opt/rh/rh-ruby24/root/usr/share/include/ruby.h
extconf failed, exit code 1
Gem files will remain installed in /opt/rh/rh-ruby24/root/usr/local/share/gems/gems/json-1.8.6 for inspection.
Results logged to /opt/rh/rh-ruby24/root/usr/local/lib64/gems/ruby/json-1.8.6/gem_make.out
An error occurred while installing json (1.8.6), and Bundler cannot continue.
Make sure that gem install json -v '1.8.6' succeeds before bundling.
In Gemfile:
rails was resolved to 4.2.7.1, which depends on
actionmailer was resolved to 4.2.7.1, which depends on
actionpack was resolved to 4.2.7.1, which depends on
actionview was resolved to 4.2.7.1, which depends on
rails-dom-testing was resolved to 1.0.8, which depends on
rails-deprecated_sanitizer was resolved to 1.0.3, which depends on
activesupport was resolved to 4.2.7.1, which depends on
json
[root@svn-master redmine]# bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32, java. To add those platforms to the bundle, run
bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32 java
. The dependency activerecord-jdbc-adapter (~> 1.3.2) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, runbundle lock --add-platform java
. The dependency activerecord-jdbcmysql-adapter (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, runbundle lock --add-platform java
. /opt/rh/rh-ruby24/root/usr/share/gems/gems/psych-2.2.2/lib/psych.rb:228: warning: already initialized constant Psych::LIBYAML_VERSION /opt/rh/rh-ruby24/root/usr/share/ruby/psych.rb:228: warning: previous definition of LIBYAML_VERSION was here /opt/rh/rh-ruby24/root/usr/share/gems/gems/psych-2.2.2/lib/psych.rb:230: warning: already initialized constant Psych::FALLBACK /opt/rh/rh-ruby24/root/usr/share/ruby/psych.rb:230: warning: previous definition of FALLBACK was here Fetching gem metadata from https://rubygems.org/.......... Fetching version metadata from https://rubygems.org/.. Fetching dependency metadata from https://rubygems.org/. Resolving dependencies.... Using rake 12.0.0 Using i18n 0.7.0 Fetching json 1.8.6 Installing json 1.8.6 with native extensions Using minitest 5.10.2 Using thread_safe 0.3.6 Using builder 3.2.3 Using erubis 2.7.0 Using mini_portile2 2.1.0 Using rack 1.6.8 Using mime-types-data 3.2016.0521 Using arel 6.0.4 Using bundler 1.15.1 Using thor 0.19.4 Using concurrent-ruby 1.0.5 Using coderay 1.1.1 Using request_store 1.0.5 Using public_suffix 2.0.5 Using mimemagic 0.3.2 Using htmlentities 4.3.4 Using rbpdf-font 1.19.1 Using net-ldap 0.12.1 Using ruby-openid 2.3.0 Fetching rmagick 2.16.0 Installing rmagick 2.16.0 with native extensions Fetching redcarpet 3.3.4 Installing redcarpet 3.3.4 with native extensions Fetching mysql2 0.4.8 Installing mysql2 0.4.8 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension./opt/rh/rh-ruby24/root/usr/bin/ruby -r ./siteconf20170713-2950-1k6f61u.rb extconf.rb mkmf.rb can't find header files for ruby at /opt/rh/rh-ruby24/root/usr/share/include/ruby.h
extconf failed, exit code 1
Gem files will remain installed in /opt/rh/rh-ruby24/root/usr/local/share/gems/gems/json-1.8.6 for inspection. Results logged to /opt/rh/rh-ruby24/root/usr/local/lib64/gems/ruby/json-1.8.6/gem_make.out
An error occurred while installing json (1.8.6), and Bundler cannot continue. Make sure that
gem install json -v '1.8.6'
succeeds before bundling.In Gemfile: rails was resolved to 4.2.7.1, which depends on actionmailer was resolved to 4.2.7.1, which depends on actionpack was resolved to 4.2.7.1, which depends on actionview was resolved to 4.2.7.1, which depends on rails-dom-testing was resolved to 1.0.8, which depends on rails-deprecated_sanitizer was resolved to 1.0.3, which depends on activesupport was resolved to 4.2.7.1, which depends on json