Last active
August 29, 2015 14:18
-
-
Save dvdasari/3d1d0d049c9e31a644e0 to your computer and use it in GitHub Desktop.
error installing mysql2 0.3.16
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
$ bundle exec rake vlad:deploy | |
/Users/dvmac/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/systemu-2.2.0/lib/systemu.rb:29: Use RbConfig instead of obsolete and deprecated Config. | |
/Users/dvmac/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require': iconv will be deprecated in the future, use String#encode instead. | |
/Users/dvmac/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/tmail-1.2.7.1/lib/tmail/vendor/rchardet-1.3/lib/rchardet.rb:59: warning: already initialized constant VERSION | |
Faraday::Builder is now Faraday::RackBuilder. | |
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/dvmac/workllc/workpro/Rakefile:5) | |
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/dvmac/workllc/workpro/Rakefile:5) | |
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/dvmac/workllc/workpro/Rakefile:5) | |
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/dvmac/workllc/workpro/Rakefile:5) | |
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/dvmac/workllc/workpro/Rakefile:5) | |
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/dvmac/workllc/workpro/Rakefile:5) | |
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/dvmac/workllc/workpro/Rakefile:5) | |
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/dvmac/workllc/workpro/Rakefile:5) | |
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/dvmac/workllc/workpro/Rakefile:5) | |
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/dvmac/workllc/workpro/Rakefile:5) | |
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/dvmac/workllc/workpro/Rakefile:5) | |
{:app=>:passenger, :type=>:rails, :config=>"config/deploy.rb", :core=>:core, :scm=>:git, :web=>:apache} | |
HEAD is now at b4f65f1 changes to the gemfile to fix errors | |
Branch deployed-origin/master set up to track remote branch master from origin. | |
Your branch is up-to-date with 'origin/master'. | |
/home/workpro/srv/scm | |
Switched to branch 'deployed-origin/master' | |
/home/workpro/srv/scm | |
fatal: Not a git repository (or any of the parent directories): .git | |
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. | |
/usr/bin/ruby1.9.1 extconf.rb | |
checking for ruby/thread.h... *** extconf.rb failed *** | |
Could not create Makefile due to some reason, probably lack of | |
necessary libraries and/or headers. Check the mkmf.log file for more | |
details. You may need configuration options. | |
Provided configuration options: | |
--with-opt-dir | |
--without-opt-dir | |
--with-opt-include | |
--without-opt-include=${opt-dir}/include | |
--with-opt-lib | |
--without-opt-lib=${opt-dir}/lib | |
--with-make-prog | |
--without-make-prog | |
--srcdir=. | |
--curdir | |
--ruby=/usr/bin/ruby1.9.1 | |
/usr/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError) | |
You have to install development tools first. | |
from /usr/lib/ruby/1.9.1/mkmf.rb:506:in `try_cpp' | |
from /usr/lib/ruby/1.9.1/mkmf.rb:931:in `block in have_header' | |
from /usr/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for' | |
from /usr/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone' | |
from /usr/lib/ruby/1.9.1/mkmf.rb:254:in `open' | |
from /usr/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone' | |
from /usr/lib/ruby/1.9.1/mkmf.rb:254:in `open' | |
from /usr/lib/ruby/1.9.1/mkmf.rb:280:in `postpone' | |
from /usr/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for' | |
from /usr/lib/ruby/1.9.1/mkmf.rb:930:in `have_header' | |
from extconf.rb:9:in `<main>' | |
Gem files will remain installed in /home/workpro/srv/shared/bundle/ruby/1.9.1/gems/mysql2-0.3.16 for inspection. | |
Results logged to /home/workpro/srv/shared/bundle/ruby/1.9.1/gems/mysql2-0.3.16/ext/mysql2/gem_make.out | |
An error occurred while installing mysql2 (0.3.16), and Bundler cannot continue. | |
Make sure that `gem install mysql2 -v '0.3.16'` succeeds before bundling. | |
rake aborted! | |
execution failed with status 5: ssh [email protected] cd /home/workpro/srv/releases/20150331141248 && bundle install --gemfile /home/workpro/srv/releases/20150331141248/Gemfile --path /home/workpro/srv/shared/bundle --deployment --quiet --without development test | |
Tasks: TOP => vlad:deploy => vlad:bundle:install | |
(See full trace by running task with --trace) | |
[workpro (master *)]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment