Skip to content

Instantly share code, notes, and snippets.

View joerichsen's full-sized avatar

Jørgen Orehøj Erichsen joerichsen

  • erichsen.net
  • Århus, Denmark
View GitHub Profile
Mysql::Error: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT active_record_1
/Users/joe/projects/foobar/vendor/gems/ar-extensions-0.9.2/lib/ar-extensions/create_and_update.rb:216:in `save!'
/Users/joe/projects/foobar/vendor/plugins/object_daddy/lib/object_daddy.rb:228:in `generate!'
/Users/joe/projects/foobar/vendor/plugins/object_daddy/lib/object_daddy.rb:40:in `spawn'
/Users/joe/projects/foobar/vendor/plugins/object_daddy/lib/object_daddy.rb:227:in `generate!'
./spec/models/user_spec.rb:671:
/Users/joe/projects/foobar/vendor/gems/hydra-0.16.5/lib/hydra/runner.rb:131:in `run_rspec_file'
/Users/joe/projects/foobar/vendor/gems/hydra-0.16.5/lib/hydra/runner.rb:39:in `run_file'
/Users/joe/projects/foobar/vendor/gems/hydra-0.16.5/lib/hydra/message/worker_messages.rb:19:in `handle'
/Users/joe/projects/foobar/vendor/gems/hydra-0.16.5/lib/hydra/runner.rb:69:in `process_messages'
1) Failure:
test: with a file to test and a destination to verify should run a test via ssh. (MasterTest)
[./test/master_test.rb:93:in `__bind_1271767187_566747'
/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `call'
/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/shoulda-2.10.3/lib/shoulda/context.rb:362:in `test: with a file to test and a destination to verify should run a test via ssh. ']:
<false> is not true.
2) Failure:
test: with a file to test and a destination to verify should be able to run a runner over ssh. (RunnerTest)
[./test/runner_test.rb:113:in `__bind_1271767190_123966'
/Users/joe/projects/foobar/vendor/gems/ar-extensions-0.9.2/lib/ar-extensions/create_and_update.rb:216:in `save!'
/Users/joe/projects/foobar/vendor/plugins/object_daddy/lib/object_daddy.rb:228:in `generate!'
/Users/joe/projects/foobar/vendor/plugins/object_daddy/lib/object_daddy.rb:40:in `spawn'
/Users/joe/projects/foobar/vendor/plugins/object_daddy/lib/object_daddy.rb:227:in `generate!'
./spec/models/book_spec.rb:265:
/Users/joe/projects/foobar/vendor/gems/hydra-0.16.2/lib/hydra/runner.rb:131:in `run_rspec_file'
/Users/joe/projects/foobar/vendor/gems/hydra-0.16.2/lib/hydra/runner.rb:39:in `run_file'
/Users/joe/projects/foobar/vendor/gems/hydra-0.16.2/lib/hydra/message/worker_messages.rb:19:in `handle'
/Users/joe/projects/foobar/vendor/gems/hydra-0.16.2/lib/hydra/runner.rb:69:in `process_messages'
/Users/joe/projects/foobar/vendor/gems/hydra-0.16.2/lib/hydra/runner.rb:26:in `initialize'
#!/usr/bin/ruby
# Adapted version of http://griffin.oobleyboo.com/archive/ruby-enterprise-edition-gem-install-script/
# The command to run for your vanila Ruby 'gem' command
OLD_GEM='gem'
# The command to run for REE's 'gem' command
NEW_GEM='/opt/ruby-enterprise-1.8.6-20081205/bin/ruby /opt/ruby-enterprise-1.8.6-20081205/bin/gem'
output=`#{OLD_GEM} list`
# Install MySQL gem using the MacPorts mysql
sudo -s
ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config
#!/usr/bin/ruby
# Adapted version of http://griffin.oobleyboo.com/archive/ruby-enterprise-edition-gem-install-script/
# The command to run for your vanila Ruby 'gem' command
OLD_GEM='gem'
# The command to run for REE's 'gem' command
NEW_GEM='/opt/ruby-enterprise-1.8.6-20080810/bin/ruby /opt/ruby-enterprise-1.8.6-20080810/bin/gem'
output=`#{OLD_GEM} list`
git clone git://github.com/lachie/appjour.git
git clone git://github.com/giraffesoft/blank.git
git clone git://github.com/joshuaclayton/blueprint-css.git
git clone git://github.com/fudgestudios/bort.git
git clone git://github.com/jamis/capistrano.git
git clone git://github.com/kesor/crowd.git
git clone git://github.com/tenderlove/dejour.git
git clone git://github.com/thoughtbot/factory_girl.git
git clone git://github.com/fiveruns/fiveruns_tuneup.git
git clone git://github.com/evanphx/gemjour.git
#!/bin/bash
# Inspired by http://blog.fiveruns.com/2008/9/24/rails-automation-at-slicehost
yum install -y l gcc-c++ zlib-devel openssl-devel
yum install -y mysql-server mysql-devel
/etc/init.d/mysqld start
yum install -y ruby rdoc ruby-devel
RUBYGEMS="rubygems-1.3.1"
wget http://rubyforge.org/frs/download.php/45905/$RUBYGEMS.tgz