mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Fixed installation failure [Bug #17191]
Try update and extract bundled gems only when baseruby is available. It should be done only when installing from developemental build and not from the tarball, but it is not obvious to differentiate them.
This commit is contained in:
		
							parent
							
								
									b971f141b2
								
							
						
					
					
						commit
						a9ff390870
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1296,7 +1296,7 @@ update-config_files: PHONY
 | 
			
		|||
	    config.guess config.sub
 | 
			
		||||
 | 
			
		||||
refresh-gems: update-bundled_gems prepare-gems
 | 
			
		||||
prepare-gems: update-gems extract-gems
 | 
			
		||||
prepare-gems: $(HAVE_BASERUBY:yes=update-gems) $(HAVE_BASERUBY:yes=extract-gems)
 | 
			
		||||
 | 
			
		||||
update-gems$(gnumake:yes=-nongnumake): PHONY
 | 
			
		||||
	$(ECHO) Downloading bundled gem files...
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -246,7 +246,7 @@ HELP_EXTRA_TASKS = \
 | 
			
		|||
	"  update-github:       merge master branch and push it to Pull Request [PR=1234]" \
 | 
			
		||||
	""
 | 
			
		||||
 | 
			
		||||
extract-gems: update-gems
 | 
			
		||||
extract-gems: $(HAVE_BASERUBY:yes=update-gems)
 | 
			
		||||
 | 
			
		||||
BUNDLED_GEMS := $(shell sed '/^[ 	]*\#/d;/^[ 	]*$$/d;s/[ 	][ 	]*/-/;s/[ 	].*//' $(srcdir)/gems/bundled_gems)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue