{"id":1964,"date":"2013-09-14T20:25:09","date_gmt":"2013-09-15T01:25:09","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=1964"},"modified":"2022-06-03T03:52:19","modified_gmt":"2022-06-03T08:52:19","slug":"how-to-install-ruby-on-rails-with-nginx-and-passenger","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/","title":{"rendered":"How to Install Ruby on Rails with Nginx and Passenger"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/07\/ruby-icon.png\"><img decoding=\"async\" class=\"alignleft size-full wp-image-1965\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/07\/ruby-icon.png\" alt=\"ruby-icon\" width=\"150\" height=\"150\" \/><\/a>Ruby on Rails, or simply Rails, is an open source web application framework built on top of the Ruby programming language. In this article, we will show you how to install Ruby, Ruby on Rails and Nginx with Passenger support\u00a0 on Debian-based distributions (<a title=\"Ubuntu VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu VPS<\/a> and <a title=\"Debian VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Debian VPS<\/a>).<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><!--more--><\/p>\n<p><strong>First install Ruby using RVM<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\">curl -L https:\/\/get.rvm.io | bash -s stable --ruby<\/pre>\n<p>To start using RVM run:<\/p>\n<pre class=\"brush: shell; gutter: false\">source \/usr\/local\/rvm\/scripts\/rvm<\/pre>\n<p>To verify everything is done correctly, use the command &#8220;ruby -v&#8221;.<br \/>\nThe output should be similar to the following:<\/p>\n<pre class=\"brush: shell; gutter: false\"># ruby --version\r\nruby 2.0.0p247 (2013-06-27 revision 41674) [i686-linux]<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Install Rails and Passenger<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\">gem install rails passenger<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Install Nginx with Passenger.<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\">apt-get install libcurl4-openssl-dev\r\nrvmsudo passenger-install-nginx-module<\/pre>\n<p>Select the first option when prompted and press Enter.<br \/>\n(1. This installer will compile and install Nginx with Passenger support.)<\/p>\n<p>If the installation is successful, you will see a message similar to the following:<br \/>\n<em>Nginx with Passenger support was successfully installed.<\/em><\/p>\n<p>Create an init script (\/etc\/init.d\/nginx) with the following content:<\/p>\n<pre class=\"brush: shell; gutter: false\">#! \/bin\/sh\r\n\r\n### BEGIN INIT INFO\r\n# Provides:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 nginx\r\n# Required-Start:\u00a0\u00a0\u00a0 $all\r\n# Required-Stop:\u00a0\u00a0\u00a0\u00a0 $all\r\n# Default-Start:\u00a0\u00a0\u00a0\u00a0 2 3 4 5\r\n# Default-Stop:\u00a0\u00a0\u00a0\u00a0\u00a0 0 1 6\r\n# Short-Description: starts the nginx web server\r\n# Description:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 starts nginx using start-stop-daemon\r\n### END INIT INFO\r\n\r\nPATH=\/opt\/nginx\/sbin:\/sbin:\/bin:\/usr\/sbin:\/usr\/bin\r\nDAEMON=\/opt\/nginx\/sbin\/nginx\r\nNAME=nginx\r\nDESC=nginx\r\n\r\ntest -x $DAEMON || exit 0\r\n\r\nset -e\r\n\r\ncase \"$1\" in\r\n\u00a0 start)\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 echo -n \"Starting $DESC: \"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 start-stop-daemon --start --quiet --pidfile \/opt\/nginx\/logs\/$NAME.pid \\\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 --exec $DAEMON -- $DAEMON_OPTS\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 echo \"$NAME.\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ;;\r\n\u00a0 stop)\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 echo -n \"Stopping $DESC: \"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 start-stop-daemon --stop --quiet --pidfile \/opt\/nginx\/logs\/$NAME.pid \\\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 --exec $DAEMON\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 echo \"$NAME.\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ;;\r\n\u00a0 restart|force-reload)\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 echo -n \"Restarting $DESC: \"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 start-stop-daemon --stop --quiet --pidfile \\\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/opt\/nginx\/logs\/$NAME.pid --exec $DAEMON\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 sleep 1\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 start-stop-daemon --start --quiet --pidfile \\\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/opt\/nginx\/logs\/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 echo \"$NAME.\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ;;\r\nreload)\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 echo -n \"Reloading $DESC configuration: \"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 start-stop-daemon --stop --signal HUP --quiet --pidfile \/opt\/nginx\/logs\/$NAME.pid \\\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 --exec $DAEMON\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 echo \"$NAME.\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ;;\r\n*)\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 N=\/etc\/init.d\/$NAME\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 echo \"Usage: $N {start|stop|restart|reload|force-reload}\" &gt;&amp;2\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 exit 1\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ;;\r\nesac\r\n\r\nexit 0<\/pre>\n<p>To start the Nginx service run:<\/p>\n<pre class=\"brush: shell; gutter: false\">chmod a+x \/etc\/init.d\/nginx\r\nservice nginx start\r\nupdate-rc.d nginx defaults<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Install MySQL\/MariaDB and Postgresql Support<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\">apt-get install libmysqld-dev # or libmariadbd-dev\r\napt-get install libpq-dev\r\ngem install mysql2 pq<\/pre>\n<p>Of course you don\u2019t have to do any of this if you use one of our <a title=\"Linux VPS\" href=\"https:\/\/www.rosehosting.com\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS<\/a> services, in which case you can simply ask our expert linux admins to install this for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS.<\/strong><\/span> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ruby on Rails, or simply Rails, is an open source web application framework built on top of the Ruby programming &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Ruby on Rails with Nginx and Passenger\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/#more-1964\" aria-label=\"Read more about How to Install Ruby on Rails with Nginx and Passenger\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":1965,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,1712,1707],"tags":[175,177,49,263,140,1152,139,141],"class_list":["post-1964","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-web-frameworks","category-web-servers","tag-framework","tag-linux-vps","tag-nginx","tag-passenger","tag-rails","tag-rosehosting","tag-ruby","tag-ruby-on-rails","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.7 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Ruby on Rails with Nginx and Passenger | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to Install Ruby on Rails with Nginx and Passenger | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Ruby on Rails with Nginx and Passenger\" \/>\n<meta property=\"og:description\" content=\"How to Install Ruby on Rails with Nginx and Passenger | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2013-09-15T01:25:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:52:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/07\/ruby-icon.png\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ruby-on-rails-with-nginx-and-passenger\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ruby-on-rails-with-nginx-and-passenger\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Ruby on Rails with Nginx and Passenger\",\"datePublished\":\"2013-09-15T01:25:09+00:00\",\"dateModified\":\"2022-06-03T08:52:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ruby-on-rails-with-nginx-and-passenger\\\/\"},\"wordCount\":240,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ruby-on-rails-with-nginx-and-passenger\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/07\\\/ruby-icon.png\",\"keywords\":[\"framework\",\"linux vps\",\"nginx\",\"Passenger\",\"rails\",\"rosehosting\",\"ruby\",\"ruby on rails\"],\"articleSection\":[\"Tutorials\",\"Web Frameworks\",\"Web Servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ruby-on-rails-with-nginx-and-passenger\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ruby-on-rails-with-nginx-and-passenger\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ruby-on-rails-with-nginx-and-passenger\\\/\",\"name\":\"How to Install Ruby on Rails with Nginx and Passenger | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ruby-on-rails-with-nginx-and-passenger\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ruby-on-rails-with-nginx-and-passenger\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/07\\\/ruby-icon.png\",\"datePublished\":\"2013-09-15T01:25:09+00:00\",\"dateModified\":\"2022-06-03T08:52:19+00:00\",\"description\":\"How to Install Ruby on Rails with Nginx and Passenger | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ruby-on-rails-with-nginx-and-passenger\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ruby-on-rails-with-nginx-and-passenger\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ruby-on-rails-with-nginx-and-passenger\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/07\\\/ruby-icon.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/07\\\/ruby-icon.png\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ruby-on-rails-with-nginx-and-passenger\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Ruby on Rails with Nginx and Passenger\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Ruby on Rails with Nginx and Passenger | RoseHosting","description":"How to Install Ruby on Rails with Nginx and Passenger | RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Ruby on Rails with Nginx and Passenger","og_description":"How to Install Ruby on Rails with Nginx and Passenger | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2013-09-15T01:25:09+00:00","article_modified_time":"2022-06-03T08:52:19+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/07\/ruby-icon.png","type":"image\/png"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Ruby on Rails with Nginx and Passenger","datePublished":"2013-09-15T01:25:09+00:00","dateModified":"2022-06-03T08:52:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/"},"wordCount":240,"commentCount":1,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/07\/ruby-icon.png","keywords":["framework","linux vps","nginx","Passenger","rails","rosehosting","ruby","ruby on rails"],"articleSection":["Tutorials","Web Frameworks","Web Servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/","name":"How to Install Ruby on Rails with Nginx and Passenger | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/07\/ruby-icon.png","datePublished":"2013-09-15T01:25:09+00:00","dateModified":"2022-06-03T08:52:19+00:00","description":"How to Install Ruby on Rails with Nginx and Passenger | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/07\/ruby-icon.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/07\/ruby-icon.png","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ruby-on-rails-with-nginx-and-passenger\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Ruby on Rails with Nginx and Passenger"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/1964","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=1964"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/1964\/revisions"}],"predecessor-version":[{"id":42289,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/1964\/revisions\/42289"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/1965"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=1964"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=1964"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=1964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}