提交 dfb01727 编写于 作者: R Rafael Mendonça França

Merge pull request #11371 from arunagw/actionview-changes

Actionview changes
......@@ -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"
......
require 'rake/testtask'
require 'rake/packagetask'
require 'rubygems/package_task'
desc "Default Task"
......
......@@ -5,7 +5,7 @@
exit(64)
end
%w( activesupport activemodel activerecord actionpack actionmailer railties ).each do |framework|
%w( activesupport activemodel activerecord actionpack actionview actionmailer railties ).each do |framework|
puts "Installing #{framework}..."
`cd #{framework} && gem build #{framework}.gemspec && gem install #{framework}-#{version}.gem --no-ri --no-rdoc && rm #{framework}-#{version}.gem`
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册