Exploring Gems with Bundler

Have you ever been interested in the internals of a gem? Well, it turns out to be very easy to look at the source. I am using Sublime Text in this case, and the command simply is

subl `bundle show gemname`

Calling bundle show gem will list the location of the specified gem, and we are passing it to Sublime Text to open the folder.

Explore to your hearts content!

blog comments powered by Disqus