installer/unix-like/create_texts.rb in rhoconnect-3.1.0.beta2 vs installer/unix-like/create_texts.rb in rhoconnect-3.1.0
- old
+ new
@@ -559,10 +559,11 @@
puts "Generating rhoconnect application: /opt/nginx/html/rhoapp ..."
Dir.chdir "/opt/nginx/html"
unless File.directory? "/opt/nginx/html/rhoapp"
`#{rho_path}/bin/rhoconnect app rhoapp`
Dir.chdir "rhoapp"
- `#{rho_path}/bin/bundle install --without=test development`
+ log = `#{rho_path}/bin/bundle install --without=test development`
+ raise "Generatiion of rhoconnect application failured:\n#{log}" if $? != 0
Dir.chdir "../"
`chown -R nginx:nginx rhoapp/`
end
end