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

rake watch - not working on OSX? #2

Closed
jameswyse opened this issue Feb 18, 2012 · 3 comments
Closed

rake watch - not working on OSX? #2

jameswyse opened this issue Feb 18, 2012 · 3 comments

Comments

@jameswyse
Copy link

I've installed all the required gems, including watchr, but rake always asks me for watchr.

James-MBA:newproject james$ rake watch
(in /Users/james/Sites/newproject)
rake aborted!
You need watchr! Install it by running `gem install watchr`
/Users/james/Sites/newproject/Rakefile:31
(See full trace by running task with --trace)

James-MBA:newproject james$ sudo gem install watchr
Successfully installed watchr-0.7
1 gem installed
Installing ri documentation for watchr-0.7...
Installing RDoc documentation for watchr-0.7...

James-MBA:newproject james$ rake watch
(in /Users/james/Sites/newproject)
rake aborted!
You need watchr! Install it by running `gem install watchr`
/Users/james/Sites/newproject/Rakefile:31
(See full trace by running task with --trace)

James-MBA:newproject james$ watchr
Usage: watchr [opts] path/to/script
@jameswyse
Copy link
Author

I've upgraded ruby to the latest version, now I don't get that error. However rake watch doesn't seem to notice any changes, and produces the following notice:

James-MBA:newproject james$ rake watch /Users/james/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/watchr-0.7/lib/watchr.rb:111: Use RbConfig instead of obsolete and deprecated Config.

@tjstein
Copy link

tjstein commented Feb 18, 2012

I get the RbConfig error as well:

➜ ruby -v ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0]

@gabrielmancini
Copy link

same error

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