Skip to content

Instantly share code, notes, and snippets.

@marciol
Created October 4, 2013 22:36
Show Gist options
  • Save marciol/6833984 to your computer and use it in GitHub Desktop.
Save marciol/6833984 to your computer and use it in GitHub Desktop.
Require pry-byebug from outside of bundle with zeus
require 'zeus/rails'
class CustomPlan < Zeus::Rails
# def my_custom_command
# # see https://github.com/burke/zeus/blob/master/docs/ruby/modifying.md
# end
def default_bundle
super
Gem.post_reset_hooks.reject!{ |hook| hook.source_location.first =~ %r{/bundler/} }
Gem::Specification.reset
$LOAD_PATH.concat Dir.glob("/home/mlf/.rvm/gems/ruby-2.0.0-p247@global/gems/*/lib")
require 'pry-byebug'
end
end
Zeus.plan = CustomPlan.new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment