I am building a gem and am occasionally testing it in IRB by using the command: bundle console
. It works fine, but is there a way to reload the gem without restarting the console? Also, I wish to do this in Pry. Any ideas for it?
Asked
Active
Viewed 618 times
3

sawa
- 165,429
- 45
- 277
- 381

Jikku Jose
- 18,306
- 11
- 41
- 61
-
duplicate? http://stackoverflow.com/questions/3463182/reload-rubygem-in-irb – aaaaa says reinstate Monica May 01 '15 at 02:30
-
1It's a half duplicate. irb and pry are different enough that this question could have different answers for them. I would suggest this question be edited to be for pry only, and other remain for irb. – Wayne Conrad May 01 '15 at 12:57
-
1That solution in the claimed duplicate didn't solve my issue. Should I edit my question and explain that it didn't work? – Jikku Jose May 02 '15 at 03:34