Created
October 4, 2013 22:36
-
-
Save marciol/6833984 to your computer and use it in GitHub Desktop.
Require pry-byebug from outside of bundle with zeus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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