Sunday, November 22, 2009

[Rails] Re: after updated to leopard

I tried that and the newapp runs fine....
so then i tried to re-run my old app and i still get that error... the
only difference i see now from before i updated to snow is that rails
is running on this
WEBrick.... which before was called something else, i think morell or
something... eitherway... not sure what this all means to be honest.

[2009-11-22 10:53:06] INFO WEBrick 1.3.1
[2009-11-22 10:53:06] INFO ruby 1.8.7 (2008-08-11) [universal-
darwin10.0]
[2009-11-22 10:53:06] INFO WEBrick::HTTPServer#start: pid=1267
port=3000
/!\ FAILSAFE /!\ Sun Nov 22 10:53:15 -0500 2009
Status: 500 Internal Server Error
uninitialized constant SQLite3::Driver::Native::Driver::API
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/
dependencies.rb:105:in `const_missing'
/Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.2.5/lib/sqlite3/driver/
native/driver.rb:76:in `open'
/Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.2.5/lib/sqlite3/
database.rb:76:in `initialize'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/sqlite3_adapter.rb:13:in `new'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/sqlite3_adapter.rb:13:in `sqlite3_connection'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/abstract/connection_pool.rb:223:in `send'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/abstract/connection_pool.rb:223:in
`new_connection'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/abstract/connection_pool.rb:245:in
`checkout_new_connection'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/abstract/connection_pool.rb:188:in `checkout'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/abstract/connection_pool.rb:184:in `loop'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/abstract/connection_pool.rb:184:in `checkout'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/monitor.rb:242:in `synchronize'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/abstract/connection_pool.rb:183:in `checkout'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/abstract/connection_pool.rb:98:in `connection'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/abstract/connection_pool.rb:326:in
`retrieve_connection'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/abstract/connection_specification.rb:123:in
`retrieve_connection'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/abstract/connection_specification.rb:115:in
`connection'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
query_cache.rb:9:in `cache'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
query_cache.rb:28:in `call'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/abstract/connection_pool.rb:361:in `call'
/Library/Ruby/Gems/1.8/gems/rack-1.0.0/lib/rack/head.rb:9:in
`call'
/Library/Ruby/Gems/1.8/gems/rack-1.0.0/lib/rack/methodoverride.rb:
24:in `call'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
params_parser.rb:15:in `call'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
session/cookie_store.rb:93:in `call'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
failsafe.rb:26:in `call'
/Library/Ruby/Gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in
`call'
/Library/Ruby/Gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in
`synchronize'
/Library/Ruby/Gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in
`call'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
dispatcher.rb:114:in `call'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
reloader.rb:34:in `run'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
dispatcher.rb:108:in `call'
/Users/amin/.gem/ruby/1.8/gems/rails-2.3.4/lib/rails/rack/
static.rb:31:in `call'
/Library/Ruby/Gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:46:in
`call'
/Library/Ruby/Gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in
`each'
/Library/Ruby/Gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in
`call'
/Users/amin/.gem/ruby/1.8/gems/rails-2.3.4/lib/rails/rack/
log_tailer.rb:17:in `call'
/Library/Ruby/Gems/1.8/gems/rack-1.0.0/lib/rack/content_length.rb:
13:in `call'
/Library/Ruby/Gems/1.8/gems/rack-1.0.0/lib/rack/handler/webrick.rb:
46:in `service'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/webrick/httpserver.rb:104:in `service'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/webrick/httpserver.rb:65:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/webrick/server.rb:173:in `start_thread'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/webrick/server.rb:162:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/webrick/server.rb:162:in `start_thread'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/webrick/server.rb:95:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/webrick/server.rb:92:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/webrick/server.rb:92:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/webrick/server.rb:23:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/webrick/server.rb:82:in `start'
/Library/Ruby/Gems/1.8/gems/rack-1.0.0/lib/rack/handler/webrick.rb:
13:in `run'
/Users/amin/.gem/ruby/1.8/gems/rails-2.3.4/lib/commands/server.rb:
111
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3


On Nov 22, 10:24 am, Rick <richard.t.ll...@gmail.com> wrote:
> I would have to wonder about the "address already in use" message.  Is
> there any additional log info?  Did you have another application
> running on localhost:3000?
>
> You could make life easier on yourself and just create a new app for
> testing - "rails newapp ; cd newapp ; script/server".
>
> On Nov 21, 11:53 pm, señor tower <senortow...@gmail.com> wrote:
>
>
>
> > Guys, a Newbie here but I just upgraded my computer to snow leopard
> > and when i tried to run the server for an app that was working fine
> > before the upgrade, i now get this error: "
> > We're sorry, but something went wrong.
>
> > We've been notified about this issue and we'll take a look at it
> > shortly."
> > this is what shows in the terminal, any ideas?
>
> > => Booting WEBrick
> > => Rails 2.3.4 application starting onhttp://0.0.0.0:3000
> > => Call with -d to detach
> > => Ctrl-C to shutdown server
> > [2009-11-21 23:46:36] INFO  WEBrick 1.3.1
> > [2009-11-21 23:46:36] INFO  ruby 1.8.7 (2008-08-11) [universal-
> > darwin10.0]
> > [2009-11-21 23:46:37] WARN  TCPServer Error: Address already in use -
> > bind(2)
> > [2009-11-21 23:46:37] WARN  TCPServer Error: Address already in use -
> > bind(2)
> > Exiting
> > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
> > 1.8/webrick/utils.rb:73:in `initialize': Address already in use - bind
> > (2) (Errno::EADDRINUSE)
> >         from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > ruby/1.8/webrick/utils.rb:73:in `new'
> >         from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > ruby/1.8/webrick/utils.rb:73:in `create_listeners'
> >         from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > ruby/1.8/webrick/utils.rb:70:in `each'
> >         from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > ruby/1.8/webrick/utils.rb:70:in `create_listeners'
> >         from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > ruby/1.8/webrick/server.rb:75:in `listen'
> >         from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > ruby/1.8/webrick/server.rb:63:in `initialize'
> >         from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > ruby/1.8/webrick/httpserver.rb:24:in `initialize'
> >         from /Library/Ruby/Gems/1.8/gems/rack-1.0.0/lib/rack/handler/
> > webrick.rb:9:in `new'
> >         from /Library/Ruby/Gems/1.8/gems/rack-1.0.0/lib/rack/handler/
> > webrick.rb:9:in `run'
> >         from /Users/amin/.gem/ruby/1.8/gems/rails-2.3.4/lib/commands/
> > server.rb:111
> >         from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> > `gem_original_require'
> >         from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> > `require'
> >         from script/server:3
>
> > any help will be great, thanks
> > Tower.

--

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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate