lib/dashing/app.rb in smashing-1.2.0 vs lib/dashing/app.rb in smashing-1.3.0
- old
+ new
@@ -1,10 +1,11 @@
require 'sinatra'
require 'sprockets'
require 'sinatra/content_for'
require 'rufus/scheduler'
require 'coffee-script'
-require 'sass'
+require 'sass' if RUBY_VERSION < "2.5.0"
+require 'sassc' if RUBY_VERSION >= "2.5.0"
require 'json'
require 'yaml'
require 'thin'
SCHEDULER = Rufus::Scheduler.new