If you're running Mephisto 0.7.3, you should use it with
Rails 1.2.3.
Install it with
rake rails:freeze:edge TAG=rel_1-2-3
On Sep 19, 6:07 pm, Jimmy <jimmy.s... gmail.com> wrote:
> Installed 0.7.3, edge 7472, plugin acts_as_list, did
rake
> db:bootstrap, started server, and pointed browser tohttp://localhost:3000/adm
in,
> redirected tohttp://localhost:
3000/account/login, which gave the
> following error:
>
> NoMethodError in Account#login
> Showing app/views/account/login.rhtml where line #2
raised:
> undefined method `[]' for :account:Symbol
> Extracted source (around line #2):
>
> edited file login.rhtml, line 2, to look like:
>
> <% form_tag({:controller=>"account",
:action=>"login"}, { :id =>
> 'login_form' }) do -%>
>
> logged in with admin/test
>
> Now I'm getting:
>
> NoMethodError in AccountController#login
> undefined method `redirect_to_url' for
#<AccountController:0x4ca0518>
>
> in authenticated_system.rb there's the one call to
redirect_to_url
>
> decided to try rails edge 7514
>
> and now the server doesn't even start:
>
> ipt/server
> => Booting Mongrel (use 'script/server webrick' to
force WEBrick)
> => Rails application starting onhttp://0.0.0.0:3000
> => Call with -d to detach
> => Ctrl-C to shutdown server
> ** Starting Mongrel listening at 0.0.0.0:3000
> ** Starting Rails with development environment...
> Exiting
> C:/Documents and
Settings/xxx/Desktop/mephisto-0.7.3/mephisto-0.7.3/
> vendor/r
> ails/railties/lib/commands/servers/mongrel.rb:16:
warning: already
> initialized c
> onstant OPTIONS
> C:/Documents and
Settings/xxx/Desktop/mephisto-0.7.3/mephisto-0.7.3/
> vendor/r
> ails/railties/lib/commands/servers/mongrel.rb:19:
undefined method
> `options' for
> []:Array (NoMethodError)
> from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 32:in `ge
> m_original_require'
> from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 32:in `re
> quire'
> from C:/Documents and
Settings/xxx/Desktop/mephisto-0.7.3/
> mephisto-0
>
.7.3/vendor/rails/activesupport/lib/active_support/dependenc
ies.rb:
> 497:in `requi
> re'
> from C:/Documents and
Settings/xxx/Desktop/mephisto-0.7.3/
> mephisto-0
>
.7.3/vendor/rails/activesupport/lib/active_support/dependenc
ies.rb:
> 342:in `new_c
> onstants_in'
> from C:/Documents and
Settings/xxx/Desktop/mephisto-0.7.3/
> mephisto-0
>
.7.3/vendor/rails/activesupport/lib/active_support/dependenc
ies.rb:
> 497:in `requi
> re'
> from C:/Documents and
Settings/xxx/Desktop/mephisto-0.7.3/
> mephisto-0
> .7.3/vendor/rails/railties/lib/commands/server.rb:39
> from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 27:in `ge
> m_original_require'
> from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 27:in `re
> quire'
> from script/server:3
>
> Seriously.... how do you expect a non-programmer to
fall in love with
> this product?
>
> Jimmy
--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com
To post to this group, send email to MephistoBlog googlegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribe googlegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---
|