|  | @@ -42,6 +42,14 @@ You can then build and run the Ruby image:
 | 
	
		
			
				|  |  |      docker build -t my-ruby-app .
 | 
	
		
			
				|  |  |      docker run -it --name my-running-script my-ruby-app
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +### Generate a `Gemfile.lock`
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +The `onbuid` tag expects a `Gemfile.lock` in your app directory. This `docker
 | 
	
		
			
				|  |  | +run` will help you generate one. Run it in the root of your app, next to the
 | 
	
		
			
				|  |  | +`Gemfile`:
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    docker run --rm -v "$(pwd)":/usr/src/app -w /usr/src/app jruby:1.7.15 bundle install --system
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  ## Run a single Ruby script
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  For many simple, single file projects, you may find it inconvenient to write a
 |