Skip to content

Instantly share code, notes, and snippets.

@andrewle
Created March 22, 2013 17:22
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 andrewle/5223116 to your computer and use it in GitHub Desktop.
Save andrewle/5223116 to your computer and use it in GitHub Desktop.
Zeus fix for to_json error
require 'zeus/rails'
class Fixnum
def to_json(options = nil)
to_s
end
end
class CustomPlan < Zeus::Rails
def test
puts ARGV.inspect
require 'simplecov'
SimpleCov.start
super
end
end
Zeus.plan = CustomPlan.new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment