The only thing I did different from the instructions (I think) is this:
At first I got an error on db:migrate:
--
mail:radiant skanda108$ rake db:migrate
(in /Library/WebServer/stekstad/org.zelfbescherming/cms/radiant)
rake aborted!
RubyGem version error: rack(1.0.0 not ~> 1.0.1)
--
then i changed that requirement to rack 1.1.0 in action_controller.rb
gem 'rack', '~> 1.1.0'
db:migrate then was successful:
--
mail:radiant skanda108$ rake db:migrate
(in /Library/WebServer/stekstad/org.zelfbescherming/cms/radiant)
== AddUserLanguage: migrating ======
==========================================
-- add_column(:users, :language, :string)
-> 0.0056s
== AddUserLanguage: migrated (0.0070s)
=======================================
== RenameDeveloperRoleToDesigner: migrating
==================================
-- rename_column("users", "developer", "designer")
-> 0.0033s
== RenameDeveloperRoleToDesigner: migrated (0.0041s)
=========================
== ChangeUserLanguageToLocale: migrating
=====================================
-- rename_column("users", "language", "locale")
-> 0.0042s
== ChangeUserLanguageToLocale: migrated (0.0059s)
============================
--
I have no idea now how to go about solving this problem. It is a fresh
site, and it does not work 'out of the box'. I would be very grateful
for a hint of how to start.
Jan
Jim Gay scripsit dd. Mon, 12 Apr 2010 16:59:22 -0400 (internet: @916)
>On Mon, Apr 12, 2010 at 4:53 PM, Jan M.J. Storms <[email protected]> wrote:
>> L.S.,
>>
>> I have radiant gem 0.8.1 installed, made a fresh site and then followed
>> the instructions on the download page under the heading "The Bleeding Edge"
>>
>> I see the login page, but after login, I see "Application error
>>
>> Change this error message for exceptions thrown outside of an action
>> (like in Dispatcher setups or broken Ruby code) in public/500.html"
>>
>> I wonder what I am missing or what i did wrong. Could you help me out?
>>
>> the log shows this:
>>
>> --
>>
>> Processing Admin::WelcomeController#index (for 80.61.243.71 at
>> 2010-04-12 22:21:20) [GET]
>> Parameters: {"action"=>"index", "controller"=>"admin/welcome"}
>>
>> NoMethodError (undefined method `locale' for #<User:0x2304574>):
>
>rake db:migrate
>
>--
>Jim Gay
>http://www.saturnflyer.com
>
>http://www.saturnflyer.com/blog/jim/2010/04/02/commenting-in-radiantcms-
>with-a-gem/
>_______________________________________________
>Radiant mailing list
>Post: [email protected]
>Search: http://radiantcms.org/mailing-list/search/
>List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>Radiant: http://radiantcms.org
>Extensions: http://ext.radiantcms.org
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org