2012-02-07 34 views

回答

1

annotate命令不在您的路徑中。 gem可能沒有安裝在環境中(並且剛剛在捆綁軟件本地爲您的應用程序安裝)。

嘗試運行bundle exec annotate

如果您將使用寶石進行多個項目,你也可以在你的環境中使用gem install annotate安裝或從GitHub的源安裝:

git clone git://github.com/ctran/annotate_models.git annotate 
cd annotate 
rake build 
sudo gem install pkg/annotate-*.gem