{"id":371,"date":"2012-08-13T13:33:03","date_gmt":"2012-08-13T11:33:03","guid":{"rendered":"http:\/\/elkano.org\/blog\/?p=371"},"modified":"2012-08-13T13:33:03","modified_gmt":"2012-08-13T11:33:03","slug":"uninitialized-constant-rakedsl","status":"publish","type":"post","link":"https:\/\/elkano.org\/blog\/uninitialized-constant-rakedsl\/","title":{"rendered":"uninitialized constant Rake::DSL"},"content":{"rendered":"<p>I&#8217;ve found this error upgrading to redmine 1.4.4<\/p>\n<pre class=\"prettyprint lang-xml\">\r\n# rake config\/initializers\/session_store.rb\r\n(in \/var\/www\/redmine)\r\nrake aborted!\r\nuninitialized constant Rake::DSL\r\n\/var\/www\/redmine\/Rakefile:14:in `require&#039;\r\n(See full trace by running task with --trace)\r\n<\/pre>\n<p>To avoid the error add the following to the top of the RakeFile:<\/p>\n<pre class=\"prettyprint lang-ruby\">\r\nmodule Rake\r\n  module DSL\r\n  end\r\nend\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve found this error upgrading to redmine 1.4.4 # rake config\/initializers\/session_store.rb (in \/var\/www\/redmine) rake aborted! uninitialized constant Rake::DSL \/var\/www\/redmine\/Rakefile:14:in `require&#039; (See full trace by running task with &#8211;trace) To avoid the error add the following to the top of the RakeFile: module Rake module DSL end end<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[45,145,14],"_links":{"self":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/371"}],"collection":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/comments?post=371"}],"version-history":[{"count":5,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/371\/revisions"}],"predecessor-version":[{"id":376,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/371\/revisions\/376"}],"wp:attachment":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/media?parent=371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/categories?post=371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/tags?post=371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}