Created
April 28, 2011 14:54
-
-
Save roelven/946500 to your computer and use it in GitHub Desktop.
Setup your Bentobox using .rvmrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Use this file as your .rvmrc in your SoundCloud directory | |
# | |
# $ vagrant up | |
# $ vagrant ssh | |
## (You're now inside the VM) | |
# $ sudo su soundcloud | |
# $ cd shared_folder | |
# | |
# The VM will now run bundle install, bootstrap your db + populate it, and start the app. | |
# Off you go! | |
# | |
## | |
rvm use ruby-1.9.2-p136@soundcloud | |
USER=`whoami` | |
if [ "${USER}" == "soundcloud" ]; then | |
bundle install; | |
rake db:bootstrapize && rake spec:db:fixtures:load | |
DEBUG=1 rake soundcloud:development:start_justapp | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment