Created
August 9, 2012 00:05
-
-
Save nstuart/3299864 to your computer and use it in GitHub Desktop.
Problems with rails 3.2.7, Mysql 5.5 on OS X.
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
rake db:migrate --trace | |
** Invoke db:migrate (first_time) | |
** Invoke environment (first_time) | |
** Execute environment | |
** Invoke db:load_config (first_time) | |
** Invoke rails_env (first_time) | |
** Execute rails_env | |
** Execute db:load_config | |
** Execute db:migrate | |
rake aborted! | |
undefined method `accept' for nil:NilClass | |
/Users/nick/.rvm/gems/ruby-1.8.7-p357@slr/gems/activerecord-3.2.7/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in `to_sql' | |
/Users/nick/.rvm/gems/ruby-1.8.7-p357@slr/gems/activerecord-3.2.7/lib/active_record/connection_adapters/abstract/database_statements.rb:38:in `select_values' | |
/Users/nick/.rvm/gems/ruby-1.8.7-p357@slr/gems/activerecord-3.2.7/lib/active_record/migration.rb:587:in `get_all_versions' | |
/Users/nick/.rvm/gems/ruby-1.8.7-p357@slr/gems/activerecord-3.2.7/lib/active_record/migration.rb:745:in `migrated' | |
/Users/nick/.rvm/gems/ruby-1.8.7-p357@slr/gems/activerecord-3.2.7/lib/active_record/migration.rb:668:in `current_version' | |
/Users/nick/.rvm/gems/ruby-1.8.7-p357@slr/gems/activerecord-3.2.7/lib/active_record/migration.rb:685:in `migrate' | |
/Users/nick/.rvm/gems/ruby-1.8.7-p357@slr/gems/activesupport-3.2.7/lib/active_support/callbacks.rb:400:in `detect' | |
/Users/nick/.rvm/gems/ruby-1.8.7-p357@slr/gems/activerecord-3.2.7/lib/active_record/migration.rb:685:in `each' | |
/Users/nick/.rvm/gems/ruby-1.8.7-p357@slr/gems/activerecord-3.2.7/lib/active_record/migration.rb:685:in `detect' | |
/Users/nick/.rvm/gems/ruby-1.8.7-p357@slr/gems/activerecord-3.2.7/lib/active_record/migration.rb:685:in `migrate' | |
/Users/nick/.rvm/gems/ruby-1.8.7-p357@slr/gems/activerecord-3.2.7/lib/active_record/migration.rb:570:in `up' | |
/Users/nick/.rvm/gems/ruby-1.8.7-p357@slr/gems/activerecord-3.2.7/lib/active_record/migration.rb:551:in `migrate' | |
/Users/nick/.rvm/gems/ruby-1.8.7-p357@slr/gems/activerecord-3.2.7/lib/active_record/railties/databases.rake:153 |
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
source 'https://rubygems.org' | |
gem 'rails', '3.2.7' | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' | |
gem 'mysql2' | |
gem 'activerecord-mysql2-adapter' | |
gem 'json' | |
# Gems used only for assets and not required | |
# in production environments by default. | |
group :assets do | |
gem 'sass-rails', '~> 3.2.3' | |
gem 'coffee-rails', '~> 3.2.1' | |
# See https://github.com/sstephenson/execjs#readme for more supported runtimes | |
gem 'therubyracer', :platforms => :ruby | |
gem 'uglifier', '>= 1.0.3' | |
end | |
gem 'jquery-rails' | |
# To use ActiveModel has_secure_password | |
gem 'bcrypt-ruby', '~> 3.0.0' | |
# To use Jbuilder templates for JSON | |
# gem 'jbuilder' | |
# Use unicorn as the app server | |
# gem 'unicorn' | |
# Deploy with Capistrano | |
gem 'capistrano' | |
# To use debugger | |
# gem 'ruby-debug' |
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
** LOCAL GEMS *** | |
actionmailer (3.2.7, 3.2.6, 3.2.2) | |
actionpack (3.2.7, 3.2.6, 3.2.2) | |
activemodel (3.2.7, 3.2.6, 3.2.2) | |
activerecord (3.2.7, 3.2.6, 3.2.2) | |
activerecord-mysql2-adapter (0.0.3) | |
activeresource (3.2.7, 3.2.6, 3.2.2) | |
activesupport (3.2.7, 3.2.6, 3.2.2) | |
arel (3.0.2) | |
bcrypt-ruby (3.0.1) | |
builder (3.0.0) | |
bundler (1.1.5) | |
capistrano (2.12.0) | |
coffee-rails (3.2.2) | |
coffee-script (2.2.0) | |
coffee-script-source (1.3.3) | |
erubis (2.7.0) | |
execjs (1.4.0) | |
highline (1.6.13) | |
hike (1.2.1) | |
i18n (0.6.0) | |
journey (1.0.4) | |
jquery-rails (2.0.2) | |
json (1.7.4) | |
libv8 (3.3.10.4 x86-darwin-11) | |
mail (2.4.4) | |
mime-types (1.19) | |
multi_json (1.3.6) | |
mysql2 (0.3.11) | |
net-scp (1.0.4) | |
net-sftp (2.0.5) | |
net-ssh (2.5.2) | |
net-ssh-gateway (1.1.0) | |
polyglot (0.3.3) | |
rack (1.4.1) | |
rack-cache (1.2) | |
rack-ssl (1.3.2) | |
rack-test (0.6.1) | |
rails (3.2.7, 3.2.6, 3.2.2) | |
railties (3.2.7, 3.2.6, 3.2.2) | |
rake (0.9.2.2, 0.8.7) | |
rdoc (3.12) | |
sass (3.1.20) | |
sass-rails (3.2.5) | |
sprockets (2.1.3) | |
sqlite3 (1.3.6) | |
therubyracer (0.10.2) | |
thor (0.15.4, 0.14.6) | |
tilt (1.3.3) | |
treetop (1.4.10) | |
tzinfo (0.3.33) | |
uglifier (1.2.7) |
Also, running db:create and db:drop work just fine so it can connect to MySQL at least initially.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gem version for mysql2 is 0.3.11 and adapter is at 0.0.3...just setup this project today (8-8-2012).
Using ruby 1.8.7 via RVM