{"id":5055,"date":"2013-01-16T06:56:48","date_gmt":"2013-01-16T11:56:48","guid":{"rendered":"http:\/\/g33kinfo.com\/info\/?p=5055"},"modified":"2013-01-16T06:56:48","modified_gmt":"2013-01-16T11:56:48","slug":"update-ruby-on-rails","status":"publish","type":"post","link":"https:\/\/g33kinfo.com\/info\/update-ruby-on-rails\/","title":{"rendered":"Update Ruby On Rails"},"content":{"rendered":"<p><strong>Update Ruby On Rails<\/strong><br \/>\nRuby on Rails has recently released patches for a critical security vulnerability affecting nearly all versions of Rails. It is critical that your Rails applications be updated to one of the following versions:<br \/>\n 3.2.11<br \/>\n 3.1.10<br \/>\n 3.0.10<br \/>\n 2.3.15<br \/>\nIf you have a cPanel server, make sure you have cPanel\u2019s daily updates running. cPanel versions<br \/>\n 11.35.0.4<br \/>\n 11.34.1.7<br \/>\n 11.32.5.18<br \/>\n 11.30.7.6<br \/>\ninclude the updated versions of Rails. <\/p>\n<p><!--more--><\/p>\n<p><strong>Updating With Bundler<\/strong><br \/>\nIf you\u2019ve installed Rails using bundler and rubygems, make sure you have the latest version in your Gemfile:<br \/>\n<code># rails '3.2.11'<\/code><br \/>\nThen run:<br \/>\n<code># bundle update rails<\/code><br \/>\nYou will have to restart your application for the new Rails version to take effect.<br \/>\n&nbsp;<\/p>\n<p><strong>Updating with Just Rubygems<\/strong><br \/>\nIf you are not using bundler, you can simply use rubygems to update rails:<br \/>\n<code># gem update rails<\/code><br \/>\nNote that this will update Rails to the most recent version. If you wish to run one of the other patched versions, you will need to specify it like so:<br \/>\n<code># gem install rails -v 2.3.15<\/code><br \/>\nYour rails applications will need to be restarted in order for the updates to take effect.<br \/>\n&nbsp;&nbsp;<\/p>\n<p><strong>Errors<\/strong><br \/>\nIf after updating you get the error message:<br \/>\n<code><br \/>\n[root@host] ~ >> rails -v<br \/>\nInvalid gemspec in [\/usr\/lib\/ruby\/gems\/1.8\/specifications\/mail-2.4.4.gemspec]: invalid date format in specification: \"2012-03-14 00:00:00.000000000Z\"<br \/>\nInvalid gemspec in [\/usr\/lib\/ruby\/gems\/1.8\/specifications\/tilt-1.3.3.gemspec]: invalid date format in specification: \"2011-08-25 00:00:00.000000000Z\"<br \/>\nRails 3.2.11<\/code><\/p>\n<p>run<br \/>\n<code>sed -i 's\/ 00:00:00.000000000Z\/\/' \/usr\/lib\/ruby\/gems\/1.8\/specifications\/*<\/code><br \/>\nDue to gemspecs having different date formats which may not validate correctly, you may see the above error. Gem may think that tilt or mail is not installed yet.<br \/>\n<code>[root@host] ~ >> rails -v<br \/>\nRails 3.2.11<\/code><br \/>\n&nbsp;&nbsp;<\/p>\n<p><strong>Update<\/strong>: As an update to this, the cPanel patch for all supported versions was released last night.  The majority of updates should be done as cPanel upgrades happen tonight.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Update Ruby On Rails Ruby on Rails has recently released patches for a critical security vulnerability affecting nearly all versions of Rails. It is critical that your Rails applications be updated to one of the following versions: 3.2.11 3.1.10 3.0.10 2.3.15 If you have a cPanel server, make sure you have cPanel\u2019s daily updates running&#8230;. <\/p>\n<div class=\"read-more navbutton\"><a href=\"https:\/\/g33kinfo.com\/info\/update-ruby-on-rails\/\">Read More<i class=\"fa fa-angle-double-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-5055","post","type-post","status-publish","format-standard","hentry","category-info"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Update Ruby On Rails - Linux Shtuff<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/g33kinfo.com\/info\/update-ruby-on-rails\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Update Ruby On Rails - Linux Shtuff\" \/>\n<meta property=\"og:description\" content=\"Update Ruby On Rails Ruby on Rails has recently released patches for a critical security vulnerability affecting nearly all versions of Rails. It is critical that your Rails applications be updated to one of the following versions: 3.2.11 3.1.10 3.0.10 2.3.15 If you have a cPanel server, make sure you have cPanel\u2019s daily updates running.... Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/g33kinfo.com\/info\/update-ruby-on-rails\/\" \/>\n<meta property=\"og:site_name\" content=\"Linux Shtuff\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:author\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:published_time\" content=\"2013-01-16T11:56:48+00:00\" \/>\n<meta name=\"author\" content=\"g33kadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/drsinger1111\" \/>\n<meta name=\"twitter:site\" content=\"@drsinger1111\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/update-ruby-on-rails\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/update-ruby-on-rails\\\/\"},\"author\":{\"name\":\"g33kadmin\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"headline\":\"Update Ruby On Rails\",\"datePublished\":\"2013-01-16T11:56:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/update-ruby-on-rails\\\/\"},\"wordCount\":240,\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"articleSection\":[\"General Info\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/update-ruby-on-rails\\\/\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/update-ruby-on-rails\\\/\",\"name\":\"Update Ruby On Rails - Linux Shtuff\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\"},\"datePublished\":\"2013-01-16T11:56:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/update-ruby-on-rails\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/g33kinfo.com\\\/info\\\/update-ruby-on-rails\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/update-ruby-on-rails\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Ruby On Rails\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\",\"name\":\"Linux Shtuff\",\"description\":\"Because I have CRS Syndrome...\",\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\",\"name\":\"g33kadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"contentUrl\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"width\":512,\"height\":512,\"caption\":\"g33kadmin\"},\"logo\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\"},\"description\":\"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\\\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....\",\"sameAs\":[\"https:\\\/\\\/thelinuxreport.com\",\"https:\\\/\\\/fb.me\\\/g33kinf0\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/drsinger1111\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Update Ruby On Rails - Linux Shtuff","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:\/\/g33kinfo.com\/info\/update-ruby-on-rails\/","og_locale":"en_US","og_type":"article","og_title":"Update Ruby On Rails - Linux Shtuff","og_description":"Update Ruby On Rails Ruby on Rails has recently released patches for a critical security vulnerability affecting nearly all versions of Rails. It is critical that your Rails applications be updated to one of the following versions: 3.2.11 3.1.10 3.0.10 2.3.15 If you have a cPanel server, make sure you have cPanel\u2019s daily updates running.... Read More","og_url":"https:\/\/g33kinfo.com\/info\/update-ruby-on-rails\/","og_site_name":"Linux Shtuff","article_publisher":"https:\/\/fb.me\/g33kinf0","article_author":"https:\/\/fb.me\/g33kinf0","article_published_time":"2013-01-16T11:56:48+00:00","author":"g33kadmin","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/drsinger1111","twitter_site":"@drsinger1111","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/g33kinfo.com\/info\/update-ruby-on-rails\/#article","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/update-ruby-on-rails\/"},"author":{"name":"g33kadmin","@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"headline":"Update Ruby On Rails","datePublished":"2013-01-16T11:56:48+00:00","mainEntityOfPage":{"@id":"https:\/\/g33kinfo.com\/info\/update-ruby-on-rails\/"},"wordCount":240,"publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"articleSection":["General Info"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/g33kinfo.com\/info\/update-ruby-on-rails\/","url":"https:\/\/g33kinfo.com\/info\/update-ruby-on-rails\/","name":"Update Ruby On Rails - Linux Shtuff","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/#website"},"datePublished":"2013-01-16T11:56:48+00:00","breadcrumb":{"@id":"https:\/\/g33kinfo.com\/info\/update-ruby-on-rails\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/g33kinfo.com\/info\/update-ruby-on-rails\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/g33kinfo.com\/info\/update-ruby-on-rails\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/g33kinfo.com\/info\/"},{"@type":"ListItem","position":2,"name":"Update Ruby On Rails"}]},{"@type":"WebSite","@id":"https:\/\/g33kinfo.com\/info\/#website","url":"https:\/\/g33kinfo.com\/info\/","name":"Linux Shtuff","description":"Because I have CRS Syndrome...","publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/g33kinfo.com\/info\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547","name":"g33kadmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","url":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","contentUrl":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","width":512,"height":512,"caption":"g33kadmin"},"logo":{"@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif"},"description":"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....","sameAs":["https:\/\/thelinuxreport.com","https:\/\/fb.me\/g33kinf0","https:\/\/x.com\/https:\/\/twitter.com\/drsinger1111"]}]}},"_links":{"self":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/5055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/comments?post=5055"}],"version-history":[{"count":0,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/5055\/revisions"}],"wp:attachment":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/media?parent=5055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/categories?post=5055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/tags?post=5055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}