Thanks. Apperently some gem is depending on git. I'll try to find it
and
remove it. It looks like aruba which is only needed for testing.
Try
bundle install --without test
to see if it will skip aruba and the dependency on git
Reinier
That didn't help. In fact, the bundle command generated the same
error. Also it looks like it didn't install the mysql gem.
Thanks.
ubuntu@ubuntu-Virtual-Machine:/opt/tracks$ bundle install --without test
/opt/tracks/vendor/gems/aruba-0.2.2/aruba.gemspec:24: command not
found: git ls-files
sh: 1: git: not found
sh: 1: git: not found
/opt/tracks/vendor/gems/aruba-0.2.2/aruba.gemspec:24: command not
found: git ls-files
sh: 1: git: not found
sh: 1: git: not found
Fetching source index for http://rubygems.org/
Fetching source index for http://gems.github.com/
Using rake (0.8.7)
Using RedCloth (4.2.8)
Using aasm (2.2.1)
Using activesupport (2.3.14)
Using rack (1.1.0)
Using actionpack (2.3.14)
Using actionmailer (2.3.14)
Using activerecord (2.3.14)
Using activeresource (2.3.14)
Using acts_as_list (0.1.4)
Using bcrypt-ruby (2.1.4)
Using cgi_multipart_eof_fix (2.5.0)
Using columnize (0.3.6)
Using daemons (1.1.8)
Using fastthread (1.0.7)
Using gem_plugin (0.2.3)
Using has_many_polymorphs (2.13)
Using highline (1.5.2)
Using htmlentities (4.3.1)
Using httpclient (2.2.4)
Using i18n (0.6.0)
Using rbx-require-relative (0.0.5)
Using linecache (0.46)
Using mime-types (1.17.2)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.4.1)
Using mongrel (1.1.5)
Installing mysql (2.8.1) with native extensions /usr/lib/ruby/
vendor_ruby/1.8/rubygems/installer.rb:552:in `build_extensions':
ERROR: Failed to build gem native extension.
(Gem::Installer::ExtensionBuildError)
/usr/bin/ruby1.8 extconf.rb
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lmygcc... no
checking for mysql_query() in -lmysqlclient... no
*** 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.8
--with-mysql-config
--without-mysql-config
--with-mysql-dir
--without-mysql-dir
--with-mysql-include
--without-mysql-include=${mysql-dir}/include
--with-mysql-lib
--without-mysql-lib=${mysql-dir}/lib
--with-mysqlclientlib
--without-mysqlclientlib
--with-mlib
--without-mlib
--with-mysqlclientlib
--without-mysqlclientlib
--with-zlib
--without-zlib
--with-mysqlclientlib
--without-mysqlclientlib
--with-socketlib
--without-socketlib
--with-mysqlclientlib
--without-mysqlclientlib
--with-nsllib
--without-nsllib
--with-mysqlclientlib
--without-mysqlclientlib
--with-mygcclib
--without-mygcclib
--with-mysqlclientlib
--without-mysqlclientlib
Gem files will remain installed in /opt/tracks/vendor/cache/ruby/1.8/
gems/mysql-2.8.1 for inspection.
Results logged to /opt/tracks/vendor/cache/ruby/1.8/gems/mysql-2.8.1/
ext/mysql_api/gem_make.out
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/installer.rb:505:in `each'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/installer.rb:505:in
`build_extensions'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/installer.rb:180:in
`install'
from /usr/lib/ruby/vendor_ruby/bundler/source.rb:101:in `install'
from /usr/lib/ruby/vendor_ruby/bundler/rubygems_integration.rb:78:in
`preserve_paths'
from /usr/lib/ruby/vendor_ruby/bundler/source.rb:91:in `install'
from /usr/lib/ruby/vendor_ruby/bundler/installer.rb:58:in `run'
from /usr/lib/ruby/vendor_ruby/bundler/rubygems_integration.rb:93:in
`with_build_args'
from /usr/lib/ruby/vendor_ruby/bundler/installer.rb:57:in `run'
from /usr/lib/ruby/vendor_ruby/bundler/spec_set.rb:12:in `each'
from /usr/lib/ruby/vendor_ruby/bundler/spec_set.rb:12:in `each'
from /usr/lib/ruby/vendor_ruby/bundler/installer.rb:49:in `run'
from /usr/lib/ruby/vendor_ruby/bundler/installer.rb:8:in `install'
from /usr/lib/ruby/vendor_ruby/bundler/cli.rb:222:in `install'
from /usr/lib/ruby/vendor_ruby/bundler/vendor/thor/task.rb:22:in `send'
from /usr/lib/ruby/vendor_ruby/bundler/vendor/thor/task.rb:22:in `run'
from /usr/lib/ruby/vendor_ruby/bundler/vendor/thor/invocation.rb:
118:in `invoke_task'
from /usr/lib/ruby/vendor_ruby/bundler/vendor/thor.rb:246:in `dispatch'
from /usr/lib/ruby/vendor_ruby/bundler/vendor/thor/base.rb:389:in
`start'
from /usr/bin/bundle:13
ubuntu@ubuntu-Virtual-Machine:/opt/tracks$ sudo rake time:zones:local
[sudo] password for ubuntu:
/opt/tracks/vendor/gems/aruba-0.2.2/aruba.gemspec:24: command not
found: git ls-files
sh: 1: git: not found
sh: 1: git: not found
rake aborted!
Bundler couldn't find some gems.Did you run `bundle install`?
(See full trace by running task with --trace)
ubuntu@ubuntu-Virtual-Machine:/opt/tracks$ bundle exec rake db:migrate
RAILS_ENV=production
/opt/tracks/vendor/gems/aruba-0.2.2/aruba.gemspec:24: command not
found: git ls-files
sh: 1: git: not found
sh: 1: git: not found
Could not find mysql-2.8.1 in any of the sources
Jamie Stotz
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss