Encountering an issue when trying to deploy my project on Amazon Web Services and accessing the domain.
ActionView::Template::Error (Command 'java -jar /home/ubuntu/.rvm/gems/ruby-2.1.10@silk/gems/yui-compressor-0.12.0/lib/yui/../yuicompressor-2.4.8.jar --type css --charset utf-8 /tmp/yui_compress20190221-3152-1wh64vu' returned non-zero exit status
(in /home/ubuntu/ssc-staging/app/assets/stylesheets/application.css)):
7: %meta{:'http-equiv' => "X-UA-Compatible", :content => "IE=edge,chrome=1"}/
8: %meta{:name => 'viewport', :content => 'width=device-width, initial-scale=1.0'}/
9: = favicon_helper
10: = stylesheet_link_tag 'application', "//ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css"
11: = yield :css
12: = javascript_include_tag 'application'
13: = yield :js
app/views/layouts/application.html.haml:10:in `_app_views_layouts_application_html_haml___4483641441858119908_47087558678120'
The error message above is associated with this page.
https://i.sstatic.net/sJEYK.png
The specific error occurs at line 10, which is a stylesheet link tag to jquery-ui.css. Removing this line allows the project to load without CSS styling. The project runs without issues when tested locally.
No changes have been made to the 'application.html.haml' file. Even after rolling back to previous commits where the project worked flawlessly, the same error persists.
The Ruby web server used is Thin in conjunction with Nginx.