mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Fixup r66984. It breakes bundler's examples.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									5c11d85411
								
							
						
					
					
						commit
						bef0c0a367
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -276,7 +276,7 @@ module Bundler
 | 
			
		|||
          # avoid stepping above the tmp directory when testing
 | 
			
		||||
          gemspec = if ENV["BUNDLE_RUBY"] && ENV["BUNDLE_GEM"]
 | 
			
		||||
            # for Ruby Core
 | 
			
		||||
            "lib/bundler.gemspec"
 | 
			
		||||
            "lib/bundler/bundler.gemspec"
 | 
			
		||||
          else
 | 
			
		||||
            "bundler.gemspec"
 | 
			
		||||
          end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -876,7 +876,7 @@ end
 | 
			
		|||
 | 
			
		||||
      FileUtils.ln_s(bundler_dir, File.join(gems_dir, "bundler-#{Bundler::VERSION}"))
 | 
			
		||||
 | 
			
		||||
      gemspec_file = ruby_core? ? "#{bundler_dir}/lib/bundler.gemspec" : "#{bundler_dir}/bundler.gemspec"
 | 
			
		||||
      gemspec_file = ruby_core? ? "#{bundler_dir}/lib/bundler/bundler.gemspec" : "#{bundler_dir}/bundler.gemspec"
 | 
			
		||||
      gemspec = File.read(gemspec_file).
 | 
			
		||||
                sub("Bundler::VERSION", %("#{Bundler::VERSION}"))
 | 
			
		||||
      gemspec = gemspec.lines.reject {|line| line =~ %r{lib/bundler/version} }.join
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue