Commit c1302d4
Changed files (2)
bin/bootstrap-vagrant-user.sh
@@ -1,4 +1,3 @@
-rm -fr $HOME/.rbenv
git clone https://github.com/sstephenson/rbenv.git $HOME/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> $HOME/.bash_profile
echo 'eval "$(rbenv init -)"' >> $HOME/.bash_profile
bin/setup
@@ -12,10 +12,10 @@ Dir.chdir APP_ROOT do
system "gem install bundler --conservative"
system "bundle check || bundle install"
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
+ puts "\n== Copying sample files =="
+ unless File.exist?("config/database.yml")
+ system "cp config/database.yml.example config/database.yml"
+ end
puts "\n== Preparing database =="
system "bin/rake db:setup"