You’re not receiving notifications from this thread.
Capistrano Rbenv Bundle Failed
I'm following this tutorial on deploying rails app
About to reach the last step but it failed when performing bundle install as screenshot below
Any clue what did I do wrong?
It says "Killed" on the last line which means your server ran out of memory while installing gems. You can just try redeploying and that should help, but you'll keep having this problem until you upgrade to have a bit more RAM.
I used $5 droplet before lol
I changed to $10 droplet it is okay
Another problem though
tmp/restart.txt but passenger didn't restart so It still showed nginx default page
I have added
capistrano-passenger as well
It seems passenger doesn't get loaded at all
ERROR: Phusion Passenger doesn't seem to be running. If you are sure that it is running, then the causes of this problem could be:
- You customized the instance registry directory using Apache's PassengerInstanceRegistryDir option, Nginx's passenger_instance_registry_dir option, or Phusion Passenger Standalone's --instance-registry-dir command line argument. If so, please set the environment variable PASSENGER_INSTANCE_REGISTRY_DIR to that directory and run passenger-status again.
- The instance directory has been removed by an operating system background service. Please set a different instance registry directory using Apache's PassengerInstanceRegistryDir option, Nginx's passenger_instance_registry_dir option, or Phusion Passenger Standalone's --instance-registry-dir command line argument.
Your nginx config is probably not pointing to the right directory or something for the Rails app or you just needed to restart nginx after you changed the config.
Found the problem
I make backup file for
default.example. Turned out it was loaded so my configuration in
default seems like getting overrided.
Thank you for your help Chris 😁👍🏻
Here's my work
Not yet setup the host name
I'm creating screencast about Ruby and Rails and Vim on my native language in hope people will know about Ruby and Rails since in my country, Indonesia, PHP and Laravel are the majority hahaha
This is fantastic, keep hustling on it! :D Having more native screencasts is going to help so much!
Thank you Chris
I released it today, it's now http://idrails.com
Can I use your comment above as some kind of comment / testi like in https://gorails.com/testimonials haha, would be great if you don't mind.
@Chris Oliver hope this finds you. I followed ubuntu 14.04, set up and I have done it several times in the past with no issue and only this time I faced the same issue.
I have checked if my Ngnix is pointing to correct path and even done some solutions mentioned on the nett, such as https://www.pistolfly.com/weblog/en/2016/01/passenger-config-and-passenger-status-result-in-an-error-on-centos7.html & https://stackoverflow.com/questions/46058728/passenger-doesnt-seem-to-be-running-capistrano-rails-apache-ubuntu, but nothing works, hope you can help me out find how to solve this issue.