Skip to content

Commit

Permalink
Use the new RAILS_VERSION in rake install (ht: ZhangJinzhu) [#4116 st…
Browse files Browse the repository at this point in the history
…ate:resolved]
  • Loading branch information
wycats committed Mar 27, 2010
1 parent faeca69 commit c428fbd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Rakefile
Expand Up @@ -49,13 +49,15 @@ end

desc "Install gems for all projects."
task :install => :gem do
version = File.read("RAILS_VERSION").strip

require File.expand_path("../actionpack/lib/action_pack/version", __FILE__)

This comment has been minimized.

Copy link
@jinzhu

jinzhu Mar 27, 2010

maybe we can remove this line? I think it's already useless.

This comment has been minimized.

Copy link
@KieranP

KieranP Mar 27, 2010

Agreed. Doesn't look like it needs to be required anymore.

Edit: Looks to have been removed in http://github.com/rails/rails/commit/46b7704b7469a1359f5d5fd79f312b1d4761dcdf

(PROJECTS - ["railties"]).each do |project|
puts "INSTALLING #{project}"
system("gem install #{project}/pkg/#{project}-#{ActionPack::VERSION::STRING}.gem --no-ri --no-rdoc")
system("gem install #{project}/pkg/#{project}-#{version}.gem --no-ri --no-rdoc")
end
system("gem install railties/pkg/railties-#{ActionPack::VERSION::STRING}.gem --no-ri --no-rdoc")
system("gem install pkg/rails-#{ActionPack::VERSION::STRING}.gem --no-ri --no-rdoc")
system("gem install railties/pkg/railties-#{version}.gem --no-ri --no-rdoc")
system("gem install pkg/rails-#{version}.gem --no-ri --no-rdoc")
end

desc "Generate documentation for the Rails framework"
Expand Down

1 comment on commit c428fbd

@gyebaek
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

테스트

Please sign in to comment.