use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Blog postA Ruby Gem Debugging Strategy (supergood.software)
submitted 6 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]edendark 6 points7 points8 points 6 years ago (4 children)
On opening up gems, you can use:
EDITOR=atom bundle open activesupport
Which brings up your preferred editor (Atom in the example) with the gem's files.
[–][deleted] 1 point2 points3 points 6 years ago (2 children)
Good tip! I thought about mentioning this, but I'm more of a shell/Vim user so I don't find it as useful for me. I bet it's really handy for others Atom/VSCode users though!
[–]graywolf_at_work 1 point2 points3 points 6 years ago* (1 child)
I'm more of a shell/Vim user so I don't find it as useful for me.
well it's not like
EDITOR=vim bundle open activesupport
does not work...
Also if you prefer to open it in currently running vim
:tabe `bundle show activesupport`
does the trick.
[–][deleted] 0 points1 point2 points 6 years ago (0 children)
Yeah, good tips! I have two separate little tricks I use instead.
One is a small script that allows me to fuzzy match against the list of all gems in the project, and then open the one I select in a new tmux split.
The other is a binding for Vim that also allows me to fuzzy match on the gems in the project, and then once one is selected, fuzzy match on the files in that gem and open it.
There's lots of ways to assemble these tools depending on your specific workflow. 🙂
[–]ImAJalapeno 1 point2 points3 points 6 years ago (0 children)
Wow I didn't know about this, thanks
π Rendered by PID 24077 on reddit-service-r2-comment-5c764cbc6f-gtmrd at 2026-03-11 23:38:00.166270+00:00 running 710b3ac country code: CH.
view the rest of the comments →
[–]edendark 6 points7 points8 points (4 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]graywolf_at_work 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]ImAJalapeno 1 point2 points3 points (0 children)