Да, вы можете.Настройте Jenkins, убедитесь, что в вашей системе установлен Ruby (включая RVM, bundler, mysql и все, что вам нужно).
Затем создайте задание с помощью этих команд сборки;
#!/bin/bash
source ~/.profile
rvm use --create ruby-1.8.7@my_app
rvm --force gemset empty
gem install bundler --no-rdoc --no-ri
bundle install
cp config/database.yml.jenkins config/database.yml
bundle exec rake db:create:all
bundle exec rake db:migrate
bundle exec rake db:test:prepare
Для огурцов
#!/bin/bash
source ~/.profile
rvm use ruby-1.8.7@my_app
bundle exec rake cucumber
Для RSpec
#!/bin/bash
source ~/.profile
rvm use ruby-1.8.7@my_app
bundle exec rake spec