Fixed broken rake task for update_version [ci skip]

Also added actionview to update version rake task
This commit is contained in:
Arun Agrawal 2013-07-07 11:36:28 +02:00
parent e80844505a
commit 0d534b8aae
1 changed files with 2 additions and 1 deletions

View File

@ -58,13 +58,14 @@ task :update_versions do
require File.dirname(__FILE__) + "/version"
File.open("RAILS_VERSION", "w") do |f|
f.puts Rails.version
f.puts Rails::VERSION::STRING
end
constants = {
"activesupport" => "ActiveSupport",
"activemodel" => "ActiveModel",
"actionpack" => "ActionPack",
"actionview" => "ActionView",
"actionmailer" => "ActionMailer",
"activerecord" => "ActiveRecord",
"railties" => "Rails"