It looks like you don't have the developer tools installed on Ubuntu, it's failing to find them while attempting to build the hpricot binary. To install developer tools:
sudo apt-get install build-essential * *Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Tue, May 12, 2009 at 4:22 PM, Richard Wijdenes < richard.wijde...@gmail.com> wrote: > > Hi all, > > After installing ruby, rubygems, firewatir, which all seems working > fine, i would like to create some datadriven scripts with roo (to > access spreadsheets). > > But when i tried to install roo "sudo gem install roo" i got the > following: > > -------------------------------------------------------------------------------------------- > sudo gem install roo > [sudo] password for yellowbug: > Building native extensions. This could take a while... > ERROR: Error installing roo: > ERROR: Failed to build gem native extension. > > /usr/bin/ruby1.8 extconf.rb install roo > 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/ > hpricot-0.8.1 for inspection. > Results logged to /var/lib/gems/1.8/gems/hpricot-0.8.1/ext/ > hpricot_scan/gem_make.out > > -------------------------------------------------------------------------------------------- > > On this link i found out that installing ruby on Linux has some > issues, not everything is included in the default ruby install. > > > http://blogs.law.harvard.edu/hoanga/2006/10/27/fixing-mkmf-load-error-ruby-in-ubuntu/comment-page-1/ > > So after "sudo apt-get install ruby1.8-dev" roo installed properly. > > But the happy-happy-joy-joy was short, trying the roo examples i've > got the following: > > -------------------------------------------------------------------------------------------- > irb(main):001:0> require 'rubygems' > => true > irb(main):002:0> require 'roo' > LoadError: no such file to load -- net/https > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' > from /var/lib/gems/1.8/gems/GData-0.0.4/lib/gdata/base.rb:2 > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' > from /var/lib/gems/1.8/gems/GData-0.0.4/lib/gdata/spreadsheet.rb:1 > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' > from /var/lib/gems/1.8/gems/roo-1.2.3/lib/roo/google.rb:1 > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' > from /var/lib/gems/1.8/gems/roo-1.2.3/lib/roo.rb:10 > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from (irb):2 > > -------------------------------------------------------------------------------------------- > > Help wanted! > Or does somebody know another trick to access OpenOffice Calc sheets > on Linux? > > Grtz. Richard Wijdenes > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---