Ask A Question

Notifications

You’re not receiving notifications from this thread.

Deploy Ubuntu 14.04 Trusty Tahr Discussion

Chris Oliver asked in General
Shivraj Deepsagar Shivraj Deepsagar

Hi Chris. I followed your tutorial point to point and implemented 3 times in 2 days. But I don't seem to fix this nginx 403 forbidden error. I changed permissions. I tried many solutions on stack over flow on the same or similar issue. But nothing seems to work. Could anybody please tell me what might be the issue. I ll be attaching my stackflow thread here to follow up. http://stackoverflow.com/qu.... Please help needed.

Reply

Hi, great post ... I have already a ruby on rails webapp on Ubuntu 14.04 in my case I want update my Ubuntu Server version -> Ubuntu 16.04 so for that topic exists somewhere a best practice or somebody want share any advices ...? thank you in advance ...

Reply
Hello,

I followed the tutorial to deploy an application that is already running on another digitalocean server, but when running the application in the log I find the following message:

(RuntimeError)
  /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:66:in `check_rvm_using_wrapper_script'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:46:in `init'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:83:in `init_passenger'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:155:in `<module:App>'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<main>'


Is there any idea that I can review or that I may be doing wrong?

Thank you!!
Reply

Hey there !
I'm trying to deploy on a private server following this tutorial with a rails 5.2 app and somehow when I cap production destroy, i get an error saying

01 SassC::SyntaxError: Error: File to import not found or unreadable: bootstrap/scss/bootstrap.
01 on line 9:1 of app/assets/stylesheets/application.scss
01 >> @import "bootstrap/scss/bootstrap"; // from the node_modules

Looks like it doesn't bundle or like node_modules aren't there ?
From the server machine when i try to bundle or yarn from there, everything seems to be installed already.. where are supposed to be the node_modules on a capistrano deploy ?

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,946+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.