Readme and Changelog utility commands to bundler #1484

Closed
wants to merge 8 commits into from

6 participants

@gudleik

Hi,

I've added two utility commands to bundler for quick access to the Readme and Changelog of a bundled gem:

Print the gem Readme file using less:

# bundle readme rails 

Print the gem Changelog file using less:

# bundle changelog rails

gudleik

@ognevsky

+1 for this feature.

@bonsaiben

+1 for Readme

i created a bash function in the meantime:

function readme { cat `bundle show $1`/README.md; }

https://gist.github.com/2516253

@whoru7777

I am sorry but I don't understand this fixed the error?

@whoru7777

Undefined local variable or method `rspec' for Gemfile (Bundler::GemfileError)

@ixti
Bundler member

@gudleik can you rebase your patch on top of master branch and leave changes related to proposed feature only?

@indirect
Bundler member

This is a great example of something that would be a good bundler plugin, but that I don't have time to maintain as part of Bundler's core. Do you have time to talk about how to extract this to a plugin and provide a good API so this code can be used? Thanks!

@indirect indirect closed this Aug 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment