you can also take a look at this http://railstutorial.org/book

<http://railstutorial.org/book>as far as you environment being broken that's
hard to tell without more information




On Fri, Aug 13, 2010 at 5:21 AM, neigaard <[email protected]> wrote:

> Well, I am now reading http://guides.rubyonrails.org/getting_started.html
> (also tried Agile Web Development with Rails), but I do not get very
> far. I follow the guide to chapter 4.1, but when I point my browser to
> http://localhost:3000/home/index I get a blank page and the following
> in mongrel.log:
>
> Fri Aug 13 12:20:22 +0200 2010: Error calling Dispatcher.dispatch
> #<NoMethodError: You have a nil object when you didn't expect it!
> You might have expected an instance of Array.
> The error occurred while evaluating nil.split>
> /Users/sneigaard/.gem/ruby/1.8/gems/actionpack-2.3.8/lib/
> action_controller/cgi_process.rb:52:in `dispatch_cgi'
> /Users/sneigaard/.gem/ruby/1.8/gems/actionpack-2.3.8/lib/
> action_controller/dispatcher.rb:101:in `dispatch_cgi'
> /Users/sneigaard/.gem/ruby/1.8/gems/actionpack-2.3.8/lib/
> action_controller/dispatcher.rb:27:in `dispatch'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:
> 76:in `process'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:
> 74:in `synchronize'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:
> 74:in `process'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:159:in
> `process_client'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in
> `each'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in
> `process_client'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in
> `run'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in
> `initialize'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in
> `new'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in
> `run'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in
> `initialize'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in
> `new'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in
> `run'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> configurator.rb:282:in `run'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> configurator.rb:281:in `each'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> configurator.rb:281:in `run'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in
> `run'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> command.rb:212:in `run'
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
> /usr/bin/mongrel_rails:19:in `load'
> /usr/bin/mongrel_rails:19
>
> Any ideas? Is my rails setup broken? I am runing on OS X 10.6.4, is it
> is broken, then how can I uninstall it all and reinstall?
>
> Thank you
> Søren
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to