Closed johnstephens closed 13 years ago
Thanks, NV. I ran the RubyCocoa installer, but I'm not sure how to switch the active Ruby I'm using without breaking everything.
You can switch to system's ruby before running livereload. Then switch back.
➤ rvm system
➤ which ruby
/usr/bin/ruby
➤ livereload
➤ rvm use default
Using /Users/nv/.rvm/gems/ruby-1.8.7-p302
Thanks again— almost there now. livereload
seems to be tied to my rvm Ruby install-- the command isn't available when I switch; I get command not found
instead.
When I run which ruby
, it says /Users/me/.rvm/bin/ruby
instead of /usr/bin/ruby
.
You have to install livereload again after switch. Different rubies bundled with different sets of gems.
Run rvm system; which ruby
. It should show you /usr/bin/ruby
(at least if you're on OS X 10.6).
rvm use default; which ruby
, however, might show you /Users/me/.rvm/bin/ruby
. It's okay.
I'm on OS 10.5.8. When I run rvm system; which ruby
, it shows me /Users/john/.rvm/bin/ruby
.
I ran gem install livereload
after switching, and got confirmation messages that livereload was installed along with its ri and RDoc stuff. But it still doesn't work-- it throws command not found
error.
When I run gem list
, it shows me the gems available in my rvm ruby environment, none of which are accessible until I run rvm use default
.
I don't know why rvm system
doesn't switch you to the ruby which was used before you installed rvm. Maybe you should ask about it on irc.freenode.net#rvm.
I'm just getting started with livereload, running Ruby 1.8.7-p302, and Rubygems 1.3.7 on Mac OS 10.5.8. When I initially run livereload, I see a whole wodge of output:
I have the Livereload extension installed in Safari, and when I click "Enable Livereload", I see a
Browser Connected
message in the terminal, but nothing happens when I edit a CSS file and save. Since I don't have any successful experience with livereload, I don't know what I'm doing wrong or what debugging info is relevant.