Sha256: 292357506b17627192e5c9375681319e486629eb9b3ddae723bd48f02afe7a0b

Contents?: true

Size: 747 Bytes

Versions: 98

Compression:

Stored size: 747 Bytes

Contents

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_mailer", "action_mailer.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
}

Version data entries

98 entries across 95 versions & 17 rubygems

Version Path
actionmailer-2.3.18 install.rb
actionmailer_csi-2.3.5.p8 install.rb
actionmailer-2.3.17-rack-upgrade-2.3.17 install.rb
actionmailer-2.3.17 install.rb
actionmailer_csi-2.3.5.p7 install.rb
actionmailer_csi-2.3.5.20130130071128 install.rb
actionmailer_csi-2.3.5.p6 install.rb
actionmailer-2.3.16 install.rb
actionmailer-rack-upgrade-2-2.3.16 install.rb
actionmailer-rack-upgrade-2-2.3.15 install.rb
actionmailer-2.3.15 install.rb
actionmailer-rack-upgrade-2.3.17 install.rb
actionmailer-rack-upgrade-2.3.16 install.rb
actionmailer-rack-upgrade-2.3.15 install.rb
actionmailer-rack-upgrade-2.3.14.1 install.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/actionmailer-2.3.14/install.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/actionmailer-2.3.12/install.rb
actionmailer-2.3.14 install.rb
kajam-1.0.3.rc2 vendor/rails/actionmailer/install.rb
actionmailer-2.3.12 install.rb