aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/README17
-rw-r--r--actionpack/install.rb30
2 files changed, 4 insertions, 43 deletions
diff --git a/actionpack/README b/actionpack/README
index 1a59f728cc..20cc09c26f 100644
--- a/actionpack/README
+++ b/actionpack/README
@@ -366,22 +366,13 @@ an URL such as /weblog/5 (where 5 is the id of the post).
== Download
-The latest version of Action Pack can be found at
+The latest version of Action Pack can be installed with Rubygems:
-* http://rubyforge.org/project/showfiles.php?group_id=249
+* gem install actionpack
-Documentation can be found at
+Documentation can be found at
-* http://api.rubyonrails.com
-
-
-== Installation
-
-You can install Action Pack with the following command.
-
- % [sudo] ruby install.rb
-
-from its distribution directory.
+* http://api.rubyonrails.org
== License
diff --git a/actionpack/install.rb b/actionpack/install.rb
deleted file mode 100644
index d3b83c3b00..0000000000
--- a/actionpack/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 way 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("action_controller", "action_controller.rb", "action_view", "action_view.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
-} \ No newline at end of file