However, I can't get the gem installed on Hostingrails. I followed the Freeze your Gems instructions and got this error:
[~]# mkdir .gems
[~]# gem install curb -i ~/.gems
Bulk updating Gem source index for: http://gems.rubyforge.org
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install curb -i /home/my_account/.gems
checking for main() in -lcurl... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby
--with-curl-dir
--without-curl-dir
--with-curl-include
--without-curl-include=${curl-dir}/include
--with-curl-lib
--without-curl-lib=${curl-dir}/lib
--with-curllib
--without-curllib
Gem files will remain installed in /home/my_account/.gems/gems/curb-0.1.2 for inspection.
Results logged to /home/my_account/.gems/gems/curb-0.1.2/ext/gem_make.out
I did a simple curl from the command line and it worked. Any ideas why it won't install?