aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/task/thin.patch
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-03-06 16:43:44 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-03-06 16:43:44 +0100
commit99b0b74ac87c77b5f39e21c65141d8fcc6753ca2 (patch)
tree476753a86702e468c8dc4f6dca677618ec07518d /nixops/modules/task/thin.patch
parent55fd3780b5c40664233cd3f9b8cf280bd530fdd1 (diff)
downloadNix-99b0b74ac87c77b5f39e21c65141d8fcc6753ca2.tar.gz
Nix-99b0b74ac87c77b5f39e21c65141d8fcc6753ca2.tar.zst
Nix-99b0b74ac87c77b5f39e21c65141d8fcc6753ca2.zip
Add taskwarrior-web
Fixes https://git.immae.eu/mantisbt/view.php?id=67
Diffstat (limited to 'nixops/modules/task/thin.patch')
-rw-r--r--nixops/modules/task/thin.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/nixops/modules/task/thin.patch b/nixops/modules/task/thin.patch
new file mode 100644
index 0000000..a7df3e3
--- /dev/null
+++ b/nixops/modules/task/thin.patch
@@ -0,0 +1,23 @@
1diff --git a/Gemfile b/Gemfile
2index 8544e15..9c4279c 100644
3--- a/Gemfile
4+++ b/Gemfile
5@@ -3,6 +3,8 @@ source "http://rubygems.org"
6 # Specify your gem's dependencies in taskwarrior-web.gemspec
7 gemspec
8
9+gem 'thin'
10+
11 group :local do
12 gem 'rb-fsevent', :require => false
13 gem 'growl', :require => false
14diff --git a/config.ru b/config.ru
15index c3050c6..52387d8 100644
16--- a/config.ru
17+++ b/config.ru
18@@ -1,5 +1,4 @@
19 require File.join(File.dirname(__FILE__), 'lib', 'taskwarrior-web')
20
21-disable :run
22 TaskwarriorWeb::App.set({ :environment => :production })
23 run TaskwarriorWeb::App