rfelix / jekyll_ext Goto Github PK
View Code? Open in Web Editor NEWMy attempt to make Jekyll more extendable and to make extensions portable
Home Page: http://rfelix.com/2010/01/19/jekyll-extensions-minus-equal-pain/
My attempt to make Jekyll more extendable and to make extensions portable
Home Page: http://rfelix.com/2010/01/19/jekyll-extensions-minus-equal-pain/
6 opening
Using Jekyll 0.6.2, I do not seem to have a version method on the Jekyll module, which causes ejekyll to explode.
* Running Jekyll with auto-generation and server
/Users/jose/.rvm/gems/ree-1.8.7-2010.01/gems/jekyll_ext-0.1.1/bin/ejekyll:24:in `alias_method': undefined method `version' for class `Module' (NameError)
from /Users/jose/.rvm/gems/ree-1.8.7-2010.01/gems/jekyll_ext-0.1.1/bin/ejekyll:24
from /Users/jose/.rvm/gems/ree-1.8.7-2010.01/bin/ejekyll:19:in `load'
from /Users/jose/.rvm/gems/ree-1.8.7-2010.01/bin/ejekyll:19
Removing the override in bin/ejekyll fixes the issue.
At the moment, the jekyll executable script in jekyll_ext was copied directly from the original jekyll_gem and altered to load jekyll_ext.
A better way has been proposed (http://gist.github.com/379361) which will also avoid people having to fiddle with jekyll_ext and change directory paths.
Installing jekyll_ext should be as easy as possible.
Make installation process easier on users by converting this project into a Gem
Duplicate of rfelix/my_jekyll_extensions#3. Filing it here too for anyone who's reading up on this in the meantime.
Just getting into Jekyll and found this, but seems quite old. You could just have an "extend.rb" though and then you don't need a separate executable:
Gemfile:
gem "jekyll_ext", require: "extend.rb",
And extend just does the monkey patch directly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.