redmine安装企业微信和钉钉插件遇到curl类库问题

我开发的这个插件地址如下:
官方注册地址:
http://www.redmine.org/plugins/redmine_work_wechat
代码库:
https://bitbucket.org/39648421/redmine_work_wechat

最近部署和安装全新的开发环境,安装时有一些备忘:
有些系统的环境没有curl底层支持库,比如linux下需要libcurl.so,则在启动服务时抛出异常:

/home/coding/.rvm/gems/ruby-2.2.10/gems/ffi-1.10.0/lib/ffi/library.rb:145:in `block in ffi_lib': Could not open library 'libcurl': libcurl: cannot open shared object file: No such file or directory. (LoadError)
Could not open library 'libcurl.so': libcurl.so: cannot open shared object file: No such file or directory.
Could not open library 'libcurl.so.4': libcurl.so.4: cannot open shared object file: No such file or directory

需要利用apt-get或yum安装一下软件包:
ubuntu下是:
sudo apt-get install libcurl4-openssl-dev

你可能感兴趣的:(Redmine,Ruby,ubuntu)