jekyll_run

Gem Version

jekyll_run Jekyll tag plugin that executes a program and returns the output from STDOUT. Because the output includes the command that was executed, and contains unselectable span tags, this plugin is intended to be embedded within a pre tag.

Installation

Add this line to your application's Gemfile:

gem 'jekyll_run'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install jekyll_run

Additional Information

More information is available on Mike Slinn’s website.

Development

After checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment.

Install development dependencies like this:

$ BUNDLE_WITH="development" bundle install

To build and install this gem onto your local machine, run:

$ bundle exec rake install
jekyll_run 1.0.0 built to pkg/jekyll_run-0.1.0.gem.
jekyll_run (1.0.0) installed.

$ gem info jekyll_run

*** LOCAL GEMS ***

jekyll_run (1.0.0)
    Author: Mike Slinn
    Homepage:
    https://github.com/mslinn/jekyll_run
    License: MIT
    Installed at: /home/mslinn/.gems

    Generates Jekyll logger with colored output.

To release a new version,

  1. Update the version number in version.rb.
  2. Commit all changes to git; if you don't the next step might fail with an unexplainable error message.
  3. Run the following: shell $ bundle exec rake release The above creates a git tag for the version, commits the created tag, and pushes the new .gem file to RubyGems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/mslinn/jekyll_run.

License

The gem is available as open source under the terms of the MIT License.