m. this is not a snow leopard issue, try running "script/console production" and it will work. Because you need to have config.cache_classes set to true in the environment, and development you probably want to that turned off.
/Pontus On May 9, 7:27 pm, mattn <[email protected]> wrote: > I'm just getting started with Rails 2 and I've immediately hit a > problem in the console. This must be well known so perhaps someone > could just tell me the solution. > > mattleopard$ script/console > Loading development environment (Rails 2.3.5)>>app.get"photos" > => 200 > >>app.get"photos" > > ThreadError: thread 0x1003c7368 tried to join itself > from /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/ > action_controller/reloader.rb:31:in `lock' > from /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/ > action_controller/reloader.rb:31:in `run' > from /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/ > action_controller/dispatcher.rb:108:in `call' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lint.rb:47:in `_call' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lint.rb:35:in `call' > from /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/ > action_controller/integration.rb:316:in `process' > from /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/ > action_controller/integration.rb:197:in `get' > from (irb):2 > > > > As you can see, the *second*app.getcommand in the console always > throws this error. This is on Snow Leopard. My gems are all up to > date, but perhaps there's some gem that I need to reinstall > completely? Thx - m. > > -- > 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 > athttp://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.

