You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For performing one-off operations in the exact same context that Rake tasks run in (loaded libraries, whatever constant initialization is triggered by the Rakefile loading, etc.)
Sometimes you want to try something out before you turn it into a rake task. Sometimes you want to do something exactly once, but with the whole Rake context loaded.
It would be handy to have an option to start an IRB session in the context of the current Rake workspace, e.g.:
$ rake --console irb(main):001:0>
We can currently get the same effect with
-e
, but there's some nonobvious work to keep IRB from getting confused by the Rake command-line arguments.If this is a contribution others would be interested in, I wouldn't mind adding it.
The text was updated successfully, but these errors were encountered: