aboutsummaryrefslogtreecommitdiffstats
path: root/tool/rbinstall.rb
Commit message (Collapse)AuthorAgeFilesLines
* install-static-library option [ci skip]nobu2016-10-171-1/+1
| | | | | | | | | * configure.in (install-static-library): add option to enable/ disable to install static ruby library. defaulted to "no" if enable-shared. [Feature #12845] * tool/rbinstall.rb (local-arch-lib): respect the option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: don't install gemspec for skipped librariesrhe2016-09-261-25/+10
| | | | | | | | * tool/rbinstall.rb (gem): Don't install gemspec if no files will be installed for the gem. This happens when the extension library is not compiled. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* install extra librariesnobu2016-09-241-0/+9
| | | | | | | | | * ext/extmk.rb (extract_makefile, extmake, configuration): store extra libraries to be installed. * tool/rbinstall.rb (ext-arch): install extra libraries. * ext/zlib/extconf.rb: install zlib if built. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: gem bindirnobu2016-09-081-1/+1
| | | | | | | * tool/rbinstall.rb (gem): use the bindir of each gemspec instead of hardcoded 'bin', since rdoc 5.0.0 overrides it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: install just one gemspec [ci skip]nobu2016-09-051-0/+1
| | | | | | | | * tool/rbinstall.rb (gem): install gemspec match with the directory only. some gems, (e.g., json) have multiple gemspec files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: install iff expected platforms [ci skip]nobu2016-09-041-0/+1
| | | | | | | * tool/rbinstall.rb (gem): install only gemspecs for expected platforms. e.g., ignore json-java.gemspec in json gem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: chdir to gem directory [ci skip]nobu2016-09-041-1/+5
| | | | | | | * tool/rbinstall.rb (gem): load gemspec files under each directories, since some gemspecs read files there. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: prefix with space [ci skip]nobu2016-09-011-4/+4
| | | | | | | | * tool/rbinstall.rb (bin): exec via /bin/sh if the prefix contains space charaters, because shebang does not support that case in general. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extmk.rb: build_completenobu2016-08-311-1/+0
| | | | | | | | * ext/extmk.rb (create_makefile): make gem.build_complete file under TARGET_SO_DIR and install it only when the gem build succeeded. [ruby-core:77057] [Bug #12681] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* skip failed gemsnobu2016-08-171-1/+8
| | | | | | | * tool/rbinstall.rb: skip gems which failed to build extensions. [ruby-dev:49764] [Bug #12683] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gem extensionsnobu2016-08-171-0/+13
| | | | | | | | * ext/extmk.rb: build gem extensions into separate directories * tool/rbinstall.rb: install pre-built gem extension files gem extension directories. [ruby-core:76931] [Bug #12681] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool: add descriptions and fix typosnormal2016-07-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tool/asm_parse.rb: add description * tool/change_maker.rb: ditto * tool/downloader.rb: ditto * tool/eval.rb: ditto * tool/expand-config.rb: ditto * tool/extlibs.rb: ditto * tool/fake.rb: ditto * tool/file2lastrev.rb: ditto * tool/gem-unpack.rb: ditto * tool/gen_dummy_probes.rb: ditto * tool/gen_ruby_tapset.rb: ditto * tool/generic_erb.rb: ditto * tool/id2token.rb: ditto * tool/ifchange: ditto * tool/insns2vm.rb: ditto * tool/instruction.rb: ditto * tool/jisx0208.rb: ditto * tool/merger.rb: ditto * tool/mkrunnable.rb: ditto * tool/node_name.rb: ditto * tool/parse.rb: ditto * tool/rbinstall.rb: ditto * tool/rbuninstall.rb: ditto * tool/rmdirs: ditto * tool/runruby.rb: ditto * tool/strip-rdoc.rb: ditto * tool/vcs.rb: ditto * tool/vtlh.rb: ditto * tool/ytab.sed: ditto * tool/enc-unicode.rb: fix typo * tool/mk_call_iseq_optimized.rb: ditto * tool/update-deps: ditto [ruby-core:76215] [Bug #12539] by Noah Gibbs <the.codefolio.guy@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: drive letter in without_destdirnobu2016-02-161-1/+0
| | | | | | | | | * tool/rbinstall.rb (without_destdir): just strip a drive letter which is prepended by with_destdir. pointed out by @DavidEGrayson. https://github.com/ruby/ruby/commit/0e5f9ae#commitcomment-16101763 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: drive letter in without_destdirnobu2016-02-151-2/+2
| | | | | | | | | * tool/rbinstall.rb (without_destdir): compare with the destdir after stripping a drive letter, on dosish platforms. pointed out by @DavidEGrayson. https://github.com/ruby/ruby/commit/d0cf23b#commitcomment-16100407 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb: fix wrong permission for gem specification withouthsbt2015-11-161-0/+1
| | | | | | zlib runtime. [Bug #11685][ruby-dev:49343] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: compress man pages.nobu2015-11-061-10/+22
| | | | | | | * tool/rbinstall.rb (man): get rid of prompt from compress program. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: compress man pages.nobu2015-11-061-1/+6
| | | | | | | * tool/rbinstall.rb (man): compress mdoc-style man pages, without Mdoc2Man. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compressed mantypesnobu2015-07-101-1/+16
| | | | | | | | * configure.in (--with-mantype): add compressed mantypes. * tool/rbinstall.rb (man): compress man pages if specified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/json.gemspec, lib/rdoc/rdoc.gemspec: added gemspec directly.hsbt2015-04-121-47/+0
| | | | | | | * defs/default_gems, tool/rbinstall.rb: removed default_gems definition. it make simple installation for default gems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: destdirnobu2015-04-111-1/+1
| | | | | | * tool/rbinstall.rb (gem): use installed ruby under destdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb: support destdir for native extention gem.hsbt2015-04-111-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: no post install messagesnobu2015-04-071-0/+6
| | | | | | | * tool/rbinstall.rb: suppress post install messages of rdoc for older ruby versions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: $script_modenobu2015-04-071-4/+12
| | | | | | * tool/rbinstall.rb: set script files permission to $script_mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: same options for gemsnobu2015-04-051-17/+12
| | | | | | | * tool/rbinstall.rb (gem): share same options between normal installer and unpacked installer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb: fix bin script permission of bundled gems.hsbt2015-04-051-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb: support --program-suffix option.hsbt2015-04-041-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake/*: Gemify rake [fix GH-862][Feature #11025]hsbt2015-04-041-0/+4
| | | | | | | * test/rake/*: ditto. * tool/rbinstall.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: set umask 077nobu2015-03-041-1/+1
| | | | | | | * tool/rbinstall.rb: default umask to prohibit group/others from reading/writing/executing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: gems dir_modenobu2015-03-031-1/+3
| | | | | | | * tool/rbinstall.rb (DirPackage#extract_files): set directories permission of gems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: no batch installationnobu2015-02-011-12/+2
| | | | | | | | * tool/rbinstall.rb (bin-comm): drop batch file installation. Windows 95 support has not been supported already. [Feature #10806] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: duplicate codenobu2015-01-311-2/+0
| | | | | | * tool/rbinstall.rb (gem): remove duplicate load path and require. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: trilingual batch filesnobu2015-01-311-10/+12
| | | | | | | * tool/rbinstall.rb (bin-comm): trilingual, (sh, cmd, and ruby) prolog for batch files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: no CRnobu2015-01-311-1/+1
| | | | | | * tool/rbinstall.rb (bin-comm): no CR at EOF in batch files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: no chdirnobu2015-01-311-1/+1
| | | | | | | * tool/rbinstall.rb (PROLOG_SCRIPT): use the given symlinked directory name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: literal colonnobu2015-01-291-1/+1
| | | | | | | * tool/rbinstall.rb (PROLOG_SCRIPT): ":" in "Use Alternate Value" parameter expansion is not a path separator, but a literal colon. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: load zlib earliernobu2015-01-171-5/+5
| | | | | | | * tool/rbinstall.rb: try to load zlib before using Gem::Installer, not to let LoadError raise during autoloading. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: install unpacked gemsnobu2015-01-161-1/+43
| | | | | | | * tool/rbinstall.rb (gem): install gems from unpacked directories for platforms where zlib is not available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: always make gem directoriesnobu2015-01-161-8/+8
| | | | | | | * tool/rbinstall.rb (gem): always make gem directories regardless of zlib. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: use DLEXTnobu2015-01-161-1/+2
| | | | | | | | * tool/rbinstall.rb (RbInstall::Specs::FileCollector#built_libraries): use configured value DLEXT instead of hardcoded suffix. shared object suffix is system dependent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: fix bundled gems locationnobu2015-01-131-2/+2
| | | | | | | * tool/rbinstall.rb (gem): fix changing permissions of installed bundled gems. [Fix GH-812] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: reuse options hashnobu2015-01-131-1/+9
| | | | | | | * tool/rbinstall.rb (gem): reuse options hash, which is invariant for all gems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: suppress warningsnobu2015-01-131-5/+2
| | | | | | | | | * tool/rbinstall.rb (install): get rid of shadowing outer local variables. * tool/rbinstall.rb: remove unused variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: fix bundled gems locationnobu2014-12-281-1/+1
| | | | | | | | * rbinstall.rb: fix target location for installing bundled gems. install to the prepared directory instead of default Gem.dir, not to be affected GEM_HOME environment variable. [Fix GH-798] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typo for LoadError constantzzak2014-12-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb: skip installing bundle gems if zlib is unavailable.usa2014-12-251-14/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: fix .gemspec permissionsnobu2014-10-141-0/+2
| | | | | | | * tool/rbinstall.rb (gem): Fix permissions of bundled gems specification files. [ruby-core:65700] [Bug #10383] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: header targetsnobu2014-09-271-3/+3
| | | | | | | | * tool/rbinstall.rb: separate header targets, comm-hdr for architecture independent headers, arch-hdr for architecture dependent headers, and hdr for both. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb: fixed invalid options with latest rubygems.hsbt2014-09-171-1/+1
| | | | | | https://github.com/rubygems/rubygems/issues/1013 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb: fixed error of local installation.hsbt2014-09-021-1/+1
| | | | | | [Bug #10192][ruby-core:64702] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: remove unused variablenobu2014-08-221-7/+0
| | | | | | * tool/rbinstall.rb: $vcs is no longer used since r46513. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e