]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Fix path in mastodon
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 29 Mar 2019 04:45:32 +0000 (05:45 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 29 Mar 2019 04:45:32 +0000 (05:45 +0100)
nixops/modules/websites/tools/mastodon/default.nix

index b0ace5681988e95f0c17bb47203484a1b33f9c3b..9f9ea3f06bd8f3b4e222c398373774e0b497cd90 100644 (file)
@@ -71,7 +71,7 @@ in {
       after = [ "network.target" ];
 
       environment.RAILS_ENV = "production";
-      environment.BUNDLE_PATH = "${mastodon.gems}/lib/ruby/gems/2.5.0";
+      environment.BUNDLE_PATH = "${mastodon.gems}/${mastodon.gems.ruby.gemPath}";
       environment.BUNDLE_GEMFILE = "${mastodon.gems.confFiles}/Gemfile";
       environment.SOCKET = mastodon.railsSocket;