2011-09-11 121 views
1

當我爲創造軌 應用I M收到這個錯誤我鍵入以下命令創建rails應用程序時出錯?

$軌新MYAPP

好所有的文件確實會產生。但我也有一些錯誤。

 run bundle install 
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. 
Gem.source_index called from /usr/lib/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 /usr/lib/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 /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/source.rb:162. 

回答

1

它看起來像你使用一箇舊版本的Bundler,它使用了一些廢棄的方法。嘗試更新捆綁商:

gem update bundler 
0

我沒有在那裏看到任何錯誤,只是一些通知。至少鐵桿傢伙在事情消失之前警告你,事情並非總是如此。

相關問題