An error occurred while installing curb (0.8.5)
I found the solution here
sudo apt-get install libcurl3-dev
An error occurred while installing curb (0.8.5), and Bundler cannot continue
Try installing libcurl4-openssl-dev
and then installing again curb (give it a try with sudo
as well if that fails again)
An error occurred while installing curb (0.8.5)
I found the solution here
sudo apt-get install libcurl3-dev
how do i get curb to install on windows?
Windows
Installing a gem which doesn't have "native extensions" is more about the gem
& its dependencies, and less about Windows
.
You mention you've "put the .dll
files in the Windows folder" - this won't solve the problem, as it still doesn't give the gem
that which it needs -- library / "header" files. Like the mysql2
or imagemagick
gems, you need to have a version of the "software" installed on your system, which the gem will then be able to reference upon installation
Although I have installed the curb
gem on Windows 7 before, a recent system upgrade removed it (thus leaving me without any first-hand references for you). However, I can tell you it is possible if you use a tutorial like this
--
libCURL
The bottom line is you need to install & reference the libCURL
library on your PC before attempting to install the gem. This is the trickiest part - you need to find the version of libCURL which has all the correct files, etc for you
You need the MingW32 Binary version of libCURL (curl-7.xx.0-devel-mingw32)
When you download & unzip the binary file, you should have the /include
and /bin
directories with the library (that's how you know if you have the right version):
Once you have this, unzip it to a folder on your system:
--
Gem
This will give you the ability to reference the library files it contains when installing your gem:
gem install curb --version 0.7.18 --platform=ruby -- -- --with-curl-lib="C:/path/to/your/curl-7.xx.0-devel-mingw32/bin" --with-curl-include="C:/path/to/your/curl-7.xx.0-devel-mingw32/include"
Fail to install curb gem in windows7
Try installing mingw and run the command within it, I haven'T worked on windows for a while but it used to fix my gem install problems back then :
http://www.mingw.org/
How to fix 'An error occurred while installing rake (10.5.0), and Bundler cannot continue.' error
The end problem was caused by locking, from mounting using nfs.
If you're having this problem while using vagrant check this answer from another thread.
It fixed the locking errors for me.
Curb v 0.8.5 won't install on Ubuntu 14.04
The problem is likely with checking for Ruby 1.9 Hash... no
(look for this string in your output.) It results in implicit declaration of function ‘RHASH’ and everything failed.
I personally have no problem installing this gem on ruby2.
I would suggest you to re-install ruby2 and that probably should help.
Ruby gem curb wont install on windows 7, even if I use libcurl
I was getting the same lot of linker errors trying to install curb against the latest (at the time of this post) libcurl 7.32.0. Unfortunately, older versions that used to work for me before (e.g. 7.19.4) no longer include x86-mingw packages with the library and headers.
Here you can find a list of packages including libcurl 7.24.0 that can help you build the extensions. The first post also explains how to extract them and set up the environment. I was then able to install curb 0.8.5 with gem install curb -- --with-opt-dir=c:/path/to/libcurl
.
Related Topics
How Does One Match Character or Nothing Using Regular Expression
How to Parse a HTML Table with Nokogiri
Add External Style Sheet in Rails Project
Port in Use When Not Using a Port
Ruby on Rails Active Record Return Value When Create Fails
Ruby JSON.Pretty_Generate ... Is Pretty Unpretty
Made a Mistake Installing Rvm with Sudo. How to Reverse
Install Bundler Using Rvm, Ruby 1.8.7 with Gcc 4.7 on Linux
Alter Rails Params Hash from Rack Middleware
Does Cucumber Do Away with The Need to Write Unit Tests
Ruby Cannot Find SQLite3 Driver on Windows
How to Redirect Back to a Page I'M Currently On
When Installing Gems "Error: Permission Denied Rb_Sysopen" Arch Linux
In Ruby, How to Remove Only 1 Match in an Array Easily
Detecting Linux Distribution/Platform in Ruby
Ruby - Platform Independent Way to Determine Ips of All Network Interfaces