fixed vagrantfile (#3897)
This commit is contained in:
		
							parent
							
								
									e27f792c24
								
							
						
					
					
						commit
						7bc1805827
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		
							
								
								
									
										3
									
								
								Vagrantfile
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								Vagrantfile
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -45,6 +45,9 @@ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB8
 | 
				
			||||||
curl -sSL https://get.rvm.io | bash -s stable --ruby=$RUBY_VERSION
 | 
					curl -sSL https://get.rvm.io | bash -s stable --ruby=$RUBY_VERSION
 | 
				
			||||||
source /home/vagrant/.rvm/scripts/rvm
 | 
					source /home/vagrant/.rvm/scripts/rvm
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Install Ruby
 | 
				
			||||||
 | 
					rvm install ruby-$RUBY_VERSION
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Configure database
 | 
					# Configure database
 | 
				
			||||||
sudo -u postgres createuser -U postgres vagrant -s
 | 
					sudo -u postgres createuser -U postgres vagrant -s
 | 
				
			||||||
sudo -u postgres createdb -U postgres mastodon_development
 | 
					sudo -u postgres createdb -U postgres mastodon_development
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue