You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							16 lines
						
					
					
						
							379 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							16 lines
						
					
					
						
							379 B
						
					
					
				
								#!/usr/bin/env sh
							 | 
						|
								
							 | 
						|
								if ! gem list foreman -i --silent; then
							 | 
						|
								  echo "Installing foreman..."
							 | 
						|
								  gem install foreman
							 | 
						|
								fi
							 | 
						|
								
							 | 
						|
								# Default to port 3000 if not specified
							 | 
						|
								export PORT="${PORT:-3000}"
							 | 
						|
								
							 | 
						|
								# Let the debug gem allow remote connections,
							 | 
						|
								# but avoid loading until `debugger` is called
							 | 
						|
								export RUBY_DEBUG_OPEN="true"
							 | 
						|
								export RUBY_DEBUG_LAZY="true"
							 | 
						|
								
							 | 
						|
								exec foreman start -f Procfile.dev "$@"
							 |