Created
January 29, 2020 18:49
-
-
Save johnpmitsch/5e7edc201a79adafefc1779d3b05f9ec to your computer and use it in GitHub Desktop.
run focaccia locally with `RACK_ENV=production bundle exec rackup config.ru`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/focaccia/bot.rb b/focaccia/bot.rb | |
index 7ccdf4d..f279cdd 100755 | |
--- a/focaccia/bot.rb | |
+++ b/focaccia/bot.rb | |
@@ -3,7 +3,7 @@ | |
require 'cinch' | |
# load enviroment variables from .env in development | |
-require 'dotenv/load' if ENV['RACK_ENV'] == 'development' | |
+require 'dotenv/load' | |
# require all of plugin dir | |
Dir[File.dirname(__FILE__) + '/plugins/*.rb'].each { |file| require file } | |
diff --git a/focaccia/plugins/review_card.rb b/focaccia/plugins/review_card.rb | |
index eef960b..98282dd 100644 | |
--- a/focaccia/plugins/review_card.rb | |
+++ b/focaccia/plugins/review_card.rb | |
@@ -1,4 +1,5 @@ | |
require_relative '../lib/kanboard_card.rb' | |
+require_relative '../common/common' | |
module Focaccia | |
class ReviewCard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment