开发者

installing by_star gem?

Can someone shed light on how to setup by_star gem: https://rubygems.org/gems/by_star?

I ran ruby script/plugin install git://github.com/radar/by_star.git.

开发者_如何学C

However, when I went to call a by_star method in one of my models from console, I got an undefined method error.

Do I need include or require statement? Could I be missing dependent gems? Ruby version issue?


Have you just tried

require 'by_star'

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜