剛開始ROR Lynda教程,嘗試在終端中執行導軌服務器時出錯。剛剛開始ROR Lynda教程,嘗試執行導軌服務器時出錯
ROR新手。緊隨教程並安裝了所有必要的寶石和文件。創建一個簡單的CMS。不過,我堅持以下錯誤。
$ rails server
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/shared_helpers.rb:3.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/source.rb:162.
NOTE: Gem::SourceIndex#each is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#each called from /Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/source.rb:162.
Could not find gem 'mysql2 (~> 0.2.6)' in any of the gem sources listed in your Gemfile.
我已經安裝了MySQL服務器版本5.5.13。我有Rails版本3.我已經安裝了MySQL(0.3.2)gem文件。任何幫助,將不勝感激。由於
謝謝。像魅力一樣工作 – 2011-06-14 15:29:42
太棒了,不要忘記標記答案已被接受。 – 2011-06-14 15:37:45