Unable to upgrade to selenium webdriver with ruby, nmake problem

114 views
Skip to first unread message

Mohit157

unread,
Aug 29, 2011, 9:53:37 AM8/29/11
to selenium-ruby
Hi All,

I have been using selenium-rc from last 2.5 yrs, just trying to
upgrade to selenium 2.0 webdriver. But I am unable to install any gem
into my system:

When i try to run 'gem install selenium-webdriver' I get below error:
C:\>gem install selenium-webdriver
Building native extensions. This could take a while...
ERROR: Error installing selenium-webdriver:
ERROR: Failed to build gem native extension.

c:/ruby/bin/ruby.exe extconf.rb install selenium-webdriver
checking for rb_thread_blocking_region()... no
checking for ruby_thread_has_gvl_p()... no
checking for ruby_native_thread_p()... no
checking for rb_thread_call_with_gvl()... no
creating extconf.h
creating Makefile

nmake 'nmake' is not recognized as an internal or external command,
operable program or batch file.

Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/
ffi-1.0.9 for inspection.
Results logged to c:/ruby/lib/ruby/gems/1.8/gems/ffi-1.0.9/ext/ffi_c/
gem_make.out

I am unable to know what is the problem is, i tried to look into many
blogs but didn't find any usefule information.

I am working on windows XP, ruby 1.8.6.

Thank in advance for your help!!!

Regards
Mohit

Steve Hill

unread,
Aug 30, 2011, 12:57:57 PM8/30/11
to selenium-ruby
Maybe gem itself needs to be updated? "gem --version" should say
1.8.6
--Steve

Pavandeep Puddupakkam

unread,
Sep 8, 2011, 12:33:17 AM9/8/11
to selenium-ruby
Set the CLASSPATH C:\Ruby192\bin – This is done by adding System
Variables

Read the article http://www.seleniumwiki.com/selenium-rc/how-to-install-and-run-selenium-rc-using-ruby-codes/.
This is in Selenium RC but will work for you in web driver too. You
have any issue add a comment.

harsh mutupuri

unread,
Sep 16, 2011, 6:58:02 PM9/16/11
to seleni...@googlegroups.com
Hi Pavan,
 
I need help as i'm new to testing. Can you please provide me the test case for credit card means Credit card number, CVC number, Date.
 
I have a shopping cart website for that i need test case.
 
 
waiting for your response.
 
Thanks
Harsh  


--
You received this message because you are subscribed to the Google Groups "selenium-ruby" group.
To post to this group, send email to seleni...@googlegroups.com
To unsubscribe from this group, send email to selenium-rub...@googlegroups.com
For Selenium-Ruby project, visit http://seleniumhq.org/projects/ruby/
For Selenium related questions like Core, Server, and RC client in other language, please go to http://clearspace.openqa.org/community/selenium

Reply all
Reply to author
Forward
0 new messages