Re: [Radiant] Re(2): error on welcome

2010-04-15 Thread Jim Gay
Will inadvertently introduced a bug in HEAD and is working on it.
See the commit comments here
http://github.com/radiant/radiant/commit/3c38aa8ee71fa93c77d1b2854f19e4d6217cdcc9

On Thu, Apr 15, 2010 at 9:31 AM, Jan M.J. Storms  wrote:
> When I try out the instructions on 
> under 'The Bleeding Edge' I found out that it I have to run:
>
> rake production db:migrate
>
> instead of:
>
> rake db: migrate
>
>
> I am a newbie, so I did not know that rake db:migrate implied the
> development environment :(
>
> when I try the development environment
>
> rake db:migrate fails with:
>
> uninitialized constant StandardTags::WillPaginate
> /Library/WebServer/stekstad/org.zelfbescherming/cms/radiant/vendor/
> radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:
> 440:in `load_missing_constant'
>
> see  for full trace
>
> --
>
> rake production db:migrate fails also, with:
>
> Object is not missing constant StandardTags
>
>
>
> Any help to get the bleeding edge working, would be greatly appreciated.
> I need to start using the i18n stuff...
>
> Jan
>


-- 
Jim Gay
http://www.saturnflyer.com
___
Radiant mailing list
Post: Radiant@radiantcms.org
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


Re: [Radiant] Re(2): error on welcome

2010-04-15 Thread Jan M.J. Storms
When I try out the instructions on 
under 'The Bleeding Edge' I found out that it I have to run:

rake production db:migrate

instead of:

rake db: migrate


I am a newbie, so I did not know that rake db:migrate implied the
development environment :(

when I try the development environment

rake db:migrate fails with:

uninitialized constant StandardTags::WillPaginate
/Library/WebServer/stekstad/org.zelfbescherming/cms/radiant/vendor/
radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:
440:in `load_missing_constant'

see  for full trace

--

rake production db:migrate fails also, with: 

Object is not missing constant StandardTags



Any help to get the bleeding edge working, would be greatly appreciated.
I need to start using the i18n stuff...

Jan

___
Radiant mailing list
Post: Radiant@radiantcms.org
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] Re(2): error on welcome

2010-04-14 Thread Jan M.J. Storms
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  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 #):
>
>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: Radiant@radiantcms.org
>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: Radiant@radiantcms.org
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] Re(2): error on welcome

2010-04-12 Thread Jan M.J. Storms
I did.

john muhl scripsit dd. Mon, 12 Apr 2010 15:58:19 -0500 (internet: @915)

>did you run `rake radiant:update` and `rake db:migrate` after updating
>to the master branch?
>
>On Mon, Apr 12, 2010 at 3:53 PM, Jan M.J. Storms  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 #):
>>  vendor/radiant/app/controllers/application_controller.rb:68:in
>> `set_user_locale'
>>  vendor/radiant/vendor/plugins/haml/rails/./lib/sass/plugin/rails.rb:
>> 19:in `process'
>>  thin (1.2.7) lib/thin/connection.rb:76:in `pre_process'
>>  thin (1.2.7) lib/thin/connection.rb:74:in `catch'
>>  thin (1.2.7) lib/thin/connection.rb:74:in `pre_process'
>>  thin (1.2.7) lib/thin/connection.rb:57:in `process'
>>  thin (1.2.7) lib/thin/connection.rb:42:in `receive_data'
>>  eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'
>>  eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'
>>  thin (1.2.7) lib/thin/backends/base.rb:57:in `start'
>>  thin (1.2.7) lib/thin/server.rb:156:in `start'
>>  thin (1.2.7) lib/thin/controllers/controller.rb:80:in `start'
>>  thin (1.2.7) lib/thin/runner.rb:177:in `send'
>>  thin (1.2.7) lib/thin/runner.rb:177:in `run_command'
>>  thin (1.2.7) lib/thin/runner.rb:143:in `run!'
>>  thin (1.2.7) bin/thin:6
>>  /usr/local/bin/thin:19:in `load'
>>  /usr/local/bin/thin:19
>>
>> --
>>
>> Jan
>>
>> ___
>> Radiant mailing list
>> Post: Radiant@radiantcms.org
>> 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: Radiant@radiantcms.org
>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: Radiant@radiantcms.org
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