Skip to content

Instantly share code, notes, and snippets.

@tyabe
Created November 22, 2011 01:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tyabe/1384645 to your computer and use it in GitHub Desktop.
Save tyabe/1384645 to your computer and use it in GitHub Desktop.
Jenkinsでrvmを使ってrspecを走らせる
#!/var/lib/jenkins/.rvm/bin/rvm-shell ruby-1.9.2
BUNDLE_GEMFILE=$WORKSPACE/Gemfile
RAILS_ENV=test
bundle install --path vendor/bundle
LD_LIBRARY_PATH=/usr/local/lib
rake db:migrate
rake spec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment