Hi, I just did a fresh middleman install and created a fresh site:
# middleman init test_site
Compass not installed: Unable to activate compass-0.12.3, because sass-3.3.2 conflicts with sass (= 3.2.14)
create test_site/Gemfile
run bundle install from "."
Fetching gem metadata from http://rubygems.org/........
Fetching additional metadata from http://rubygems.org/..
Resolving dependencies...
Using i18n (0.6.9)
Using multi_json (1.9.0)
Using activesupport (3.2.17)
Using bundler (1.5.3)
Using chunky_png (1.3.0)
Using coffee-script-source (1.7.0)
Using execjs (1.4.0)
Using coffee-script (2.2.0)
Using fssm (0.2.10)
Using sass (3.2.14)
Using compass (0.12.3)
Using eventmachine (1.0.3)
Using http_parser.rb (0.5.3)
Using em-websocket (0.5.0)
Using ffi (1.9.3)
Using tilt (1.4.1)
Using haml (4.0.5)
Using hike (1.2.3)
Using json (1.8.1)
Using kramdown (1.3.2)
Using rb-fsevent (0.9.4)
Using rb-inotify (0.9.3)
Using rb-kqueue (0.2.2)
Using listen (1.3.1)
Using rack (1.5.2)
Using rack-test (0.6.2)
Using thor (0.18.1)
Using middleman-core (3.2.2)
Using sprockets (2.12.0)
Using sprockets-helpers (1.0.1)
Using sprockets-sass (1.0.3)
Using middleman-sprockets (3.3.1)
Using uglifier (2.4.0)
Using middleman (3.2.2)
Using rack-livereload (0.3.15)
Using middleman-livereload (3.1.1)
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
create test_site/.gitignore
create test_site/config.rb
create test_site/source/index.html.erb
create test_site/source/layouts/layout.erb
create test_site/source/stylesheets
create test_site/source/stylesheets/all.css
create test_site/source/stylesheets/normalize.css
create test_site/source/javascripts
create test_site/source/javascripts/all.js
create test_site/source/images
create test_site/source/images/background.png
create test_site/source/images/middleman.png
# cd test_site
Running bundle exec middleman
and bundle exec middleman build
works fine but starting the console throws an error:
# bundle exec middleman console
/Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/middleman-core-3.2.2/lib/middleman-core/cli/console.rb:35:in `block in console': wrong number of arguments (2 for 0) (ArgumentError)
from /Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/middleman-core-3.2.2/lib/middleman-core/application.rb:180:in `instance_exec'
from /Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/middleman-core-3.2.2/lib/middleman-core/application.rb:180:in `initialize'
from /Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/middleman-core-3.2.2/lib/middleman-core/core_extensions/request.rb:52:in `new'
from /Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/middleman-core-3.2.2/lib/middleman-core/core_extensions/request.rb:52:in `inst'
from /Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/middleman-core-3.2.2/lib/middleman-core/cli/console.rb:30:in `console'
from /Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
from /Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
from /Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
from /Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
from /Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/middleman-core-3.2.2/lib/middleman-core/cli.rb:77:in `method_missing'
from /Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/thor-0.18.1/lib/thor/command.rb:29:in `run'
from /Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/thor-0.18.1/lib/thor/command.rb:128:in `run'
from /Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
from /Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
from /Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
from /Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/middleman-core-3.2.2/lib/middleman-core/cli.rb:22:in `start'
from /Users/elo/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/middleman-core-3.2.2/bin/middleman:18:in `<top (required)>'
from /Users/elo/.rbenv/versions/2.0.0-p247/bin/middleman:23:in `load'
from /Users/elo/.rbenv/versions/2.0.0-p247/bin/middleman:23:in `<main>'
Line 35 of middleman-core/cli/console.rb
is:
logger(opts[:debug] ? 0 : 1, opts[:instrumenting] || false)
Any ideas? Is the conflict between compass and sass mentioned during middleman init
a problem? I’m runnig Ruby 2.0.0-p247 through rbenv on OS X 10.9.2.
Thank you!