Further Installation Reqs?
jharris opened this issue · comments
I attempted to install via the steps in the Readme.
git...; cd...; rake install
The install failed:
macbook:safariwatir John$ rake install
(in /Users/John/safariwatir)
rake aborted!
no such file to load -- echoe
/Users/John/safariwatir/Rakefile:3
(See full trace by running task with --trace)
I resolved this by installing the dependency 'echoe' through gem and reran rake.
The install failed again, complaining thus:
:safariwatir John$ rake install
(in /Users/John/safariwatir)
Missing manifest. You can build one with 'rake manifest'.
So I ran 'rake manifest':
:safariwatir John$ rake manifest
(in /Users/John/safariwatir)
Cleaning
Building Manifest
- Manifest
- README.rdoc
- Rakefile
- lib/safariwatir.rb
- lib/safariwatir/core_ext.rb
- lib/safariwatir/scripter.rb
- lib/watir/exceptions.rb
- safariwatir_example.rb
and then reran 'rake install'. The gem installed correctly at that point.
also make sure you include a dependency of echoe:
gem install echoe
should be the first step
so the steps:
- sudo gem install echoe
- rake build safariwatir.gemspec
- rake manifest
- rake install
I ran into a small issue myself. I install using gem install safariwatir
After going into IRB I did require 'safariwatir' and got an error saying it couldn't find appscript.
I had to gem install rb-appscript then everything worked fine for me.
My system is OSX 10.5.8 with Safari 4.0.3 and ruby 1.8.6p287
Maybe this gem could install rb-appscript packaged together if it doesn't exist? That would be awesome!