Skip to content

Instantly share code, notes, and snippets.

@roelven
Created April 28, 2011 14:54
Show Gist options
  • Save roelven/946500 to your computer and use it in GitHub Desktop.
Save roelven/946500 to your computer and use it in GitHub Desktop.
Setup your Bentobox using .rvmrc
##
# 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