mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 11:48:38 +08:00 
			
		
		
		
	Update Ruby example to specify bundler path
This commit is contained in:
		
							parent
							
								
									95c1798369
								
							
						
					
					
						commit
						a86927d2a9
					
				|  | @ -219,6 +219,14 @@ Replace `~/.cache/pip` with the correct `path` if not using Ubuntu. | |||
|     restore-keys: | | ||||
|       ${{ runner.os }}-gem- | ||||
| ``` | ||||
| When dependencies are installed later in the workflow, we must specify the same path for the bundler. | ||||
| 
 | ||||
| ```yaml | ||||
| - name: Bundle install | ||||
|         run: | | ||||
|           bundle config path vendor/bundle | ||||
|           bundle install --jobs 4 --retry 3 | ||||
| ``` | ||||
| 
 | ||||
| ## Rust - Cargo | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Evan Cloutier
						Evan Cloutier