2010-05-16 62 views
0

我正在嘗試安裝一個ror應用程序,但我不斷收到此錯誤。任何想法可能會導致問題?運行rake數據庫時出錯:創建

/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' 
/home/projects/testproject/lib/tasks/more_tasks.rake:3 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load_without_new_constant_marking' 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load' 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load' 
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/rails.rb:9 
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/rails.rb:9:in `each' 
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/rails.rb:9 
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' 
/home/projects/testproject/Rakefile:10 
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `load' 
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `raw_load_rakefile' 
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2017:in `load_rakefile' 
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' 
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in `load_rakefile' 
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run' 
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' 
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' 
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 
/usr/bin/rake:19:in `load' 
/usr/bin/rake:19 
+0

您應該提供有關您的設置的更多信息:操作系統,數據庫以及您做了什麼以及您想要完成什麼。 – 2010-05-16 00:35:50

+0

您可能想要驗證是否正確安裝了數據庫寶石和軟件。例如> gem -v mysql或> gem -v sqlite等等,這取決於你計劃使用的數據庫軟件。然後是安裝的下屬軟件?例如>哪個mysql或>哪個sqlite3等... – 2010-05-16 00:49:30

+3

它看起來像你的stacktrace的第一行缺少,它應該看起來像'LoadError:沒有這樣的文件加載 - foo'。這真的會幫助我們弄清楚發生了什麼問題。 – BaroqueBobcat 2010-05-16 02:42:47

回答

0

列表您在控制檯寶石版型「寶石列表」,您將獲得與有版本安裝寶石的列表,請在這裏粘貼列表中,這樣的錯誤可能被識別。謝謝

相關問題