Middleman 2 troubles

73 views
Skip to first unread message

Berislav Lopac

unread,
Sep 6, 2011, 7:58:11 PM9/6/11
to middlem...@googlegroups.com
Ever since our team updated the code to Middleman 2, I've been having trouble and wasn't able to run it.

After much trouble I have completely removed Ruby and reinstalled it and DevKit (on Windows). I did the same on the Ubuntu machine, installing Ruby 1.9.1 (and -dev). Then I reinstalled middleman, and the current result is that gem server shows it nicely, on both machines, but when I try running middleman server I get the following results:

1. On Ubuntu, I simply get "command not found", for some reason.

2. On windows, I get this whatever I run:

C:\Users\Berislav\Dropbox\Business\Clients\Coder Brigade\QuickLine\quick_line>middleman server
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load -- win32/process (LoadError)
from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/middleman-2.0.8/lib/middleman/guard.rb:6:in `<top (required)>'
from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/middleman-livereload-0.2.0/lib/middleman-livereload.rb:1:in `<top (required)>'
from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/middleman-2.0.8/lib/middleman.rb:158:in `block in load_extensions_in_path'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/middleman-2.0.8/lib/middleman.rb:157:in `each'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/middleman-2.0.8/lib/middleman.rb:157:in `load_extensions_in_path'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/middleman-2.0.8/lib/middleman.rb:201:in `<top (required)>'
from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/middleman-2.0.8/bin/middleman:51:in `start_cli!'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/middleman-2.0.8/bin/middleman:47:in `did_locate_middleman_project'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/middleman-2.0.8/bin/middleman:20:in `locate_middleman_root!'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/middleman-2.0.8/bin/middleman:70:in `<top (required)>'
from C:/Ruby192/bin/middleman:19:in `load'
from C:/Ruby192/bin/middleman:19:in `<main>'

I must admit that I'm quite confused now, and I'm especially lost by the fact that Linux refuses to recognize the middleman commands...

Any ideas? Thanks! :)

Reply all
Reply to author
Forward
0 new messages