How to configure guard-slim for non-ruby projects? -
i created new project , added gemfile, including following:
source 'https://rubygems.org' gem 'slim' gem 'sass' gem "guard-slim" gem 'guard-sass' then, after running bundle install , guard init, guardfile generated.
inside guardfile have following code:
guard "slim", :input_root => "slim", :output_root => "." watch(%r{^templates/.+(\.slim)$}) end guard 'sass', :input => 'sass', :output => 'css' if remove slim part, sass compiled no problems. keep getting error when trying run guard, says:
could not load class: "slim" after trying several times, removed slim altogether , tryed using haml instead, , worked well. use slim project, how work? ideas?
Comments
Post a Comment