开发者

Rails plugin with a different version of rails

I have a rails 3 app, and I want to use a plugin th开发者_运维百科at requires rails_generator, which is no longer available in rails 3. Can I have the plugin run with Rails 2, and my app run with Rails 3?

EDIT: I asked on IRC (#rubyonrails) and the answer is no :(


Rails 3 has a generator. Depending on the rest of the plugin though you might have to make modifications to make it Rails 3 compatible. You can run the generator like this:

rails generate ...
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜