aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-07-21 11:56:28 +0200
committerJosé Valim <jose.valim@gmail.com>2010-07-21 11:56:28 +0200
commitf1082bd51eb575f22f86b78f347ab75a4b2bff1a (patch)
tree9ca5312e1272b726bada31f31ea7d5965c9968ef /activerecord
parentc565f0060aab85db60390220679c5df419998f9e (diff)
downloadrails-f1082bd51eb575f22f86b78f347ab75a4b2bff1a.tar.gz
rails-f1082bd51eb575f22f86b78f347ab75a4b2bff1a.tar.bz2
rails-f1082bd51eb575f22f86b78f347ab75a4b2bff1a.zip
Remove old install.rb files.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/README21
-rw-r--r--activerecord/install.rb30
2 files changed, 3 insertions, 48 deletions
diff --git a/activerecord/README b/activerecord/README
index d68eb28a64..0446180207 100644
--- a/activerecord/README
+++ b/activerecord/README
@@ -309,28 +309,13 @@ Admit the Database:
== Download
-The latest version of Active Record can be found at
+The latest version of Active Record can be installed with Rubygems:
-* http://rubyforge.org/project/showfiles.php?group_id=182
+* gem install activerecord
Documentation can be found at
-* http://ar.rubyonrails.com
-
-
-== Installation
-
-The prefered method of installing Active Record 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,
-then use:
-
- % [sudo] gem install activerecord-1.10.0.gem
-
-You can also install Active Record the old-fashioned way with the following command:
-
- % [sudo] ruby install.rb
-
-from its distribution directory.
+* http://api.rubyonrails.org
== License
diff --git a/activerecord/install.rb b/activerecord/install.rb
deleted file mode 100644
index c87398b1f4..0000000000
--- a/activerecord/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_record", "active_record.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
-}