Git Product home page Git Product logo

heroku-buildpack-ruby-jekyll's Introduction

Heroku Ruby Jekyll Buildpack

Heroku Ruby Jekyll Buildpack is a fork of Heroku's official Ruby buildpack with added support for generating static Jekyll sites during the build/deployment stage.

With this buildpack you no longer need pre-build the site or commit the _site build directory to your repo. This simplifies the deployment process and keeps the repo clean. All of the standard Ruby tools are maintained in this buildpack, so you can take full advantage of Rack middleware and other useful tools from the Ruby ecosystem.

Usage

heroku create --buildpack http://github.com/mattmanning/heroku-buildpack-ruby-jekyll.git

or add this buildpack to your current app

heroku config:add BUILDPACK_URL=http://github.com/mattmanning/heroku-buildpack-ruby-jekyll.git

Create a Ruby web app with dependencies managed by Bundler and a Jekyll site. Heroku-Jekyll-Hello-World can be used as a sample starter.

git push heroku master

Watch it "Building jekyll site"

-----> Fetching custom git buildpack... done
-----> Ruby/Rack app detected
-----> Installing dependencies using Bundler version 1.3.0.pre.5
       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment
       Using posix-spawn (0.3.6)
       Using albino (1.3.3)
       Using fast-stemmer (1.0.0)
       Using classifier (1.3.3)
       Using daemons (1.1.4)
       Using directory_watcher (1.4.1)
       Using eventmachine (0.12.10)
       Using kramdown (0.13.3)
       Using liquid (2.3.0)
       Using syntax (1.0.0)
       Using maruku (0.6.0)
       Using jekyll (0.11.0)
       Using rack (1.3.5)
       Using rack-contrib (1.1.0)
       Using rack-rewrite (1.2.1)
       Using thin (1.3.1)
       Using bundler (1.3.0.pre.5)
       Your bundle is complete! It was installed into ./vendor/bundle
       Cleaning up the bundler cache.
       Would have removed bundler (1.2.1)
       Building jekyll site
       Configuration from /tmp/build_2khwpm40t8wev/_config.yml
       Building site: . -> ./_site
       Successfully generated site: . -> ./_site
-----> Discovering process types
       Procfile declares types     -> web
       Default types for Ruby/Rack -> console, rake

-----> Compiled slug size: 6.1MB
-----> Launching... done, v99
-----> Deploy hooks scheduled, check output in your logs
       http://mattmanning.herokuapp.com deployed to Heroku

See Also

The blog post introducing this buildpack: http://mwmanning.com/2011/11/29/Run-Your-Jekyll-Site-On-Heroku.html.

heroku-buildpack-ruby-jekyll's People

Contributors

burkemw3 avatar calebhearth avatar catsby avatar danp avatar ddollar avatar dmathieu avatar dyegocosta avatar hone avatar icco avatar jfilip avatar jkutner avatar juanitofatas avatar mattgraham avatar mattmanning avatar mikehale avatar mmcgrana avatar oguzbilgic avatar orlando avatar rcs avatar rmontgomery429 avatar rohitpaulk avatar rstacruz avatar schneems avatar segiddins avatar stefansundin avatar stevenh512 avatar sumbach avatar wuputah avatar yangchenyun avatar znz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

heroku-buildpack-ruby-jekyll's Issues

Heroku push rejected, no Cedar-supported app detected

I'm seeing this output when I try to push to Heroku today. (I wasn't getting this problem last time I pushed, about three days ago.)

[master 88b57ad] test
 2 files changed, 2 insertions(+), 1 deletions(-)
Counting objects: 9, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 464 bytes, done.
Total 5 (delta 3), reused 0 (delta 0)

-----> Fetching custom git buildpack... done
 !     Heroku push rejected, no Cedar-supported app detected

My heroku:config includes this line:

BUILDPACK_URL: http://github.com/mattmanning/heroku-buildpack-ruby-jekyll.git

If I remove that (heroku config:remove BUILDPACK_URL), I can push with no issues. So I suspect it's something to do with the changes made in the last few days - though looking over them, I'm not sure what it could be. Any ideas?

Depreciated Jekyll build command

The jekyll build command in /lib/language_pack/ruby.rb on line 600 is depreciated.
It needs to be updated to work with the new syntax of Jekyll.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.