Run jekyll via bundler
authorTom Hughes <tom@compton.nu>
Sat, 17 Dec 2016 13:17:08 +0000 (13:17 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 17 Dec 2016 13:17:08 +0000 (13:17 +0000)
cookbooks/foundation/recipes/owg.rb

index f71bd1fa72e74e8573f8936bb74748fd6cfa8fdd..bb707aa5384aa76d6c0e9b2a44043fbab1539990 100644 (file)
@@ -23,7 +23,6 @@ include_recipe "git"
 package "ruby"
 package "ruby-dev"
 
-gem_package "jekyll"
 gem_package "bundler"
 
 git "/srv/operations.osmfoundation.org" do
@@ -51,7 +50,7 @@ end
 
 execute "/srv/operations.osmfoundation.org" do
   action :nothing
-  command "jekyll build --trace"
+  command "bundle exec jekyll build --trace"
   cwd "/srv/operations.osmfoundation.org"
   user "nobody"
   group "nogroup"