Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mongo_thread = Thread.new do
- puts "Mongo DB starting.."
- `mongodb-osx-x86_64-2.0.2/bin/mongod`
- end
- sleep(5)
- redis_thread = Thread.new do
- puts "Redis Server starting.."
- `redis-2.4.7/src/redis-server`
- end
- sleep(5)
- Dir.chdir("/Users/forrestslater/Desktop/test_env/soundboard")
- pull_thread = Thread.new do
- puts "git pull"
- 'git pull'
- end
- pull_thread.join
- bundle_thread = Thread.new do
- puts "bundle install"
- `bundle install`
- end
- bundle_thread.join
- puts "rails server"
- `rails server`
Add Comment
Please, Sign In to add comment