Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
我是中国人 我喜欢这个网站。非常的好
Moderator Edit— Translation: I am Chinese , I like this site . Very good
Nice work.
But since i prefer Apache over Nginx, i found this tutorial very helpful.
In terms of performances though is Nginx better than Apache for this configuration?
I followed along with tutorial however I am getting a 404 not found when I load my ip address in browser?
A question about Step 6:
If I have installed ruby 2.1.3 using RVM, what parameter should I give to “passenger_ruby”?
Hi guys, I have a weird problem. This is my first experience with running my own VPS. I followed this article last week and I got my rails server up and running…mostly(some problems uploading files to S3 with carrierwave+minimagick…but not the topic of this question). This week I created another droplet with more ram/cores because I was running into memory issues with my app. I get to the step where you install Passenger with Nginx and I keep getting “You have held broken packets”.
I have destroyed and rebuilt three different droplets following these instructions to the letter and I get the same error. On the third droplet I just copy and pasted the commands into the terminal to make SURE they were exact. Still the same error. Any ideas would be extremely helpful and appreciated.
For the moment I think ill try the one click unicorn/nginx and try to figure that out.
Thanks, Josh
Thank you so much for this, I was really struggling and this laid out the steps so well.
Thanks for a very good guide. I manage to get everything working except when running i get the Passenger error screen with below:
cannot load such file – bundler/setup (LoadError)
/usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require' /usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require’
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:263:in block in run_load_path_setup_code' /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:366:in running_bundler’
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:261:in run_load_path_setup_code' /usr/share/passenger/helper-scripts/rack-preloader.rb:100:in preload_app’
/usr/share/passenger/helper-scripts/rack-preloader.rb:158:in <module:App>' /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in module:PhusionPassenger’
/usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `<main>’
Error ID 07321e1c
Any ideas?
I am trying to deploy my own rails app.
After following your guide i create a local rails app om my Mac and then i copy it directly to the folder on the server.
I have setup the NGinx conf file as you described with my own settings: server { listen 80 default_server; server_name www.xxxx.com; passenger_enabled on; passenger_app_env development; root /home/rails/xxxx/public; }
My plan is that when i get this to work i will make an snapshot and then try to automate it with Capistrano 3.x
I have discovered that after spending hours on getting the setup to work i would rather spending that time to actually producing something in Rails/Ruby;)