lib/setup/installer.rb in setup-5.0.1 vs lib/setup/installer.rb in setup-5.1.0
- old
+ new
@@ -94,11 +94,11 @@
# config method for it.
def install_doc
return unless config.doc?
return unless directory?('doc')
return unless project.name
- dir = File.join(config.docdir, "ruby-{project.name}")
+ dir = File.join(config.docdir, "ruby-#{project.name}")
report_transfer('doc', dir)
#io.puts "* doc -> #{dir}" unless quiet?
files = files('doc')
install_files('doc', files, dir, 0644)
end
@@ -134,10 +134,10 @@
def select_dllext(files)
ents = files.select do |file|
File.extname(file) == ".#{dllext}"
end
if ents.empty? && !files.empty?
- raise Error, "ruby extention not compiled: 'setup.rb make' first"
+ raise Error, "ruby extention not compiled: 'setup.rb compile' first"
end
ents
end
# Dynamic link library extension for this system.