Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Further Installation Reqs? #3

Open
jharris opened this issue Sep 19, 2009 · 2 comments
Open

Further Installation Reqs? #3

jharris opened this issue Sep 19, 2009 · 2 comments

Comments

@jharris
Copy link

jharris commented Sep 19, 2009

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.

@innovia
Copy link

innovia commented Sep 19, 2009

also make sure you include a dependency of echoe:

gem install echoe
should be the first step

so the steps:

  1. sudo gem install echoe
  2. rake build safariwatir.gemspec
  3. rake manifest
  4. rake install

@jwoertink
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants