Fix issues with the kosmos-mastodon cookbook #8
@ -151,7 +151,7 @@ application mastodon_path do
|
||||
environment "HOME" => mastodon_path
|
||||
user "mastodon"
|
||||
cwd mastodon_path
|
||||
command "yarn install --pure-lockfile"
|
||||
command "PATH=\"/usr/local/nodejs-binary-#{node['nodejs']['version']}/bin:$PATH\" yarn install --pure-lockfile"
|
||||
end
|
||||
|
||||
rails do
|
||||
@ -168,7 +168,7 @@ application mastodon_path do
|
||||
user "mastodon"
|
||||
group "mastodon"
|
||||
cwd mastodon_path
|
||||
command "PATH=\"/opt/ruby_build/builds/#{ruby_version}/bin:$PATH\" /opt/ruby_build/builds/#{ruby_version}/bin/bundle exec rake assets:precompile"
|
||||
command "PATH=\"/usr/local/nodejs-binary-#{node['nodejs']['version']}/bin:/opt/ruby_build/builds/#{ruby_version}/bin:$PATH\" /opt/ruby_build/builds/#{ruby_version}/bin/bundle exec rake assets:precompile"
|
||||
end
|
||||
|
||||
service "mastodon-web" do
|
||||
|
Loading…
x
Reference in New Issue
Block a user