使用rails 3的Paperclip安装问题

时间:2011-04-20 18:15:35

标签: ruby-on-rails ruby ruby-on-rails-3 paperclip

已安装的插件,然后运行bundle install并获取此...

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'

1 个答案:

答案 0 :(得分:3)

我假设您的gemfile将回形针修订版指向rails3。这不再是必要的,因为gem已经赶上了当前版本的Rails。