Thank you very very much Cristina and Jari......... :) I tried - gem update childprocess and it worked. Thanks.
On Thu, Jun 9, 2011 at 7:11 PM, a b <cristina.watir.toro...@gmail.com>wrote: > Or if it is still not working try to uninstall everything, even ruby; > delete the remaining files and perform a fresh installation. > > I have encountered similar errors and that is what i did. > > Cristina > > On Thu, Jun 9, 2011 at 9:25 AM, a b <cristina.watir.toro...@gmail.com>wrote: > >> Hi Amit, >> >> try: >> >> >> browser = Watir::Browser.new :ff >> browser.goto("http://www.gosocially.com/index.php") >> >> >> Cristina >> >> >> On Thu, Jun 9, 2011 at 6:04 AM, Amit Bobade <amit.sr...@gmail.com> wrote: >> >>> Dear All: >>> >>> I want to use watir-webdriver instead of firewatir. I installed >>> watir-webdriver now but when I execute my script I am getting following >>> error. Why it is so? >>> >>> Error: >>> >>> E:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:242:in `activate': can't >>> activate ffi (>= 1.0.7, runtime) for ["selenium-webdriver-0.2.1", >>> "watir-webdriver-0.2.4"], already activated ffi-0.6.3-x86-mingw32 for >>> ["childprocess-0.1.7", "selenium-webdriver-0.2.1", "watir-webdriver-0.2.4"] >>> (Gem::LoadError) >>> from E:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:258:in `activate' >>> from E:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:257:in `each' >>> from E:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:257:in `activate' >>> from E:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:258:in `activate' >>> from E:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:257:in `each' >>> from E:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:257:in `activate' >>> from E:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in >>> `require' >>> from profile_album_pub.rb.rb:11 >>> >>> My Code: >>> >>> require "rubygems" >>> require "watir-webdriver" >>> >>> Watir::Browser.default = "firefox" >>> browser = Watir::Browser.start "http://www.gosocially.com/index.php" >>> >>> Please suggest solution. Thanks in advance. >>> -- >>> Thanks and Regards, >>> Amit >>> >>> -- >>> Before posting, please read http://watir.com/support. In short: search >>> before you ask, be nice. >>> >>> watir-general@googlegroups.com >>> http://groups.google.com/group/watir-general >>> watir-general+unsubscr...@googlegroups.com >>> >> >> > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > watir-general@googlegroups.com > http://groups.google.com/group/watir-general > watir-general+unsubscr...@googlegroups.com > -- Thanks and Regards, Amit -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com