Search code examples
ruby-on-rails-3rubygemsbundlebundlerrecaptcha

Problems while trying to install recaptcha gem on Ruby on Rails 3


Im trying to install recaptcha on a Rails3 app (Im using Passenger), this is what I did:

1) gem install recaptcha

2) In Gemfile I wrote:
gem 'recaptcha', "0.3.1", :require => 'recaptcha/rails'

3) In the controller where Im going to use it I wrote:
require 'net/http'

But when I do: bundle install, it says "Killed", and when I try to run the web app, it says:
Could not find gem 'recaptcha (= 0.3.1, runtime)' in any of the gem sources. (Bundler::GemNotFound)

What should I do? thanks in advance!


Solution

  • Solution: I started from scratch and follow this: http://thekindofme.wordpress.com/2010/09/25/recaptcha-with-rails-3-without-plugins/