I've tried to install two different forks of simple_captcha for Rails
3, each time I get something like this:

$ rails generate simple_captcha
/home/scott/.rvm/gems/ree-1.8.7-2010.02/gems/thor-0.14.5/lib/thor/
actions/create_link.rb:28: uninitialized constant
Thor::Actions::CreateFile (NameError)
        from /home/scott/.rvm/gems/ree-1.8.7-2010.02/gems/thor-0.14.5/lib/
thor/actions.rb:6
        from /home/scott/.rvm/gems/ree-1.8.7-2010.02/gems/thor-0.14.5/lib/
thor/actions.rb:5:in `each'
        from /home/scott/.rvm/gems/ree-1.8.7-2010.02/gems/thor-0.14.5/lib/
thor/actions.rb:5
        from /home/scott/.rvm/gems/ree-1.8.7-2010.02/gems/railties-3.0.3/lib/
rails/generators/base.rb:18
        from /home/scott/.rvm/gems/ree-1.8.7-2010.02/gems/railties-3.0.3/lib/
rails/generators.rb:12
        from /home/scott/.rvm/gems/ree-1.8.7-2010.02/gems/railties-3.0.3/lib/
rails/commands/generate.rb:1
        from /home/scott/.rvm/gems/ree-1.8.7-2010.02/gems/railties-3.0.3/lib/
rails/commands.rb:17
        from script/rails:6:in `require'
        from script/rails:6

The Gemfile contains

gem 'rails', '3.0.3'
gem "nogara-simple_captcha"

and 'bundle install' said

$ bundle install
Fetching source index for http://rubygems.org/
Using rake (0.8.7)
Using RedCloth (4.2.3)
Using aaronh-chronic (0.3.9)
Using aasm (2.2.0)
Using abstract (1.0.0)
Using activesupport (3.0.3)
Using builder (2.1.2)
Using i18n (0.4.2)
Using activemodel (3.0.3)
Using erubis (2.6.6)
Using rack (1.2.1)
Using rack-mount (0.6.13)
Using rack-test (0.5.6)
Using tzinfo (0.3.23)
Using actionpack (3.0.3)
Using mime-types (1.16)
Using polyglot (0.3.1)
Using treetop (1.4.9)
Using mail (2.2.10)
Using actionmailer (3.0.3)
Using active_form (0.0.8)
Using arel (2.0.4)
Using activerecord (3.0.3)
Using activeresource (3.0.3)
Using fastercsv (1.5.3)
Using color (1.4.1)
Using json_pure (1.4.6)
Using rubyforge (2.0.4)
Using hoe (2.7.0)
Using transaction-simple (1.4.0)
Using pdf-writer (1.1.8)
Using ruport (1.6.3)
Using acts_as_reportable (1.1.1)
Using bcrypt-ruby (2.1.2)
Using bundler (1.0.3)
Using cgi_multipart_eof_fix (2.5.0)
Using chronic (0.3.0)
Using columnize (0.3.2)
Using daemons (1.1.0)
Using warden (0.10.7)
Using devise (1.1.3)
Using fastthread (1.0.7)
Using gem_plugin (0.2.3)
Using geokit (1.5.0)
Using haml (3.0.24)
Using linecache (0.43)
Using little-plugger (1.1.2)
Using logging (1.4.3)
Using mailfactory (1.4.0)
Using meta_search (0.9.10)
Using mocha (0.9.9)
Using money (3.1.5)
Using mongrel (1.1.5)
Using mysql (2.8.1)
Using newrelic_rpm (2.13.3)
Installing nogara-simple_captcha (0.1.1)
Using nokogiri (1.4.4)
Using packet (0.1.15)
Using paperclip (2.3.5)
Using thor (0.14.5)       <================ thor
Using railties (3.0.3)
Using rails (3.0.3)
Using rmagick (2.13.1)
Using ruby-debug-base (0.10.4)
Using ruby-debug (0.10.4)
Using rubyzip (0.9.4)
Using ruport-util (0.14.0)
Using tmail (1.2.7.1)
Using webrat (0.7.2)
Using whenever (0.6.2)
Using will_paginate (3.0.pre2)
Using ziya (2.3.0)
Your bundle is complete! It was installed into /home/scott/.rvm/gems/
ree-1.8.7-2010.02

Any ideas?

Thanks,

Scott

-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby

Reply via email to