這裏是堆棧跟蹤,中間人初始化my_project_name不工作,
/Users/hadronsolutions/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb :135:在require': cannot load such file -- middleman-core/cli (LoadError) from /Users/hadronsolutions/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in
rescue in require' from /Users/hadronsolutions/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in require' from /Users/hadronsolutions/.rvm/gems/ruby-2.1.1/gems/middleman-core-3.3.6/bin/middleman:12:in
' from /Users/hadronsolutions/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in /Users/hadronsolutions/.rvm/gems/ruby-2.1.1/bin/middleman:23:in load' from /Users/hadronsolutions/.rvm/gems/ruby-2.1.1/bin/middleman:23:in
' eval' from /Users/hadronsolutions/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in
'
請提供一些更多的信息,當出現這種情況,你有什麼碼? 「不工作」不是有用的信息 – Illidanek 2014-09-25 11:13:55
gem install middleman被安裝並正常工作,即使我使用middleman init命令創建項目,但是當我嘗試使用middleman-blog時,則會出現此錯誤。現在我無法創建簡單的項目 – jaswinderahuja 2014-09-25 11:17:56