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.
		
		
		
		
		
			
		
			
				
					
					
						
							17 lines
						
					
					
						
							505 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							17 lines
						
					
					
						
							505 B
						
					
					
				| #! /bin/bash | |
|  | |
| # exit if a command fails | |
| set -eo pipefail | |
| 
 | |
| # install ruby 1.9.1 | |
| apt-get update && apt-get install -y python2 ruby ruby-dev build-essential | |
| 
 | |
| # install jekyll & bundler (therubyracer needed for coffeescript support, rouge for highlightning) | |
| gem install jekyll bundler therubyracer rouge --no-document | |
| 
 | |
| # cleanup package manager | |
| apt-get remove --purge -y build-essential ruby-dev && apt-get autoclean && apt-get clean | |
| rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
| 
 | |
| # prepare dir | |
| mkdir /source
 |