intertwingly

It’s just data

Upgrade Unavailable?


Setting

uname -a:

Darwin rubymac 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

sw_vers:

ProductName:	Mac OS X
ProductVersion:	10.5.8
BuildVersion:	9L31a

Problem #1

gcc -I. -I/Users/rubys/.rvm/rubies/ruby-1.9.2-r32882/include/ruby-1.9.1/i386-darwin9.8.0 -I/Users/rubys/.rvm/rubies/ruby-1.9.2-r32882/include/ruby-1.9.1/ruby/backward -I/Users/rubys/.rvm/rubies/ruby-1.9.2-r32882/include/ruby-1.9.1 -I. -DHAVE_RB_PROC_ARITY -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long  -fno-common -pipe  -o backup.o -c backup.c
gcc -I. -I/Users/rubys/.rvm/rubies/ruby-1.9.2-r32882/include/ruby-1.9.1/i386-darwin9.8.0 -I/Users/rubys/.rvm/rubies/ruby-1.9.2-r32882/include/ruby-1.9.1/ruby/backward -I/Users/rubys/.rvm/rubies/ruby-1.9.2-r32882/include/ruby-1.9.1 -I. -DHAVE_RB_PROC_ARITY -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long  -fno-common -pipe  -o database.o -c database.c
database.c: In function 'initialize':
database.c:47: error: 'SQLITE_OPEN_READWRITE' undeclared (first use in this function)
database.c:47: error: (Each undeclared identifier is reported only once
database.c:47: error: for each function it appears in.)
database.c:47: error: 'SQLITE_OPEN_CREATE' undeclared (first use in this function)
database.c:72: error: 'SQLITE_OPEN_READONLY' undeclared (first use in this function)
database.c: In function 'set_sqlite3_func_result':
database.c:278: error: 'sqlite3_int64' undeclared (first use in this function)
make: *** [database.o] Error 1

Potential solution #1

Problem #2

rake db:migrate
NoMethodError: undefined method `to_a' for #<SQLite3::Statement:0x2dd1a88>:           SELECT name
          FROM sqlite_master
          WHERE type = 'table' AND NOT name = 'sqlite_sequence'
/Users/rubys/git/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb:173:in `block in exec_query'
/Users/rubys/git/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:222:in `block in log'
/Users/rubys/git/rails/activesupport/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/rubys/git/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:217:in `log'
/Users/rubys/git/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb:167:in `exec_query'
/Users/rubys/git/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb:259:in `tables'
/Users/rubys/git/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb:25:in `table_exists?'
/Users/rubys/git/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb:417:in `initialize_schema_migrations_table'
/Users/rubys/git/rails/activerecord/lib/active_record/migration.rb:634:in `initialize'
/Users/rubys/git/rails/activerecord/lib/active_record/migration.rb:549:in `new'
/Users/rubys/git/rails/activerecord/lib/active_record/migration.rb:549:in `up'
/Users/rubys/git/rails/activerecord/lib/active_record/migration.rb:530:in `migrate'
/Users/rubys/git/rails/activerecord/lib/active_record/railties/databases.rake:161:in `block (2 levels) in <top (required)>'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/gems/rake-0.9.2/lib/rake/task.rb:205:in `call'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/gems/rake-0.9.2/lib/rake/task.rb:205:in `block in execute'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/gems/rake-0.9.2/lib/rake/task.rb:200:in `each'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/gems/rake-0.9.2/lib/rake/task.rb:200:in `execute'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/gems/rake-0.9.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/rubys/.rvm/rubies/ruby-1.9.2-r32882/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/gems/rake-0.9.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/gems/rake-0.9.2/lib/rake/task.rb:144:in `invoke'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/gems/rake-0.9.2/lib/rake/application.rb:112:in `invoke_task'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/gems/rake-0.9.2/lib/rake/application.rb:90:in `block (2 levels) in top_level'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/gems/rake-0.9.2/lib/rake/application.rb:90:in `each'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/gems/rake-0.9.2/lib/rake/application.rb:90:in `block in top_level'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/gems/rake-0.9.2/lib/rake/application.rb:84:in `top_level'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/gems/rake-0.9.2/lib/rake/application.rb:62:in `block in run'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/gems/rake-0.9.2/lib/rake/application.rb:59:in `run'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/gems/rake-0.9.2/bin/rake:32:in `<top (required)>'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/bin/rake:19:in `load'
/Users/rubys/.rvm/gems/ruby-1.9.2-r32882/bin/rake:19:in `<main>'

Potential solution #3

Problem #3

Snow Leopard is not available in any local Best Buy stores (I tried 3).  Nor were they able to order for me via the web. 

Nor is Snow Leopard available at the local Apple store.  They too were not able to order it for me.

Summary

Sqlite3 3.7.4 doesn’t like Mac OSX 10.5.8.  Rails 3.1 doesn’t like sqlite3-ruby -v 1.2.5.  Neither Best Buy nor Apple will sell me Snow Leopard; not from their Brick and Mortar stores nor online.  Nor is Lion an option as upgrading to Snow Leopard is a prerequisite.

If anybody has any suggestions, please let me know.  Meanwhile, I can say this: while every previous version of Agile Web Development had screenshots of Safari on a Mac, the next update will have screenshots of Chrome on Ubuntu.