OK, more progress!  The problem seems to be that LBL is essentially
not ready for ruby 1.9.1.

Here's what I did so far:

Removed these plugins: shoulda, thinking-sphinx and installed them as
gems instead.

Changed config/environment.rb so that:
   config.gem 'hpricot', :version=> '0.8.2'

The => was somehow being interpreted as =0.6.164, and the -v0.6.164
hpricot wouldn't build for me.

Modified these two lines at the top of the flickr gem file "/opt/lib/
ruby/gems/1.9.1/gems/rflickr-2006.02.01/lib/flickr/base.rb":

require 'digest/md5'
# no longer needed in 1.9.1 # require 'parsedate'

And now...

:~/lovd/lovdbyless]$ rake --trace lovdbyless:getting_started
(in /home/admin/brentk/lovd/lovdbyless)
** Invoke lovdbyless:getting_started (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke lovdbyless:check (first_time)
** Execute lovdbyless:check
TODO - check that all config ready
** Invoke gems:dependent:install (first_time)
** Execute gems:dependent:install
Updating class cache with 3136 classes...
Updating class cache with 3136 classes...
Updating class cache with 3136 classes...
** Invoke db:create:all (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:load_config
** Execute db:create:all
Couldn't create database for {"adapter"=>"mysql",
"database"=>"lovdbyless_development", "username"=>"rails",
"password"=>"...", "encoding"=>"utf8"}, charset: utf8, collation:
utf8_unicode_ci (if you set the charset manually, make sure you have a
matching collation)
Couldn't create database for {"adapter"=>"mysql",
"database"=>"lovdbyless_test", "username"=>"rails", "password"=>"...",
"encoding"=>"utf8"}, charset: utf8, collation: utf8_unicode_ci (if you
set the charset manually, make sure you have a matching collation)
Couldn't create database for {"adapter"=>"mysql",
"database"=>"lovdbyless_production", "username"=>"rails",
"password"=>"...", "encoding"=>"utf8"}, charset: utf8, collation:
utf8_unicode_ci (if you set the charset manually, make sure you have a
matching collation)
** Invoke mig (first_time)
** Execute mig
rake db:migrate RAILS_ENV="development"
(in /home/admin/brentk/lovd/lovdbyless)
rake aborted!
no such file to load -- md5

(See full trace by running task with --trace)
rake db:test:clone
(in /home/admin/brentk/lovd/lovdbyless)
rake aborted!
no such file to load -- md5

(See full trace by running task with --trace)
(in /home/admin/brentk/lovd/lovdbyless)
rake aborted!
no such file to load -- md5

(See full trace by running task with --trace)
** Execute lovdbyless:getting_started
Finished setting up enviornment and application!
/home/admin/brentk/lovd/lovdbyless/vendor/gems/redgreen-1.2.2/lib/
redgreen.rb:17:in `initialize': wrong number of arguments (3 for 2)
(ArgumentError)
        from /opt/lib/ruby/gems/1.9.1/gems/test-unit-2.0.7/lib/test/
unit/ui/testrunnerutilities.rb:24:in `new'
        from /opt/lib/ruby/gems/1.9.1/gems/test-unit-2.0.7/lib/test/
unit/ui/testrunnerutilities.rb:24:in `run'
        from /opt/lib/ruby/gems/1.9.1/gems/test-unit-2.0.7/lib/test/
unit/autorunner.rb:304:in `run'
        from /opt/lib/ruby/gems/1.9.1/gems/test-unit-2.0.7/lib/test/
unit/autorunner.rb:52:in `run'
        from /opt/lib/ruby/gems/1.9.1/gems/test-unit-2.0.7/lib/test/
unit.rb:321:in `block in <top (required)>'

-- 
You received this message because you are subscribed to the Google
Groups "Lovd by Less" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lovdbyless?hl=en
Who loves ya baby?

To unsubscribe from this group, send email to 
lovdbyless+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to