I got this msg error when I run middleman init mynewhost
Thanks in advance!
(erb):5:in template': uninitialized constant Middleman::VERSION (NameError) from /usr/local/lib/ruby/1.9.1/erb.rb:838:in
eval’
from /usr/local/lib/ruby/1.9.1/erb.rb:838:in result' from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/actions/fi le_manipulation.rb:116:in
block in template’
from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/actions/cr
eate_file.rb:53:in call' from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/actions/cr eate_file.rb:53:in
render’
from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/actions/cr
eate_file.rb:46:in identical?' from /usr/local/lib/ruby/gems/1.9.1/gems/middleman-core-3.3.0/lib/middle man-core/cli/build.rb:292:in
on_conflict_behavior’
from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/actions/em
pty_directory.rb:113:in invoke_with_conflict_check' from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/actions/cr eate_file.rb:60:in
invoke!’
from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/actions.rb
:94:in action' from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/actions/cr eate_file.rb:25:in
create_file’
from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/actions/fi
le_manipulation.rb:115:in template' from /usr/local/lib/ruby/gems/1.9.1/gems/middleman-core-3.3.0/lib/middle man-core/templates.rb:66:in
generate_bundler!’
from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/command.rb
:27:in run' from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/invocation.rb:126:in
invoke_command’
from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in block in invoke_all' from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in
each’
from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in map' from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in
invoke_all’
from /usr/local/lib/ruby/gems/1.9.1/gems/middleman-core-3.3.0/lib/middleman-core/cli/init.rb:53:in init' from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/command.rb:27:in
run’
from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command' from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor.rb:359:in
dispatch’
from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/base.rb:440:in start' from /usr/local/lib/ruby/gems/1.9.1/gems/middleman-core-3.3.0/lib/middleman-core/cli.rb:77:in
method_missing’
from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/command.rb:29:in run' from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/command.rb:126:in
run’
from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command' from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor.rb:359:in
dispatch’
from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/base.rb:440:in start' from /usr/local/lib/ruby/gems/1.9.1/gems/middleman-core-3.3.0/lib/middleman-core/cli.rb:22:in
start’
from /usr/local/lib/ruby/gems/1.9.1/gems/middleman-core-3.3.0/bin/middleman:18:in <top (required)>' from /usr/local/bin/middleman:23:in
load’
from /usr/local/bin/middleman:23:in `’