当前位置: 动力学知识库 > 问答 > 编程问答 >

Installing HoboFields Pre-Release for Rails 3

问题描述:

I'm trying to install the latest pre-release version of HoboFields, which supports Rails 3 (RubyGems doesn't have the latest code). I've followed the steps on the relevant Hobo blog post, but when I execute rake install, I get the following error:

rake aborted!

Don't know how to build task 'install'

Can anyone help me with this? How can I successfully install the latest pre-release version of HoboFields so that it will work with Rails 3?

Note: I'm trying to use HoboFields, not Hobo. The latter I've installed successfully, but I'd like to use just HoboFields.

网友答案:

You can install the latest pre-release version of HoboFields by using the --pre option:

sudo gem install hobo_fields --pre 

A more detailed discussion showing how this problem was solved can be found here.

分享给朋友:
您可能感兴趣的文章:
随机阅读: