Closed jaswinderahuja closed 10 years ago
Please try the following steps:
$ gem install middleman middleman-blog
$ git clone https://github.com/danielbayerlein/middleman-casper.git ~/.middleman/casper
$ bundle exec middleman init blog --template=casper
$ cd blog
$ bundle install
$ bundle exec middleman server
@jaswinderahuja Does it work?
No,after this i am unable to run any of middleman command, it gives error, i guess its because of some ruby file is having problem.
@jaswinderahuja Which version do you use?
$ middleman version
middleman 3.3.6
here is call stack /Users/hadronsolutions/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in'
from /Users/hadronsolutions/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in '
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:inrequire' from /Users/hadronsolutions/.rvm/gems/ruby-2.1.1/gems/middleman-core-3.3.6/bin/middleman:12:in
<top (required)>' from /Users/hadronsolutions/.rvm/gems/ruby-2.1.1/bin/middleman:23:inload' 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