Thursday, March 01, 2007

LoadError: no such file to load — selenium

LoadError: no such file to load — selenium. This kind of error message can happen if you have installed anything as a gem but you have not specified require "rubygems" as the first statement in your program.

12 comments:

  1. Thanks for this... it saved me a bit of head-scratching!

    ReplyDelete
  2. thanks as well. the silly little selenium example page doesn't have this and I went crazy for a while. kinda dumb on me - oh well. thanks again.

    ReplyDelete
  3. Thanks. I was bugged by this for 15 minutes. :-)

    - yc

    ReplyDelete
  4. Thanks. This was bugging me too.

    ReplyDelete
  5. Props. That had me stumped actually. irb worked, running the .rb in ruby didn't. Solved it nicely. Thanks!

    ReplyDelete
  6. I had to do a gem install selenium-client to get rid of this error. The docs page for installation of selenium on rails >= 2.1 does not mention this

    ReplyDelete
  7. Just wanted to post a polite "thank you" -- I'm learning ruby, and this one had me up late. :-)

    ReplyDelete
  8. Same here, Thanks :)

    ReplyDelete
  9. Thanks a lot...it helped me out:)

    ReplyDelete
  10. You saved me, thanks.

    ReplyDelete
  11. This was useful. Thanks!

    ReplyDelete
  12. Thanks for posting the tip, quick and to the point - oh, and it worked.

    ReplyDelete