Skip to content

Instantly share code, notes, and snippets.

@mcollina
Created October 5, 2011 15:30
Show Gist options
  • Save mcollina/1264729 to your computer and use it in GitHub Desktop.
Save mcollina/1264729 to your computer and use it in GitHub Desktop.
Syck::Syck errors for Delayed Job
require 'yaml'
puts "loading 'wrong' yaml without DJ"
puts (YAML.load_file 'example.yml').inspect
puts "requiring DJ"
require 'active_record'
require 'delayed_job'
puts (YAML.load_file 'example.yml').inspect
source 'http://rubygems.org'
gem "delayed_job", "~> 3.0.0.pre"
gem "activerecord"
GEM
remote: http://rubygems.org/
specs:
activemodel (3.1.0)
activesupport (= 3.1.0)
bcrypt-ruby (~> 3.0.0)
builder (~> 3.0.0)
i18n (~> 0.6)
activerecord (3.1.0)
activemodel (= 3.1.0)
activesupport (= 3.1.0)
arel (~> 2.2.1)
tzinfo (~> 0.3.29)
activesupport (3.1.0)
multi_json (~> 1.0)
arel (2.2.1)
bcrypt-ruby (3.0.1)
builder (3.0.0)
daemons (1.1.4)
delayed_job (3.0.0.pre)
activesupport (~> 3.0)
daemons
i18n (0.6.0)
multi_json (1.0.3)
tzinfo (0.3.30)
PLATFORMS
ruby
DEPENDENCIES
activerecord
delayed_job (~> 3.0.0.pre)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment