相关疑难解决方法(0)

如何解决Windows上的Rails找不到的'libcurl'

这让我很头疼.我正在继续一个从Linux开始的Rails项目,当我在Ruby Mine上运行Puma时我会继续这样做:

Error:[rake --tasks] DL is deprecated, please use Fiddle
rake aborted!
LoadError: Could not open library 'libcurl': The specified module could not be found.
Could not open library 'libcurl.dll': The specified module could not be found.
Could not open library 'libcurl.so.4': The specified module could not be found.
Could not open library 'libcurl.so.4.dll': The specified module could not be found.
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/ffi-1.9.14-x86-mingw32/lib/ffi/library.rb:147:in `block in ffi_lib'
[...]
Run Code Online (Sandbox Code Playgroud)

现在,我尝试了什么?

  • 我按照这个步骤在Windows上成功安装了Puma
  • 我下载curl-7.50.1-win32-mingw并把它放在"C:/ curl"
  • 我将C:/ curl/bin和C:/ curl/include添加到PATH中
  • 我成功安装了curb gem gem …

windows curl ruby-on-rails libcurl rubymine

19
推荐指数
3
解决办法
5254
查看次数

如何在Windows 7 64bit上安装libcurl

安装时出现以下错误:

C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/json_web_token-0.3.2/lib/json_web_token.rb:36: warning: already initialized constant JWT

C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/jwt-1.5.6/lib/jwt/json.rb:4: warning: previous definition of JWT was here rake aborted!

LoadError: Could not open library 'libcurl': The specified module could not be found.

. Could not open library 'libcurl.dll': The specified module could not be found.

. Could not open library 'libcurl.so.4': The specified module could not be found.

. Could not open library 'libcurl.so.4.dll': The specified module could not be found.

D:/data/catarse/config/application.rb:8:in"

D:/data/catarse/Rakefile:4:in"

(See full trace by running task with …

ruby-on-rails libcurl

8
推荐指数
1
解决办法
1741
查看次数

Typhoeus Windows installation

Tried installing Typhoeus on a Windows 7 environment. Gem installs successfully but when trying to run a simple ruby script:: require 'typhoeus'

Typhoeus.get("www.google.com", verbose: true)

I get the following error:: D:/Ruby193/lib/ruby/gems/1.9.1/gems/ffi-1.9.3-x86-mingw32/lib/ffi/library.rb:133:in `block in ffi_lib': Could not open l (LoadError)url': The specified module could not be found. . Could not open library 'libcurl.dll': The specified module could not be found. . Could not open library 'libcurl.so.4': The specified module could not be found.

I tried adding curl.exe and libcurl.dll that I …

ruby windows typhoeus

4
推荐指数
1
解决办法
3211
查看次数

标签 统计

libcurl ×2

ruby-on-rails ×2

windows ×2

curl ×1

ruby ×1

rubymine ×1

typhoeus ×1