How to use Livereload integration?

New to middleman, and looking to use Livereload. Note that my OS is Ubuntu 14.04.

I did the following:

middleman init test

bundle install

Using i18n (0.6.9)
Using minitest (4.7.5)
Using multi_json (1.10.1)
Using thread_safe (0.3.3)
Using tzinfo (0.3.39)
Using activesupport (4.0.5)
Using chunky_png (1.3.1)
Using coffee-script-source (1.7.0)
Using execjs (2.0.2)
Using coffee-script (2.2.0)
Using fssm (0.2.10)
Using sass (3.2.19)
Using compass (0.12.6)
Using compass-import-once (1.0.4)
Using eventmachine (1.0.3)
Using http_parser.rb (0.6.0)
Using em-websocket (0.5.1)
Using erubis (2.7.0)
Using ffi (1.9.3)
Using tilt (1.4.1)
Using haml (4.0.5)
Using hike (1.2.3)
Using uber (0.0.6)
Using hooks (0.4.0)
Using json (1.8.1)
Using kramdown (1.3.3)
Using rb-fsevent (0.9.4)
Using rb-inotify (0.9.4)
Using rb-kqueue (0.2.2)
Using listen (1.3.1)
Using bundler (1.5.3)
Using padrino-support (0.12.2)
Using padrino-helpers (0.12.2)
Using rack (1.5.2)
Using rack-test (0.6.2)
Using thor (0.19.1)
Using middleman-core (3.3.2)
Using sprockets (2.12.1)
Using sprockets-helpers (1.1.0)
Using sprockets-sass (1.1.0)
Using middleman-sprockets (3.3.3)
Using uglifier (2.5.0)
Using middleman (3.3.2)
Using rack-livereload (0.3.15)
Using middleman-livereload (3.1.1)

then

added activate :livereload to config.rb

then

bundle exec middleman server

The Middleman is loading
LiveReload is waiting for a browser to connect
The Middleman is standing watch at http://0.0.0.0:4567
Inspect your site configuration at http://0.0.0.0:4567/__middleman/

As i make changes to index.html.erb, I don’t get any livereload refreshes. Is there a step i’m missing here? I’ve used livereload plenty of times before (typically through Grunt).

have it working now. I downgraded my ruby environment to 1.9.3 and livereload now works.

As a similar question, which version of middleman-livereload gem should we use now?

A freshly generated MM 3.3.3 project has it in Gemfile:

gem "middleman", "~>3.3.3"
gem "middleman-livereload", "~> 3.1.0"

and it works for me (with ruby 1.9.3p547). But out of curiosity I fired:

$gem outdated
bigdecimal (1.1.0 < 1.2.5)
hike (1.2.3 < 2.1.3)
io-console (0.3 < 0.4.2)
listen (1.3.1 < 2.7.5)
middleman-livereload (3.1.1 < 3.3.3)
rake (0.9.2.2 < 10.3.2)
rdoc (3.9.5 < 4.1.1)
sass (3.2.19 < 3.3.7)
tilt (1.4.1 < 2.0.1)
tzinfo (1.1.0 < 1.2.0)

Other outdated dependencies are expected, but hm… Middleman 3.3.3, and Livereload plugin 3.3.3 seems like a natural match :smile: Should I change my Gemfile? I tried to look into Github rep but I lack an experience to dig anything there.