I get the default web page served up by WebBrick on Windows ok but if
I click on Application enviroment
or try to view my html from a controller I get the following error
message in my log.....
Any ideas ?
/!\ FAILSAFE /!\ Wed Aug 26 10:40:18 -0400 2009
Status: 500 Internal Server Error
unknown error
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `initialize''
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `dlopen''
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `dlload''
C:/Ruby/lib/ruby/1.8/dl/import.rb:27:in `each''
C:/Ruby/lib/ruby/1.8/dl/import.rb:27:in `dlload''
C:/Ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.5-x86-mswin32/lib/
sqlite3/driver/dl/api.rb:31
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require''
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/
active_support/dependencies.rb:156:in `require''
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/
active_support/dependencies.rb:521:in `new_constants_in''
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/
active_support/dependencies.rb:156:in `require''
C:/Ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.5-x86-mswin32/lib/
sqlite3/driver/dl/driver.rb:1
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require''
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/
active_support/dependencies.rb:156:in `require''
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/
active_support/dependencies.rb:521:in `new_constants_in''
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/
active_support/dependencies.rb:156:in `require''
C:/Ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.5-x86-mswin32/lib/
sqlite3/database.rb:619:in `load_driver''
C:/Ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.5-x86-mswin32/lib/
sqlite3/database.rb:617:in `each''
C:/Ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.5-x86-mswin32/lib/
sqlite3/database.rb:617:in `load_driver''
C:/Ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.5-x86-mswin32/lib/
sqlite3/database.rb:72:in `initialize''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/sqlite3_adapter.rb:13:in `new''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/sqlite3_adapter.rb:13:in
`sqlite3_connection''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_pool.rb:223:in
`send''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_pool.rb:223:in
`new_connection''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_pool.rb:245:in
`checkout_new_connection''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_pool.rb:188:in
`checkout''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_pool.rb:184:in
`loop''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_pool.rb:184:in
`checkout''
C:/Ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_pool.rb:183:in
`checkout''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_pool.rb:98:in
`connection''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_pool.rb:326:in
`retrieve_connection''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_specification.rb:
123:in `retrieve_connection''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_specification.rb:
115:in `connection''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/query_cache.rb:9:in `cache''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/query_cache.rb:28:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_pool.rb:361:in
`call''
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/head.rb:9:in
`call''
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/
methodoverride.rb:24:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/
action_controller/params_parser.rb:15:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/
action_controller/session/cookie_store.rb:93:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/
action_controller/reloader.rb:29:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/
action_controller/failsafe.rb:26:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in
`call''
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in
`synchronize''
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in
`call''
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/
action_controller/dispatcher.rb:106:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/rails/rack/
static.rb:31:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:46:in
`call''
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in
`each''
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in
`call''
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/rails/rack/
log_tailer.rb:17:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/
content_length.rb:13:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/handler/
webrick.rb:46:in `service''
C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service''
C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run''
C:/Ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread''
C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start''
C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread''
Aldric Giacomoni
2009-Aug-26 18:33 UTC
Re: Help - Status: 500 Internal Server Error unknown error
Do the databases exist? -- Posted via http://www.ruby-forum.com/.
no there is no db defined ...I just installed rails and created a simple rails app but can get app environment from main web page or hit my controller properly On Aug 26, 2:33 pm, Aldric Giacomoni <rails-mailing-l...@andreas- s.net> wrote:> Do the databases exist? > -- > Posted viahttp://www.ruby-forum.com/.
Aldric Giacomoni
2009-Aug-27 12:16 UTC
Re: Help - Status: 500 Internal Server Error unknown error
There is some issue with sqlite3 on your machine. Is the DLL available to Ruby? -- Posted via http://www.ruby-forum.com/.
Colin Law
2009-Aug-27 13:16 UTC
Re: Help - Status: 500 Internal Server Error unknown error
2009/8/26 mgpowers <gmichaelid-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>:> > no there is no db defined ...I just installed rails and created a > simple rails app but > can get app environment from main web page or hit my controller > properlyRails assumes that there will be a database unless you explicitly tell it there is not one. Not sure how. If you look in database.yml you will see that it is expecting a database. The best thing is just to create it and carry on even though you are not using it. Presumably in the real app you will be using one. Colin> > On Aug 26, 2:33 pm, Aldric Giacomoni <rails-mailing-l...@andreas- > s.net> wrote: >> Do the databases exist? >> -- >> Posted viahttp://www.ruby-forum.com/. > > >