Hello Rails, I have a problem. I would like to use captcha in one of my project. When I did try to install, this is what I got $ sudo gem install captcha Building native extensions. This could take a while... ERROR: Error installing captcha: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb extconf.rb:1:in `require'': no such file to load -- mkmf (LoadError) from extconf.rb:1 Gem files will remain installed in /var/lib/gems/1.8/gems/ rmagick-2.12.2 for inspection. Results logged to /var/lib/gems/1.8/gems/rmagick-2.12.2/ext/RMagick/ gem_make.out Could any one help me out on this? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Looks like you are missing the tools to build the extensions. If you are on a Debain based distro, try sudo apt-get install build-essential If that doesn''t work, search for guides on installing rails on Debian systems. On Sat, Feb 20, 2010 at 7:39 AM, Karthikeyan <mindaslab-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello Rails, I have a problem. > > I would like to use captcha in one of my project. When I did try to > install, this is what I got > > $ sudo gem install captcha > Building native extensions. This could take a while... > ERROR: Error installing captcha: > ERROR: Failed to build gem native extension. > > /usr/bin/ruby1.8 extconf.rb > extconf.rb:1:in `require'': no such file to load -- mkmf (LoadError) > from extconf.rb:1 > > > Gem files will remain installed in /var/lib/gems/1.8/gems/ > rmagick-2.12.2 for inspection. > Results logged to /var/lib/gems/1.8/gems/rmagick-2.12.2/ext/RMagick/ > gem_make.out > > Could any one help me out on this? > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- Curtis Cooley curtis.cooley-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org home:http://curtiscooley.com blog:http://ponderingobjectorienteddesign.blogspot.com ==============Leadership is a potent combination of strategy and character. But if you must be without one, be without the strategy. -- H. Norman Schwarzkopf -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Got captcha installed. But when I tried ( refering http://rdoc.info/projects/zendesk/captcha ) $rake captcha:generate COUNT=250 It gave the following output rake aborted! Don''t know how to build task ''captcha:generate'' This is looking like rocket science to me. On Feb 20, 8:45 pm, Curtis Cooley <curtis.coo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Looks like you are missing the tools to build the extensions. If you > are on a Debain based distro, try > > sudo apt-get install build-essential > > If that doesn''t work, search for guides on installing rails on Debian systems. > > > > On Sat, Feb 20, 2010 at 7:39 AM, Karthikeyan <mindas...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Hello Rails, I have a problem. > > > I would like to use captcha in one of my project. When I did try to > > install, this is what I got > > > $ sudo gem install captcha > > Building native extensions. This could take a while... > > ERROR: Error installing captcha: > > ERROR: Failed to build gem native extension. > > > /usr/bin/ruby1.8 extconf.rb > > extconf.rb:1:in `require'': no such file to load -- mkmf (LoadError) > > from extconf.rb:1 > > > Gem files will remain installed in /var/lib/gems/1.8/gems/ > > rmagick-2.12.2 for inspection. > > Results logged to /var/lib/gems/1.8/gems/rmagick-2.12.2/ext/RMagick/ > > gem_make.out > > > Could any one help me out on this? > > > -- > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > Curtis Cooley > curtis.coo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > home:http://curtiscooley.com > blog:http://ponderingobjectorienteddesign.blogspot.com > ==============> Leadership is a potent combination of strategy and character. But if > you must be without one, be without the strategy. > -- H. Norman Schwarzkopf-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sat, Feb 20, 2010 at 8:50 AM, Karthikeyan <mindaslab-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Got captcha installed. But when I tried ( refering > http://rdoc.info/projects/zendesk/captcha ) > > $rake captcha:generate COUNT=250 > > It gave the following output > > rake aborted! > Don''t know how to build task ''captcha:generate'' > > This is looking like rocket science to me. >Sorry, can''t help much there. I''m still learning Rails and find that building my own instead of using plugins helps me grok things better. Like rolling my own authentication and authorization. For example, instead of captchas for user validation, I use a simple email challenge. Of course that meant I had to learn ActionMailer, but that''s built in. -- Curtis Cooley curtis.cooley-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org home:http://curtiscooley.com blog:http://ponderingobjectorienteddesign.blogspot.com ==============Leadership is a potent combination of strategy and character. But if you must be without one, be without the strategy. -- H. Norman Schwarzkopf -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Has any one else run into the following problem? On Feb 21, 12:42 am, Curtis Cooley <curtis.coo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sat, Feb 20, 2010 at 8:50 AM,Karthikeyan<mindas...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Got captcha installed. But when I tried ( refering > >http://rdoc.info/projects/zendesk/captcha) > > > $rake captcha:generate COUNT=250 > > > It gave the following output > > > rake aborted! > > Don''t know how to build task ''captcha:generate'' > > > This is looking like rocket science to me. > > Sorry, can''t help much there. I''m still learning Rails and find that > building my own instead of using plugins helps me grok things better. > Like rolling my own authentication and authorization. > > For example, instead of captchas for user validation, I use a simple > email challenge. Of course that meant I had to learn ActionMailer, but > that''s built in. > > -- > Curtis Cooley > curtis.coo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > home:http://curtiscooley.com > blog:http://ponderingobjectorienteddesign.blogspot.com > ==============> Leadership is a potent combination of strategy and character. But if > you must be without one, be without the strategy. > -- H. Norman Schwarzkopf-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
use captcha service: http://captchator.com/ 2010/2/21 Karthikeyan <mindaslab-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> Has any one else run into the following problem? > > On Feb 21, 12:42 am, Curtis Cooley <curtis.coo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > On Sat, Feb 20, 2010 at 8:50 AM,Karthikeyan<mindas...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Got captcha installed. But when I tried ( refering > > >http://rdoc.info/projects/zendesk/captcha) > > > > > $rake captcha:generate COUNT=250 > > > > > It gave the following output > > > > > rake aborted! > > > Don''t know how to build task ''captcha:generate'' > > > > > This is looking like rocket science to me. > > > > Sorry, can''t help much there. I''m still learning Rails and find that > > building my own instead of using plugins helps me grok things better. > > Like rolling my own authentication and authorization. > > > > For example, instead of captchas for user validation, I use a simple > > email challenge. Of course that meant I had to learn ActionMailer, but > > that''s built in. > > > > -- > > Curtis Cooley > > curtis.coo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > home:http://curtiscooley.com > > blog:http://ponderingobjectorienteddesign.blogspot.com > > ==============> > Leadership is a potent combination of strategy and character. But if > > you must be without one, be without the strategy. > > -- H. Norman Schwarzkopf > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- tommy xiao E-mail: xiaods(AT)gmail.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thanks a lot! Thanks to all who have taken pains to answer this question. I found perfect solution in http://www.codeandcoffee.com/2007/06/implementing-a-captcha-with-ruby-on-rails-in-10-minutes-or-less/ . I haven''t tested catchcaptor.com , but it looks impressive. Hope this discussion will be helpful to those who are having trouble with captcha. On Feb 21, 10:53 am, tommy xiao <xia...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> use captcha service:http://captchator.com/ > > 2010/2/21 Karthikeyan <mindas...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > > > > Has any one else run into the following problem? > > > On Feb 21, 12:42 am, Curtis Cooley <curtis.coo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > On Sat, Feb 20, 2010 at 8:50 AM,Karthikeyan<mindas...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Got captcha installed. But when I tried ( refering > > > >http://rdoc.info/projects/zendesk/captcha) > > > > > $rake captcha:generate COUNT=250 > > > > > It gave the following output > > > > > rake aborted! > > > > Don''t know how to build task ''captcha:generate'' > > > > > This is looking like rocket science to me. > > > > Sorry, can''t help much there. I''m still learning Rails and find that > > > building my own instead of using plugins helps me grok things better. > > > Like rolling my own authentication and authorization. > > > > For example, instead of captchas for user validation, I use a simple > > > email challenge. Of course that meant I had to learn ActionMailer, but > > > that''s built in. > > > > -- > > > Curtis Cooley > > > curtis.coo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > > home:http://curtiscooley.com > > > blog:http://ponderingobjectorienteddesign.blogspot.com > > > ==============> > > Leadership is a potent combination of strategy and character. But if > > > you must be without one, be without the strategy. > > > -- H. Norman Schwarzkopf > > > -- > > You received this message because you are subscribed to the Google Groups > > "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to > > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > > . > > For more options, visit this group at > >http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > tommy xiao > E-mail: xiaods(AT)gmail.com-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.