diff --git a/src/Gemfile b/src/Gemfile index e509673..3c07d3d 100644 --- a/src/Gemfile +++ b/src/Gemfile @@ -9,3 +9,4 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } gem "sinatra" gem "sqlite3" gem "slim" +gem "sassc" diff --git a/src/Gemfile.lock b/src/Gemfile.lock index 1320a27..c3e420f 100644 --- a/src/Gemfile.lock +++ b/src/Gemfile.lock @@ -1,12 +1,15 @@ GEM remote: https://rubygems.org/ specs: + ffi (1.15.5) mustermann (1.1.1) ruby2_keywords (>= 0.0.1) rack (2.2.3) rack-protection (2.1.0) rack ruby2_keywords (0.0.5) + sassc (2.4.0) + ffi (~> 1.9) sinatra (2.1.0) mustermann (>= 1.0) rack (>= 2.2) @@ -23,6 +26,7 @@ PLATFORMS x86_64-linux DEPENDENCIES + sassc sinatra slim sqlite3 diff --git a/src/app.rb b/src/app.rb index 80fdbd4..b560695 100755 --- a/src/app.rb +++ b/src/app.rb @@ -1,6 +1,7 @@ #!/usr/bin/ruby -w require "sinatra" +require "sinatra/reloader" require "slim" require "sqlite3"