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”
=> 200app.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:inlock' 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:incall' 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:incall' 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.get command 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.