Installing Redmine 2.1 sqlite on Debian 6.0 fails
Added by Dietmar H over 11 years ago
Following the guide at http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_210_on_Debian_Squeeze_with_Apache_Passenger this happens:
minibiatch:/usr/local/share/redmine# RAILS_ENV=production /var/lib/gems/1.8/bin/rake db:migrate rake aborted! Please install the sqlite3 adapter: `gem install activerecord-sqlite3-adapter` (sqlite3 is not part of the bundle. Add it to Gemfile.) /var/lib/gems/1.8/gems/bundler-1.2.3/lib/bundler/rubygems_integration.rb:147:in `gem' /var/lib/gems/1.8/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite3_adapter.rb:3 /var/lib/gems/1.8/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require' /var/lib/gems/1.8/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require' /var/lib/gems/1.8/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency' /var/lib/gems/1.8/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require' /var/lib/gems/1.8/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:50:in `resolve_hash_connection' /var/lib/gems/1.8/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:41:in `resolve_string_connection' /var/lib/gems/1.8/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:25:in `spec' /var/lib/gems/1.8/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:129:in `establish_connection' /var/lib/gems/1.8/gems/activerecord-3.2.8/lib/active_record/railtie.rb:82 /var/lib/gems/1.8/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval' /var/lib/gems/1.8/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook' /var/lib/gems/1.8/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:43:in `run_load_hooks' /var/lib/gems/1.8/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:42:in `each' /var/lib/gems/1.8/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks' /var/lib/gems/1.8/gems/activerecord-3.2.8/lib/active_record/base.rb:721 /var/lib/gems/1.8/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:in `load' /var/lib/gems/1.8/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:in `load' /var/lib/gems/1.8/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency' /var/lib/gems/1.8/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:in `load' /var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/engine.rb:588 /var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/engine.rb:587:in `each' /var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/engine.rb:587 /var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/initializable.rb:30:in `instance_exec' /var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/initializable.rb:30:in `run' /var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/initializable.rb:55:in `run_initializers' /var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/initializable.rb:54:in `each' /var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/initializable.rb:54:in `run_initializers' /var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/application.rb:136:in `initialize!' /var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `send' /var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `method_missing' /var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/application.rb:103:in `require' /var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/application.rb:103:in `require_environment!' /var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/application.rb:295:in `initialize_tasks' Tasks: TOP => db:migrate => environment (See full trace by running task with --trace) minibiatch:/usr/local/share/redmine# gem install activerecord-sqlite3-adapter ERROR: Could not find a valid gem 'activerecord-sqlite3-adapter' (>= 0) in any repository
which seems to be true: http://rubygems.org/search?utf8=%E2%9C%93&query=activerecord-sqlite3-adapter
install status:
minibiatch:/usr/local/share/redmine# /var/lib/gems/1.8/bin/bundle Using rake (10.0.2) Using i18n (0.6.1) Using multi_json (1.4.0) Using activesupport (3.2.8) Using builder (3.0.0) Using activemodel (3.2.8) Using erubis (2.7.0) Using journey (1.0.4) Using rack (1.4.1) Using rack-cache (1.2) Using rack-test (0.6.2) Using hike (1.2.1) Using tilt (1.3.3) Using sprockets (2.1.3) Using actionpack (3.2.8) Using mime-types (1.19) Using polyglot (0.3.3) Using treetop (1.4.12) Using mail (2.4.4) Using actionmailer (3.2.8) Using arel (3.0.2) Using tzinfo (0.3.35) Using activerecord (3.2.8) Using activeresource (3.2.8) Using coderay (1.0.8) Using fastercsv (1.5.5) Using rack-ssl (1.3.2) Using json (1.7.5) Using rdoc (3.12) Using thor (0.16.0) Using railties (3.2.8) Using jquery-rails (2.0.3) Using mysql (2.8.1) Using net-ldap (0.3.1) Using ruby-openid (2.1.8) Using rack-openid (1.3.1) Using bundler (1.2.3) Using rails (3.2.8) Using rmagick (2.13.1) Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed. minibiatch:/usr/local/share/redmine# gem list *** LOCAL GEMS *** actionmailer (3.2.8) actionpack (3.2.8) activemodel (3.2.8) activerecord (3.2.8) activerecord-jdbc-adapter (1.2.2.1) activerecord-jdbcsqlite3-adapter (1.2.2.1) activeresource (3.2.8) activesupport (3.2.8) arel (3.0.2) builder (3.0.0) bundler (1.2.3) coderay (1.0.8) erubis (2.7.0) fastercsv (1.5.5) hike (1.2.1) i18n (0.6.1) jdbc-sqlite3 (3.7.2) journey (1.0.4) jquery-rails (2.0.3) json (1.7.5) mail (2.4.4) mime-types (1.19) multi_json (1.4.0) mysql (2.8.1) net-ldap (0.3.1) pg (0.14.1) polyglot (0.3.3) rack (1.4.1) rack-cache (1.2) rack-openid (1.3.1) rack-ssl (1.3.2) rack-test (0.6.2) rails (3.2.8) railties (3.2.8) rake (10.0.2) rdoc (3.12) rmagick (2.13.1) ruby-openid (2.1.8) sprockets (2.1.3) sqlite3 (1.3.6, 1.3.5) sqlite3-ruby (1.3.3) thor (0.16.0) tilt (1.3.3) treetop (1.4.12) tzinfo (0.3.35) minibiatch:/usr/local/share/redmine# dpkg -l | grep ruby ii libdbd-sqlite3-ruby 1.2.5-3 Ruby/DBI SQLite3 driver ii libdbd-sqlite3-ruby1.8 1.2.5-3 Ruby/DBI SQLite3 driver for Ruby 1.8 ii libdbi-ruby1.8 0.4.3-2 Database Independent Interface for Ruby 1.8 ii libdeprecated-ruby1.8 2.0.1-2 Library for handling deprecated code in Ruby 1.8 ii librack-ruby 1.1.0-4 A modular Ruby webserver interface ii librack-ruby1.8 1.1.0-4 A modular Ruby webserver interface (Ruby 1.8) ii libruby 4.5 Libraries necessary to run Ruby 1.8.x ii libruby1.8 1.8.7.302-2squeeze1 Libraries necessary to run Ruby 1.8 ii libsqlite3-ruby1.8 1.2.4-2.1 SQLite3 interface for Ruby 1.8 rc rake 0.8.7-2 a ruby build program ii ruby 4.5 An interpreter of object-oriented scripting language Ruby ii ruby1.8 1.8.7.302-2squeeze1 Interpreter of object-oriented scripting language Ruby 1.8 ii ruby1.8-dev 1.8.7.302-2squeeze1 Header files for compiling extension modules for the Ruby 1.8 ii rubygems 1.3.7-3 package management framework for Ruby libraries/applications ii rubygems1.8 1.3.7-3 package management framework for Ruby libraries/applications
I'm no Ruby dev/admin, thus I don't know how to go on from here. Help is appreciated.