"Middleman Server" Not Work - Middleman, Sass and Slim

Hi!

I am using Middleman 3.3.4, Bootstrap3 Sass and slim.

I have problem when running command “middleman server”. The server not start. I’ve try using “bundle exec middleman server” command too. But it does not solve my problem.

The command work just fine before. But now it does not work anymore.

Can anyone help give me some clue to solve this problem.

$ bundle exec middleman server --verbose
== The Middleman is loading
== Activating: sprockets
== Reading:  Local config
Loaded extensions:
== Extension: sprockets
== Extension: frontmatter
== File Change: .idea/encodings.xml
== File Change: .idea/misc.xml
== File Change: .idea/modules.xml
== File Change: .idea/scopes/scope_settings.xml
== File Change: .idea/Slim-Fahmi.iml
== File Change: .idea/vcs.xml
== File Change: .idea/workspace.xml
== File Change: config.rb
== File Change: source/404.html.erb.slim
== File Change: source/about.html.erb.slim
== File Change: source/assets/fonts/bootstrap/glyphicons-halflings-regular.eot
== File Change: source/assets/fonts/bootstrap/glyphicons-halflings-regular.svg
== File Change: source/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf
== File Change: source/assets/fonts/bootstrap/glyphicons-halflings-regular.woff
== File Change: source/assets/fonts/fa/fontawesome-webfont.eot
== File Change: source/assets/fonts/fa/fontawesome-webfont.svg
== File Change: source/assets/fonts/fa/fontawesome-webfont.ttf
== File Change: source/assets/fonts/fa/fontawesome-webfont.woff
== File Change: source/assets/fonts/fa/FontAwesome.otf
== File Change: source/assets/images/bg02.jpg
== File Change: source/assets/images/bg03.jpg
== File Change: source/assets/javascripts/all.js
== File Change: source/assets/javascripts/bootstrap.js
== File Change: source/assets/javascripts/jquery-1.10.2.js
== File Change: source/assets/javascripts/modernizr-2.6.1.min.js
== File Change: source/assets/stylesheets/all.css
== File Change: source/assets/stylesheets/bootstrap.css.scss
== File Change: source/assets/stylesheets/font-awesome.css
== File Change: source/assets/stylesheets/normalize.css
== File Change: source/assets/stylesheets/style.css.scss
== File Change: source/CNAME
== File Change: source/humans.txt.slim
== File Change: source/index.html.slim
== File Change: source/layouts/404.slim
== File Change: source/layouts/about.slim
== File Change: source/layouts/layout.slim
== File Change: source/layouts/_footer.slim
== File Change: source/layouts/_ga.slim
== File Change: source/layouts/_header.slim
== File Change: source/layouts/_menu.slim
== File Change: source/notes.html.erb.slim
== File Change: source/robots.txt
== File Change: source/works.html.erb.slim
== Rebuilding resource list
[2014-08-13 20:00:32] INFO  WEBrick 1.3.1
[2014-08-13 20:00:32] INFO  ruby 1.9.3 (2013-06-27) [i386-mingw32]

gemfile.lock

GEM
  remote: http://rubygems.org/
  specs:
    activesupport (4.1.4)
      i18n (~> 0.6, >= 0.6.9)
      json (~> 1.7, >= 1.7.7)
      minitest (~> 5.1)
      thread_safe (~> 0.1)
      tzinfo (~> 1.1)
    bootstrap-sass (3.2.0.1)
      sass (~> 3.2)
    celluloid (0.15.2)
      timers (~> 1.1.0)
    chunky_png (1.3.1)
    coffee-script (2.3.0)
      coffee-script-source
      execjs
    coffee-script-source (1.7.1)
    compass (0.12.7)
      chunky_png (~> 1.2)
      fssm (>= 0.2.7)
      sass (~> 3.2.19)
    compass-import-once (1.0.4)
      sass (>= 3.2, < 3.5)
    em-websocket (0.5.1)
      eventmachine (>= 0.12.9)
      http_parser.rb (~> 0.6.0)
    erubis (2.7.0)
    eventmachine (1.0.3-x86-mingw32)
    execjs (2.2.1)
    ffi (1.9.3-x86-mingw32)
    fssm (0.2.10)
    haml (4.0.5)
      tilt
    hike (1.2.3)
    hooks (0.4.0)
      uber (~> 0.0.4)
    http_parser.rb (0.6.0)
    i18n (0.6.11)
    json (1.8.1)
    kramdown (1.4.1)
    listen (2.7.9)
      celluloid (>= 0.15.2)
      rb-fsevent (>= 0.9.3)
      rb-inotify (>= 0.9)
    middleman (3.3.4)
      coffee-script (~> 2.2)
      compass (>= 0.12.4)
      compass-import-once (= 1.0.4)
      execjs (~> 2.0)
      haml (>= 4.0.5)
      kramdown (~> 1.2)
      middleman-core (= 3.3.4)
      middleman-sprockets (>= 3.1.2)
      sass (>= 3.2.17, < 4.0)
      uglifier (~> 2.5)
    middleman-core (3.3.4)
      activesupport (~> 4.1.0)
      bundler (~> 1.1)
      erubis
      hooks (~> 0.3)
      i18n (~> 0.6.9)
      listen (>= 2.7.9, < 3.0)
      padrino-helpers (~> 0.12.1)
      rack (>= 1.4.5, < 2.0)
      rack-test (~> 0.6.2)
      thor (>= 0.15.2, < 2.0)
      tilt (~> 1.4.1, < 2.0)
    middleman-livereload (3.1.1)
      em-websocket (>= 0.2.0)
      middleman-core (>= 3.0.2)
      multi_json (~> 1.0)
      rack-livereload
    middleman-sprockets (3.3.6)
      middleman-core (~> 3.3)
      sprockets (~> 2.12.1)
      sprockets-helpers (~> 1.1.0)
      sprockets-sass (~> 1.2.0)
    minitest (5.4.0)
    multi_json (1.10.1)
    padrino-helpers (0.12.2)
      i18n (~> 0.6, >= 0.6.7)
      padrino-support (= 0.12.2)
      tilt (~> 1.4.1)
    padrino-support (0.12.2)
      activesupport (>= 3.1)
    rack (1.5.2)
    rack-livereload (0.3.15)
      rack
    rack-test (0.6.2)
      rack (>= 1.0)
    rb-fsevent (0.9.4)
    rb-inotify (0.9.5)
      ffi (>= 0.5.0)
    sass (3.2.19)
    slim (2.0.3)
      temple (~> 0.6.6)
      tilt (>= 1.3.3, < 2.1)
    sprockets (2.12.1)
      hike (~> 1.2)
      multi_json (~> 1.0)
      rack (~> 1.0)
      tilt (~> 1.1, != 1.3.0)
    sprockets-helpers (1.1.0)
      sprockets (~> 2.0)
    sprockets-sass (1.2.0)
      sprockets (~> 2.0)
      tilt (~> 1.1)
    temple (0.6.8)
    thor (0.19.1)
    thread_safe (0.3.4)
    tilt (1.4.1)
    timers (1.1.0)
    tzinfo (1.2.2)
      thread_safe (~> 0.1)
    tzinfo-data (1.2014.5)
      tzinfo (>= 1.0.0)
    uber (0.0.8)
    uglifier (2.5.3)
      execjs (>= 0.3.0)
      json (>= 1.8.0)
    wdm (0.1.0)

PLATFORMS
  x86-mingw32

DEPENDENCIES
  bootstrap-sass
  middleman (~> 3.3.4)
  middleman-livereload (~> 3.1.0)
  slim (~> 2.0)
  tzinfo-data
  wdm (~> 0.1.0)

Can you post more of the output after

it’d be helpful to see the error you encounter after

[2014-08-13 20:00:32] INFO ruby 1.9.3 (2013-06-27) [i386-mingw32]

There was no error. It simply end there.

This is all the output after running “middleman server --verbose” command.

$ middleman server --verbose
== The Middleman is loading
== Activating: sprockets
== Reading:  Local config
Loaded extensions:
== Extension: sprockets
== Extension: frontmatter
== File Change: .idea/encodings.xml
== File Change: .idea/misc.xml
== File Change: .idea/modules.xml
== File Change: .idea/scopes/scope_settings.xml
== File Change: .idea/Slim-Fahmi.iml
== File Change: .idea/vcs.xml
== File Change: .idea/workspace.xml
== File Change: config.rb
== File Change: source/404.html.erb.slim
== File Change: source/about.html.erb.slim
== File Change: source/assets/fonts/bootstrap/glyphicons-halflings-regular.eot
== File Change: source/assets/fonts/bootstrap/glyphicons-halflings-regular.svg
== File Change: source/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf
== File Change: source/assets/fonts/bootstrap/glyphicons-halflings-regular.woff
== File Change: source/assets/fonts/fa/fontawesome-webfont.eot
== File Change: source/assets/fonts/fa/fontawesome-webfont.svg
== File Change: source/assets/fonts/fa/fontawesome-webfont.ttf
== File Change: source/assets/fonts/fa/fontawesome-webfont.woff
== File Change: source/assets/fonts/fa/FontAwesome.otf
== File Change: source/assets/images/bg02.jpg
== File Change: source/assets/images/bg03.jpg
== File Change: source/assets/javascripts/all.js
== File Change: source/assets/javascripts/bootstrap.js
== File Change: source/assets/javascripts/jquery-1.10.2.js
== File Change: source/assets/javascripts/modernizr-2.6.1.min.js
== File Change: source/assets/stylesheets/all.css
== File Change: source/assets/stylesheets/bootstrap.css.scss
== File Change: source/assets/stylesheets/font-awesome.css
== File Change: source/assets/stylesheets/normalize.css
== File Change: source/assets/stylesheets/style.css.scss
== File Change: source/CNAME
== File Change: source/humans.txt.slim
== File Change: source/index.html.slim
== File Change: source/layouts/404.slim
== File Change: source/layouts/about.slim
== File Change: source/layouts/layout.slim
== File Change: source/layouts/_footer.slim
== File Change: source/layouts/_ga.slim
== File Change: source/layouts/_header.slim
== File Change: source/layouts/_menu.slim
== File Change: source/notes.html.erb.slim
== File Change: source/robots.txt
== File Change: source/works.html.erb.slim
== Rebuilding resource list
[2014-08-14 22:12:57] INFO  WEBrick 1.3.1
[2014-08-14 22:12:57] INFO  ruby 1.9.3 (2013-06-27) [i386-mingw32]

Sorry, I don’t have any experience with ruby on windows or an environment to replicate the issue

I just find other way around it then.

Right now, I am using wampserver to preview the changes I made. But I need to build my page first.

bundle exec middleman build

will generate the static pages for you to preview with the WAMP server

1 Like

As today 28 August 2014, I update my middleman install. The “middleman server” command seem to work again.

bundle update middleman

:slight_smile:

$ bundle update middleman
Fetching gem metadata from http://rubygems.org/
Fetching additional metadata from http://rubygems.org/
Resolving dependencies…
Using i18n 0.6.11
Using json 1.8.1
Using minitest 5.4.0
Using thread_safe 0.3.4
Using tzinfo 1.2.2
Installing activesupport 4.1.5 (was 4.1.4)
Using addressable 2.3.6
Installing sass 3.4.1 (was 3.2.19)
Using bootstrap-sass 3.2.0.1
Using builder 3.2.2
Using bundler 1.6.5
Using timers 1.1.0
Using celluloid 0.15.2
Using chunky_png 1.3.1
Installing coffee-script-source 1.8.0 (was 1.7.1)
Using execjs 2.2.1
Using coffee-script 2.3.0
Using multi_json 1.10.1
Installing compass-core 1.0.1
Using compass-import-once 1.0.5
Using rb-fsevent 0.9.4
Using ffi 1.9.3
Using rb-inotify 0.9.5
Installing compass 1.0.1 (was 0.12.7)
Using eventmachine 1.0.3
Using http_parser.rb 0.6.0
Using em-websocket 0.5.1
Using erubis 2.7.0
Using tilt 1.4.1
Using haml 4.0.5
Using hike 1.2.3
Using uber 0.0.8
Using hooks 0.4.0
Using kramdown 1.4.1
Using listen 2.7.9
Using padrino-support 0.12.3
Using padrino-helpers 0.12.3
Using rack 1.5.2
Using rack-test 0.6.2
Using thor 0.19.1
Using middleman-core 3.3.5
Using sprockets 2.12.1
Using sprockets-helpers 1.1.0
Using sprockets-sass 1.2.0
Installing middleman-sprockets 3.3.9 (was 3.3.6)
Using uglifier 2.5.3
Using middleman 3.3.5
Using middleman-blog 3.5.3
Using rack-livereload 0.3.15
Using middleman-livereload 3.1.1
Using middleman-search_engine_sitemap 1.1.0
Using temple 0.6.8
Using slim 2.0.3
Using tzinfo-data 1.2014.5
Using wdm 0.1.0
Your bundle is updated!

We are getting the same on two different Windows 7 boxes ;( seems to have gotten worse over last week