now installs rubygems (bundler, overcommit)
This commit is contained in:
		
							parent
							
								
									d25516c078
								
							
						
					
					
						commit
						ef5452b3a7
					
				
							
								
								
									
										1
									
								
								custompkg/root/etc/skel/.gemrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								custompkg/root/etc/skel/.gemrc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | ||||
| gem: --user-install | ||||
| @ -0,0 +1,5 @@ | ||||
| if [[ -d $HOME/Library/RubyGems/ruby ]]; then | ||||
|     for DIR in $HOME/Library/RubyGems/ruby/*/bin ; do | ||||
|         PATH+=":$DIR" | ||||
|     done | ||||
| fi | ||||
| @ -0,0 +1,7 @@ | ||||
| if [[ ! -d ~/Library/RubyGems ]]; then | ||||
|     mkdir ~/Library/RubyGems | ||||
| fi | ||||
| 
 | ||||
| if [[ ! -e ~/.gem ]]; then | ||||
|     ln -s ~/Library/RubyGems ~/.gem | ||||
| fi | ||||
| @ -1,5 +1,6 @@ | ||||
| PYTHON_PKGS=" | ||||
|     awscli | ||||
|     awsebcli | ||||
|     virtualenv | ||||
| " | ||||
| 
 | ||||
|  | ||||
| @ -0,0 +1,13 @@ | ||||
| #!/bin/bash | ||||
| 
 | ||||
| # set up paths and whatnot | ||||
| source $HOME/.profile | ||||
| 
 | ||||
| RUBYGEM_PKGS=" | ||||
|     bundler | ||||
|     overcommit | ||||
| " | ||||
| 
 | ||||
| for PKG in $RUBYGEM_PKGS ; do | ||||
|     gem install $PKG | ||||
| done | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user