diff options
author | José Valim <jose.valim@gmail.com> | 2010-07-21 11:56:28 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-07-21 11:56:28 +0200 |
commit | f1082bd51eb575f22f86b78f347ab75a4b2bff1a (patch) | |
tree | 9ca5312e1272b726bada31f31ea7d5965c9968ef /activesupport | |
parent | c565f0060aab85db60390220679c5df419998f9e (diff) | |
download | rails-f1082bd51eb575f22f86b78f347ab75a4b2bff1a.tar.gz rails-f1082bd51eb575f22f86b78f347ab75a4b2bff1a.tar.bz2 rails-f1082bd51eb575f22f86b78f347ab75a4b2bff1a.zip |
Remove old install.rb files.
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/README | 15 | ||||
-rw-r--r-- | activesupport/install.rb | 30 |
2 files changed, 3 insertions, 42 deletions
diff --git a/activesupport/README b/activesupport/README index 9fb9a80cbe..aa86f1fd65 100644 --- a/activesupport/README +++ b/activesupport/README @@ -7,22 +7,13 @@ Ruby sweeter. == Download -The latest version of Active Support can be found at +The latest version of Active Support can be installed with Rubygems: -* http://rubyforge.org/project/showfiles.php?group_id=182 +* gem install activesupport Documentation can be found at -* http://as.rubyonrails.com - - -== Installation - -The preferred method of installing Active Support is through its GEM file. You'll need to have -RubyGems[http://rubygems.rubyforge.org/wiki/wiki.pl] installed for that, though. If you have it, -then use: - - % [sudo] gem install activesupport-1.0.0.gem +* http://api.rubyonrails.org == License diff --git a/activesupport/install.rb b/activesupport/install.rb deleted file mode 100644 index 9c54d8c1a9..0000000000 --- a/activesupport/install.rb +++ /dev/null @@ -1,30 +0,0 @@ -require 'rbconfig' -require 'find' -require 'ftools' - -include Config - -# this was adapted from rdoc's install.rb by ways of Log4r - -$sitedir = CONFIG["sitelibdir"] -unless $sitedir - version = CONFIG["MAJOR"] + "." + CONFIG["MINOR"] - $libdir = File.join(CONFIG["libdir"], "ruby", version) - $sitedir = $:.find {|x| x =~ /site_ruby/ } - if !$sitedir - $sitedir = File.join($libdir, "site_ruby") - elsif $sitedir !~ Regexp.quote(version) - $sitedir = File.join($sitedir, version) - end -end - -# the actual gruntwork -Dir.chdir("lib") - -Find.find("active_support", "active_support.rb") { |f| - if f[-3..-1] == ".rb" - File::install(f, File.join($sitedir, *f.split(/\//)), 0644, true) - else - File::makedirs(File.join($sitedir, *f.split(/\//))) - end -} |