-
-
Notifications
You must be signed in to change notification settings - Fork 916
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As far as I can tell, we dont need this on the Gemfile, as people can just `gem install pry` and run: ``` pry -r ./config/environment ``` If they want to use pry.
- Loading branch information
Showing
3 changed files
with
1 addition
and
13 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Submodule cache
updated
4 files
+ − | coderay-1.1.0.gem | |
+ − | method_source-0.8.2.gem | |
+ − | pry-0.10.1.gem | |
+ − | slop-3.6.0.gem |
20073cb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @sferik
(8664225)
20073cb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Who doesn't want to use pry?
20073cb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont know. I know that only adding
pry
to the Gemfile, the default rails console will not bepry
, so i would assume people are not using it, as we dont default to it.As I assumed nobody was using, and this cut about 100ms on boottime, I thought it was worth removing it.
before:
after:
If my assumptions were wrong, let me know so I will revert this.
20073cb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’m okay with this change but I’m not convinced by your run-once benchmark. The 100 milliseconds difference could easily be your system system busy with some other task or just random noise.
It’s true,
pry
was not the default console, but it was occasionally useful to runbundle exec pry
to debug something. That said, I can always add it back to theGemfile
when I occasionally want to do that.20073cb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thats right. The benchmark is really brittle.
I dont know.. TBH I dont care much, if we wanna add it back, it is fine.
20073cb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let’s leave it out for now and see how painful that is.