Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use the new RAILS_VERSION in rake install (ht: ZhangJinzhu) [#4116 st…

…ate:resolved]
  • Loading branch information...
commit c428fbdb1d4773b177247e0648c933ad9cc92a44 1 parent faeca69
@wycats wycats authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 Rakefile
View
8 Rakefile
@@ -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__)
@jinzhu
jinzhu added a note

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

@KieranP
KieranP added a note

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
(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"

1 comment on commit c428fbd

@gyebaek

테스트

Please sign in to comment.
Something went wrong with that request. Please try again.