radiant/radiant — Issue #285: rake radiant:update 0.9.1 > 1.0.0rc3 fails
Author: cmyk
Created: 2011-11-05 15:08:02+00:00
State: open

I tried to update a 0.9.1 installation to 1.0.0rc3.
I ran bundle update with no issues but this is giving trouble:

wsPhil:radiant-test cmyk$ rake radiant:update --trace
(in /Users/cmyk/Sites/radiant-test)
** Invoke radiant:update (first_time)
** Execute radiant:update
/Users/cmyk/Sites/radiant-test/Gemfile
* Updating scripts
** Invoke radiant:update:scripts (first_time)
** Execute radiant:update:scripts
install -c -m 0755 /usr/local/lib/ruby/gems/1.8/gems/radiant-1.0.0.rc3/lib/tasks/../generators/instance/templates/instance_generate script/generate
* Updating javascripts
** Invoke radiant:update:javascripts (first_time)
** Execute radiant:update:javascripts
* Updating configs
** Invoke radiant:update:configs (first_time)
** Execute radiant:update:configs
rake aborted!
undefined local variable or method `db' for #
(erb):12
/usr/local/lib/ruby/gems/1.8/gems/radiant-1.0.0.rc3/lib/tasks/framework.rake:171
/usr/local/lib/ruby/gems/1.8/gems/radiant-1.0.0.rc3/lib/tasks/framework.rake:163:in `open'
/usr/local/lib/ruby/gems/1.8/gems/radiant-1.0.0.rc3/lib/tasks/framework.rake:163
/usr/local/lib/ruby/gems/1.8/gems/radiant-1.0.0.rc3/lib/tasks/framework.rake:162:in `each'
/usr/local/lib/ruby/gems/1.8/gems/radiant-1.0.0.rc3/lib/tasks/framework.rake:162
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/usr/local/lib/ruby/gems/1.8/gems/radiant-1.0.0.rc3/lib/tasks/framework.rake:82
/usr/local/lib/ruby/gems/1.8/gems/radiant-1.0.0.rc3/lib/tasks/framework.rake:80:in `each'
/usr/local/lib/ruby/gems/1.8/gems/radiant-1.0.0.rc3/lib/tasks/framework.rake:80
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/local/bin/rake:19:in `load'
/usr/local/bin/rake:19