On Nov 17, 9:54 pm, Justin Collum <[email protected]> wrote:
> I've been trying to get a couple of web automation tools going today
> and having a hard time. Seems like everything I try is outdated and
> won't run on my environment. Mechanize seemed like a good one but it
> doesn't want to run:
>
>   require 'rubygems'
>   require 'open-uri'
>   require 'mechanize'
>
>   agent = Mechanize.new
>
> Results in:
>
> D:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require':
> 126: The specified module could not be found.   - D:/Ruby193/lib/ruby/
> gems/1.9.1/gems/unf_ext-0.0.3/lib/unf_ext.so (LoadError)
>         from D:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
> `require'
>         from D:/Ruby193/lib/ruby/gems/1.9.1/gems/unf-0.0.3/lib/unf.rb:4:in
> `<top (required)>'
>
> I've tried a few things to fix this, but I can't get mechanize to see
> the unf_ext gem. Makes me think that it's a bit outdated.

Well the latest (preview) version of mechanise is from only a week ago
so I wouldn't call it unmaintained. It looks like the native extension
in unf_ext didn't compile properly - I'd try installing it again,
paying close attention to any warnings it might throw up (and make
sure you have the required toolchain to build ruby extensions)

Fred
>
> What web automation framework would you recommend?

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to