2011-04-20 60 views
1

安裝的插件,然後跑捆綁安裝,並得到這個...回形針安裝問題與軌道3

bundle install 
Updating git://github.com/thoughtbot/paperclip.git 
fatal: ambiguous argument 'rails3': unknown revision or path not in the working tree. 
Use '--' to separate paths from revisions 
Git error: command `git rev-parse rails3` in directory /Library/Ruby/Gems/1.8/cache/bundler/git/paperclip-61f74de14812cabc026967a2b2c3ca8cbd2eed69 has failed. 
If this error persists you could try removing the cache directory '/Library/Ruby/Gems/1.8/cache/bundler/git/paperclip-61f74de14812cabc026967a2b2c3ca8cbd2eed69' 

回答

3

我假設你的Gemfile指向回形針修訂rails3。這不再是必要的,因爲這個寶石已經被當前版本的Rails所吸引。

+0

BLEH - 我知道這是愚蠢的。謝謝。 – stewart715 2011-04-20 18:26:17

+0

沒問題!有90%的Rails問題總是這樣的。 :) – 2011-04-20 19:23:45