Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some dev dependencies to enhance irb #22

Merged
merged 2 commits into from
Mar 22, 2018
Merged

Conversation

marcparadise
Copy link
Member

@marcparadise marcparadise commented Mar 22, 2018

This adds the irbtools and irbtools-more gems. They provide a bunch of irb enhancments including formatting, introspection-based completion, and integrated RI docs. To enable them, add this to ~/.irbrc:

require 'bond' # via irbtools/more 
Bond.start # via irbtools/more

Info: http://irb.tools/

Note that this adds a separate group for bundler, 'localdev', that we exclude in circleci. Something in the circleci environment is causing a conflict on the gem did_you_mean; this works around the issue. We don't need the IRB tools in the build environment anyway.

Signed-off-by: Marc A. Paradise marc.paradise@gmail.com

@marcparadise marcparadise requested a review from a team March 22, 2018 16:47
@marcparadise marcparadise force-pushed the mp/add-irb-tools branch 4 times, most recently from 751a489 to a1078c7 Compare March 22, 2018 19:18
Copy link
Contributor

@tyler-ball tyler-ball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 change, but 👍 otherwise!

@@ -0,0 +1,2 @@
---
BUNDLE_WITH: "localdev"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can exclude this file. By default, a local bundle install will include everything. Leaving this here will interfere with the omnibus work Jon is doing

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't actually intend to check this dir in, thanks!

Copy link
Contributor

@tyler-ball tyler-ball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tenor-206157586

Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
@marcparadise marcparadise merged commit 61fdc09 into master Mar 22, 2018
@marcparadise marcparadise deleted the mp/add-irb-tools branch March 22, 2018 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants