aboutsummaryrefslogtreecommitdiffstats
path: root/tool/rbinstall.rb
Commit message (Collapse)AuthorAgeFilesLines
* rbinstall.rb: fix directory permissionsnobu2014-07-151-1/+4
| | | | | | | * tool/rbinstall.rb (gem): fix permissions of bundle gems directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: respect DESTDIRnobu2014-07-151-1/+1
| | | | | | | | | * lib/rubygems.rb (Gem.install): pass optinos to Gem::DependencyInstaller. * tool/rbinstall.rb (gem): respect DESTDIR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb: support to install bundle gems.hsbt2014-06-231-59/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/test-unit.gemspec: Add minitest < 5.0.0 dependencysorah2014-02-181-0/+9
| | | | | | | | * tool/rbinstall.rb: Add empty implementations for `add_dependency`, `add_runtime_dependency`, `add_development_dependency` for Gem::Specification. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: fix for non-working directorynobu2013-11-091-1/+2
| | | | | | | | * tool/rbinstall.rb (Gem::Specification.last_date): skip if failed to get info from VCS, for example, in the case circumstance sharing working directory with another machine and run vcs tools cannot work. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: spec date from VCSnobu2013-11-091-2/+16
| | | | | | | | * tool/rbinstall.rb (Gem::Specification.load): obtain spec date from VCS for the case using git, RUBY_RELEASE_DATE is the last resort. probably fixes [Bug #9085]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: indentnobu2013-11-081-2/+2
| | | | | | | * tool/rbinstall.rb (Gem::Specification#to_ruby): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: make stable files in .gemspecnobu2013-11-081-1/+1
| | | | | | | | | | * tool/rbinstall.rb (Gem::Specification#collect): make stable Gem::Specification.files in default .gemspecs the different order of "files" in .gemspec files makes them different therefore possibly conflicting in multilib scenario. patch by vo.x (Vit Ondruch) at [ruby-core:57544] [Bug #8623]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: reordernobu2013-10-021-8/+13
| | | | | | | * tool/rbinstall.rb: install default targets (:local, :ext) first, very time consuming tasks later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: add datenobu2013-09-091-0/+2
| | | | | | | | * tool/rbinstall.rb (Gem::Specification#initialize): default date to RUBY_RELEASE_DATE. [ruby-core:57072] [Bug #8878] * tool/rbinstall.rb (Gem::Specification#to_ruby): add date. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb: always require rubygems to stabilize rubygemsnaruse2013-07-101-0/+5
| | | | | | | | related status like whether Gem::Specification is defined or not. * tool/rbinstall.rb (Gem::Specification.unresolved_deps): define stub. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: reject empty filesnobu2013-05-271-3/+7
| | | | | | | | * tool/rbinstall.rb (install_recursive): add maxdepth option. * tool/rbinstall.rb (bin-comm): limit depth of bindir and reject empty files. [ruby-core:55101] [Bug #8432] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: gem subdirectoriesnobu2013-03-071-2/+1
| | | | | | | * tool/rbinstall.rb (gem): Gem.ensure_gem_subdirectories now has mode option since r39607. refix of r38870. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: default libdirnamenobu2013-02-251-1/+1
| | | | | | | * lib/mkmf.rb (MakeMakefile#init_mkmf): default libdirname to libdir. * tool/rbinstall.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (libdir): fix typo. [Bug #7874]nobu2013-02-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: adjust libdirnamenobu2013-02-201-1/+1
| | | | | | | | | * configure.in (libdirname): adjust library path name which libruby files will be installed. [Bug #7874] * tool/rbinstall.rb (libdir): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: CONFIG['arch'] not $archnobu2013-02-071-1/+1
| | | | | | | * tool/rbinstall.rb: use CONFIG['arch'] instead of $arch which was not added finally. fix r39108. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: arch dependent header directory optionsnobu2013-02-061-2/+2
| | | | | | | | * configure.in (rubyarchhdrdir, sitearchhdrdir, vendorarchhdrdir): add options to customize architecture dependent header directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: arch dependent library directory optionsnobu2013-02-061-1/+1
| | | | | | | | | | | * configure.in (rubyarchprefix, sitearchdir, vendorarchdir): add options to customize architecture dependent library directories. * template/ruby.pc.in, tool/mkconfig.rb, tool/rbinstall.rb: use configured values. * tool/mkconfig.rb: expand rubyarchdir to extract prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: gem subdirectoriesnobu2013-01-181-1/+0
| | | | | | * tool/rbinstall.rb (gem): prepare implies makedirs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: gem subdirectoriesnobu2013-01-181-1/+3
| | | | | | | * tool/rbinstall.rb (gem): Gem.ensure_gem_subdirectories makes subdirectories group-writable, so make them with $dir_mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re-added r38053 that is reverted by r38061. Problems by r38053kou2012-12-011-7/+90
| | | | | | | | | | | | | | | | | are resolved by r38096. r38096 removed GEM_SKIP configuration. The below is ChangeLog of r38053: * defs/default_gems: Add base directory column. * tool/rbinstall.rb: - Install .gemspecs of default gem to #{GEM_HOME}/specifications/default/. - Update files parameter of .gemspecs by relative path from library directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * revert r38053 because it causes too many test failures.usa2012-11-301-90/+7
| | | | | | | | if you've already installed r38053 or later, remove the installed lib/ruby/gems/2.0.0 directory and reinstall this revision or later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defs/default_gems: Add base directory column.kou2012-11-301-7/+90
| | | | | | | | | | | * tool/rbinstall.rb: - Install .gemspecs of default gem to #{GEM_HOME}/specifications/default/. - Update files parameter of .gemspecs by relative path from library directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb: Don't install *.gemspec under lib/.kou2012-11-101-1/+1
| | | | | | | | [ruby-core:48966] [Bug #7289] Reported by Vit Ondruch. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: skip symlinksnobu2012-09-041-1/+3
| | | | | | | * tool/rbinstall.rb (install_recursive): skip symlinks, which are made by `make runnable'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (capi): install to capi directory.nobu2012-05-031-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (prepare): skip if basedir is not defined.nobu2012-03-131-14/+23
| | | | | | | | [ruby-core:39135][Bug #5238] * tool/rbinstall.rb (CONFIG.[]): check for mandatory configurations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (install_recursive, bin-comm): split merenobu2011-10-301-2/+2
| | | | | | string not path name. [ruby-core:40462] [Bug #5492] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (gem): install all gemspecs under lib and ext.nobu2011-08-041-6/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (Gem::Specification): may not be defined whennobu2011-08-041-0/+21
| | | | | | cross-compiling and BASERUBY is 1.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb: use rubygems to load gemspecs, copy actualtenderlove2011-08-031-16/+56
| | | | | | gemspecs on install rather than generate fake ones for all gems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defs/default_gems: separate from tool/rbinstall.rb.nobu2011-07-301-10/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_version): version 1.1.0.mrkn2011-07-301-0/+1
| | | | | | | * ext/bigdecimal/bigdecimal.gemspec: turn into a default gem. * tool/rbinstall.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (strip_file): accept an array of path names.nobu2011-07-221-8/+7
| | | | | | | * tool/rbinstall.rb (install): allow multiple path names. [ruby-core:38379] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (default gems): Install executables into the fakedrbrain2011-07-221-8/+23
| | | | | | | gem dir for Gem.bin_path. [#4485] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/console/io-console.gemspec: spin-off gem for 1.9.2.nobu2011-06-301-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake/version.rb: Fixed VERSION to work with tool/rbinstall.rbdrbrain2011-06-231-1/+1
| | | | | | | | | * bin/rake: Import bin/rake from 0.9.2 * tool/rbinstall.rb (install): Rake::VERSION is now in lib/rake/version.rb. Fixes `make install` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (gem): fix for rubygems change.nobu2011-06-011-8/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (gem): install gemspec of json. fixed #4784nobu2011-05-271-4/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (bin-comm): use transformed name.nobu2010-12-161-1/+1
| | | | | | [ruby-dev:42777] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (install_recursive): always skip default ignorednobu2010-12-101-12/+11
| | | | | | | files. if block is given, call it instead of calling install. * tool/rbinstall.rb (bin-comm): use install_recursive. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (scriptbin): make executable file fromnobu2010-11-091-1/+8
| | | | | | | | | | | | | scripts with stub. * ruby.c (load_file_internal): assume xflag for exe file as well as no-shebang file. * tool/rbinstall.rb: install script programs. * win32/mkexports.rb (Exports#initialize): alias ruby_sysinit for stub. * win32/stub.c: stub for scripts. [EXPERIMENTAL] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (bin-comm): prepend prolog shell script ifnobu2010-11-051-1/+23
| | | | | | necessary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (pkgconfig-data): moved from Makefile.in.nobu2010-10-261-1/+1
| | | | | | | | | * tool/rbinstall.rb: install pc file only if non-empty. [ruby-core:32901] #3983 * win32/Makefile.sub (ruby_pc): create pc file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (pkgconfig-data): create pkg-config metadata file.nobu2010-10-251-0/+10
| | | | | | | | * tool/rbinstall.rb: install pkg-config metadata file. * template/ruby.pc.in: template of pkg-config metadata file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (install?): gemspec filename should includenaruse2010-09-091-1/+1
| | | | | | its version. patched by Luis Lavena [ruby-core:32165] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (ext-arch): prune directories start with '-'.nobu2010-07-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow bin/* install from dot-dirs. Fixes rvm and multiruby installations.ryan2010-06-021-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (install-man): install mdocs directly withoutnobu2010-05-071-7/+4
| | | | | | temporary files. [ruby-dev:41204] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e