Closed phillipsnick closed 9 years ago
Tried installing with
execute "npm install" do cwd "/vagrant" command "npm install" user "vagrant" group "vagrant" end
But according to this post http://serverfault.com/a/556554, the best way which works seems to be
execute "npm install" do command "su vagrant -l -c 'cd /vagrant && npm install'" end
Tried installing with
But according to this post http://serverfault.com/a/556554, the best way which works seems to be