Closed charlesroper closed 13 years ago
Right. I'm not sure what to do about this, though. Do you have any ideas?
I've asked the authors if they'll compile a version against 1.9. If I get no joy there, I'll see what the RubyInstaller guys think.
Thanks a lot.
I've now got it working thanks to the folks on the RubyInstaller group. Adding --platform=ruby forces the binary extensions to compile using the DevKit:
[C:\]gem install win32-changenotify win32-event livereload --platform=ruby
Building native extensions. This could take a while...
Successfully installed win32-api-1.4.6
Successfully installed windows-api-0.4.0
Successfully installed windows-pr-1.0.9
Successfully installed win32-changenotify-0.5.1
Successfully installed win32-ipc-0.5.3
Successfully installed win32-event-0.5.2
Building native extensions. This could take a while...
Successfully installed eventmachine-0.12.10
Successfully installed em-websocket-0.1.3
Successfully installed em-dir-watcher-0.9.4
Successfully installed livereload-1.4
10 gems installed
Here's the thread on the RubyInstaller group:
http://groups.google.com/group/rubyinstaller/browse_thread/thread/d9c226735a54679f
I have updated installation instructions for ruby 1.9 on Win32
I have still the same problem... What version of DevKit are you using (the legacy or the newest one?) Do I have to reinstall some gems maybe?
I'm using the new one - 4.5.0 - found here: http://github.com/oneclick/rubyinstaller/downloads
I don't think there are installation instructions for it yet as it's not been officially released. It's easy enough, though: put it in a path with no spaces, then run ruby dk.rb init
then ruby dk.rb review
and finally ruby dk.rb install
. You'll need to remove the old DevKit from your setup first.
Best place to get further help with the DevKit is the the RubyInstaller group - they're a very friendly and helpful bunch.
I'll try the 4.5.0 - thanks for the instructions!
I've tried to install LiveReload with
gem install eventmachine-win32 win32-changenotify win32-event livereload
and had exactly the same problem as OP. I uninstall all win- and windows- gems. Then I run
gem install win32-changenotify win32-event livereload --platform=ruby
and everything worked well.
I've updated README.
LiveReload does not work on Ruby 1.9.1 on Windows which may confuse some users seeing as 1.9.1 is the top download link on the RubyInstaller site. It's broken because the win32-api gem is compiled against 1.8 and pops-up this error when LR is run:
You then get this error on the command line: