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

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -