简体   繁体   English

Ruby Rails Gems问题

[英]Ruby Rails Gems question

I'm trying to install a Jabber Client called PSI on Linux Redmine installation. 我正在尝试在Linux Redmine安装上安装名为PSI的Jabber客户端。

So, I have done the following: 因此,我做了以下工作:

$ gem install xmpp4r

$ cd {REDMINE_ROOT}
$ git clone git://github.com/mszczytowski/redmine_messenger.git vendor/plugins/redmine_messenger

$ vim config/messenger.yml  #( <- Haven't set this up yet.)

$ rake db:migrate_plugins

When I do the rake it tells me: 当我做耙子时,它告诉我:

-bash-3.2$ rake db:migrate_plugins
(in /home/username/redmine)
rake aborted!
no such file to load -- xmpp4r

The gems seem to install properly and everything. 这些宝石似乎可以正确安装,并且一切正常。 Just not sure why it's not working. 只是不确定为什么它不起作用。

也许您必须在config/environment.rb提到它:

config.gem "xmpp4r"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM