mirror of
				https://github.com/sinatra/sinatra
				synced 2023-03-27 23:18:01 -04:00 
			
		
		
		
	Use puma instead of thin in examples.
This commit is contained in:
		
							parent
							
								
									103f8ffabd
								
							
						
					
					
						commit
						b989bdaa45
					
				
					 2 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
#!/usr/bin/env ruby -I ../lib -I lib
 | 
			
		||||
# coding: utf-8
 | 
			
		||||
require 'sinatra'
 | 
			
		||||
set :server, 'thin'
 | 
			
		||||
set :server, 'puma'
 | 
			
		||||
connections = []
 | 
			
		||||
 | 
			
		||||
get '/' do
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,7 +3,6 @@
 | 
			
		|||
# run *one* of these:
 | 
			
		||||
#
 | 
			
		||||
#   rackup -s mongrel stream.ru   # gem install mongrel
 | 
			
		||||
#   thin -R stream.ru start       # gem install thin
 | 
			
		||||
#   unicorn stream.ru             # gem install unicorn
 | 
			
		||||
#   puma stream.ru                # gem install puma
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue