mockko / livereload

LiveReload applies CSS/JS changes to Safari or Chrome w/o reloading the page (and autoreloads the page when HTML changes)
http://livereload.com/
1.18k stars 56 forks source link

no such file to load -- rubycocoa (LoadError) #22

Closed scriptfans closed 14 years ago

scriptfans commented 14 years ago

snow leopard 10.6.4 + ruby 1.8.7——

scriptfansmatoMacBook-Pro:untrip html scriptfans$ livereload

Version: 1.4 (compatible with browser extension versions 1.4.x) Port: 35729 Watching: /Users/scriptfans/untrip html

LiveReload is waiting for browser to connect. /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- rubycocoa (LoadError)

How to solve this problem?

NV commented 14 years ago

Do you have RubyCocoa installed?

History repeats itself. XRefresh had a lot of troubles with RubyCocoa http://github.com/darwin/xrefresh/issues#issue/10

andreyvit commented 14 years ago

While this is a duplicate of a duplicate of a duplicate, I'm still marking this as help-wanted. We did 90% of the work needed to get FSEvents working without Ruby Cocoa. C'mon guys, somebody can do the remaining 10% while we're focusing on our startup which we've built LiveReload for in the first place. :)

thibaudgg commented 14 years ago

You can look how I handle FSEvents without RubyCocoa inside RSpactor 0.7 http://github.com/thibaudgg/rspactor

andreyvit commented 14 years ago

@thibaudgg Great, definitely will.

scriptfans commented 14 years ago

@thibaudgg how to do it? I try to: gem install rspactor but livereload still not working:( sorry for my english, I am a chinese,macos newbie.

thibaudgg commented 14 years ago

@scriptfans, At the moment RSpactor only handle changes for RSpec not livereload sorry. RSpactor is here given as an example to how handle system files event without RubyCocoa. Seems more clear for you now?

scriptfans commented 14 years ago

@thibaudgg, understand,thank you very much!

dottedmag commented 14 years ago

I am closing this issue as duplicate to newly created umbrella #24 (get rid of RubyCocoa).