http://localhost:3000/genre初學者的Ruby/MSQL錯誤
我使用即時Rails的,我是有史以來第一次引入腳手架。
所以一切看起來像它做工精細,我做了我自己的RoR頁等,今天來到在今天,當我去到本地主機:3000我收到以下錯誤信息:
糟糕!谷歌瀏覽器無法連接到本地主機:3000
任何建議我應該檢查將不勝感激。到目前爲止,我知道,以確認:
- Windows主機文件連接127.0.0.1到本地主機
我已經更新到這個雜種服務器犯規與新的應用程序,我有正常啓動創建,而不是一個開放的窗口,它只是運行一個腳本,並關閉窗口而不確認它已經開始。
在此先感謝。
這裏是雜種錯誤的詳細信息:
C:\用戶\威爾\桌面\ InstantRails的\ rails_apps \ talewiki> mongrel_rails開始-p 30 **開始雜種在0.0.0.0聽: 3000 **開始使用Rails開發環境... C:/Users/Will/Desktop/instantrails/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0。 2/LIB/active_record/connection_adapters /抽象/ connection_specification.rb:217 :在establish_connection': development database is not configured (ActiveRecord ::AdapterNotSpecified) from C:/Users/Will/Desktop/instantrails/ruby/lib/ruby/gems/1.8/gems/acti verecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specifi cation.rb:208:in
establish_connection」 從C:/Users/Will/Desktop/instantrails/ruby/lib/ruby/gems/1.8/gems/rail 小號-2.0.2/lib/initializer.rb:234:在initialize_database' from C:/Users/Will/Desktop/instantrails/ruby/lib/ruby/gems/1.8/gems/rail s-2.0.2/lib/initializer.rb:94:in
進程' from C:/Users/Will/Desktop/instantrails/ruby/lib/ruby/gems/1.8/gems/rail s-2.0.2/lib/initializer.rb:49:send' from C:/Users/Will/Desktop/instantrails/ruby/lib/ruby/gems/1.8/gems/rail s-2.0.2/lib/initializer.rb:49:in
從C:/ Users/Will/Desktop/instantrails/rails_apps/talewiki/config/envir運行' onment.rb:13 /ruby/lib/ruby/site_ruby/1.8/ruby 寶石/ custom_require.rb:27:在gem_original_require' from C:/Users/Will/Desktop/instantrails/ruby/lib/ruby/site_ruby/1.8/ruby gems/custom_require.rb:27:in
要求' ... 9 ... C:/Users/Will/Desktop/instantrails/ruby/lib/ruby/gems/1.8/gems/mong rel-1.1.2-x86-mswin32/bin/.. /lib/mongrel/command.rb:212:in run' from C:/Users/Will/Desktop/instantrails/ruby/lib/ruby/gems/1.8/gems/mong rel-1.1.2-x86-mswin32/bin/mongrel_rails:281 from C:/Users/Will/Desktop/instantrails/ruby/bin/mongrel_rails:19:in
LO 廣告」 從C:/用戶/威爾/桌面/ InstantRails的/紅寶石/斌/ mongrel_rails:19
您能否與我們分享您的異常日誌? – Snehal 2010-05-26 09:59:06
嗨Snehal, 感謝您的迴應。我有以下日誌: Apache Error Apache Access MySQL錯誤 Instant Rails 我在哪裏可以找到異常日誌? 再次感謝。 – WANNABE 2010-05-26 10:04:42
日誌通常在日誌/開發中。在您的導軌應用程序中登錄 – jigfox 2010-05-28 09:32:06