Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Installing kindlegen command via gem
Ruby

README.md

Kindlegen

Easy to install kindlegen command via gem.

When you run this gem, it will download a tarball of kindlegen from amazon.com and extract it. Then you can find the command file in "$GEMPATH/bin".

Using from Ruby

Require kindlegen, then run kindlegen commands.

Kindlegen.command

Returns the path of the kindlegen command.

Kindlegen.run( *args )

Runs the kindlegen command with specified parameters.

Example

require 'kindlegen'
Kindlegen.run("sample.opf", "-o", "sample.mobi")
Something went wrong with that request. Please try again.