Re: [Radiant] Re: 0.6.7 -> 0.6.9 : Rake aborted
John, No need for apologies. Questions like these are always welcome, although sometimes they've been answered in the past. You can search the archives here http://radiantcms.org/mailing-list/ The original 0.6.9 gem had one minor error due a misunderstanding about the ERB documentation and a new gem of the same number was pushed out shortly thereafter. ASmallOrange must have grabbed it in the small window of time when the bug was present in the gem and they should remove the gem and reinstall it, or you may extract the radiant gem and put its contents into vendor/radiant of your application. So the error had nothing to do with you in particular. Basically, the latest change to update your environment can be done simply by editing config/environment.rb to set the config.action_controller.session_store to :cookie_store instead of :active_record_store The 'app_name' error that you see has to do with automatically generating a secret phrase in config.action_controller.session -Jim On Aug 1, 2008, at 10:48 PM, John Laudun wrote: Please forgive what might be a really boneheaded question from a newbie. I'm slowly making my way into Ruby and Rails, and the chance to use Radiant has made that pretty exciting. I'm trying to upgrade my install of Radiant, which I'm running on ASmallOrange. They updated the radiant gem for me -- since it requires sudo, but I keep getting a "rake aborted" error. Running the command with --trace gives me the following: ASO%rake radiant:update --trace (in /home/jlaudun/radiant) ** Invoke radiant:update (first_time) ** Invoke radiant:update:scripts (first_time) ** Execute radiant:update:scripts ** Invoke radiant:update:javascripts (first_time) ** Execute radiant:update:javascripts ** Invoke radiant:update:configs (first_time) ** Execute radiant:update:configs rake aborted! undefined local variable or method `app_name' for main:Object (erb):42 Again, my apologies for the low-level nature of this question. john Jim Gay http://www.saturnflyer.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Re: 0.6.7 -> 0.6.9 : Rake aborted
Please forgive what might be a really boneheaded question from a newbie. I'm slowly making my way into Ruby and Rails, and the chance to use Radiant has made that pretty exciting. I'm trying to upgrade my install of Radiant, which I'm running on ASmallOrange. They updated the radiant gem for me -- since it requires sudo, but I keep getting a "rake aborted" error. Running the command with --trace gives me the following: ASO%rake radiant:update --trace (in /home/jlaudun/radiant) ** Invoke radiant:update (first_time) ** Invoke radiant:update:scripts (first_time) ** Execute radiant:update:scripts ** Invoke radiant:update:javascripts (first_time) ** Execute radiant:update:javascripts ** Invoke radiant:update:configs (first_time) ** Execute radiant:update:configs rake aborted! undefined local variable or method `app_name' for main:Object (erb):42 /usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.9/lib/tasks/ framework.rake:107:in `open' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.9/lib/tasks/ framework.rake:106 /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in `invoke_with_call_chain' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `invoke_with_call_chain' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:518:in `invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `send' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:515:in `invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:507:in `invoke_with_call_chain' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `invoke_with_call_chain' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in `invoke_task' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31 /usr/local/bin/rake:16:in `load' /usr/local/bin/rake:16 Again, my apologies for the low-level nature of this question. john ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant