have you tried "ruby script/server" to launch the server?
On Thu, 10 Feb 2005 16:42:35 +0000 (UTC), Matt
<matt-3X08/Hs1HYtg9hUCZPvPmw@public.gmane.org>
wrote:> Just getting started with Rails. Windows XP - I''ve got a fresh
install of Ruby
> 1.8.2, and a fresh install of Rails 0.9.5. Everything appears to be
installed
> correctly. I can run the Rails generator and create a new installation.
However,
> when I try to run Webbrick from dispatch.rb, I get the following error:
>
> -------------------------------------------------------------------
>
> C:\Rails\iridium\public>ruby dispatch.rb -a
> On line #9 of
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.4.0/lib/action_control
> ler/templates/rescues/diagnostics.rhtml
>
> 6:
> 7: <h1>
> 8: <%=h @exception.class.to_s %> in
> 9: <%=h @request.parameters["controller"].capitalize
%>#<%=h @request.para
> meters["action"] %>
> 10: </h1>
> 11: <p><%=h Object.const_defined?(:RAILS_ROOT) ?
@exception.message.gsub(RAI
> LS_ROOT, "") : @exception.message %></p>
> 12:
>
> (erb):9:in `render_template''
> /gems/actionpack-1.4.0/lib/action_view/base.rb:201:in
`render_template''
> /gems/actionpack-1.4.0/lib/action_view/base.rb:176:in
`render_file''
> /gems/actionpack-1.4.0/lib/action_controller/rescue.rb:66:in
`rescue_action_
> locally''
> /gems/actionpack-1.4.0/lib/action_controller/rescue.rb:30:in
`rescue_action''
>
> /gems/actionpack-1.4.0/lib/action_controller/base.rb:274:in
`send''
> /gems/actionpack-1.4.0/lib/action_controller/base.rb:274:in
`process''
> /gems/actionpack-1.4.0/lib/action_controller/rescue.rb:20:in
`process_with_e
> xception''
> /gems/rails-0.9.5/lib/dispatcher.rb:42:in `dispatch''
> dispatch.rb:10: undefined method `capitalize'' for nil:NilClass
(ActionView::
> TemplateError)
>
> C:\Rails\iridium\public>
>
> -------------------------------------------------------------------
>
> Any suggestions on how I can fix this? Thanks.
>
> matt
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>