[Ruby] Could not open library 'libcurl'
- 02-28
- 25,085 회
- 0 건
윈도우에서 아래처럼 libcurl 연결을 실패할때
https://curl.haxx.se 에서 libcurl??.dll 을 libcurl.dll 로 이름 변경 후 ruby/bin 에 넣는다.
[code]
rails 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:/path-to-app/config/application.rb:18:in `<top (required)>'
C:/path-to-app/Rakefile:4:in `require'
C:/path-to-app/Rakefile:4:in `<top (required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'
(See full trace by running task with --trace)
[/code]