Comments (11)
You have to add "builder" to your Gemfile. The blog template should have given you that, unless you didn't let it overwrite your Gemfile.
from middleman-blog.
Thanks. Added builder to my Gemfile and now it works. I make this mistake over and over.
However, browsing the source code I found no reference to builder, neither in https://github.com/middleman/middleman-blog/blob/master/Gemfile nor in https://github.com/middleman/middleman-blog/blob/master/lib/middleman-blog/template/shared/Gemfile.tt
from middleman-blog.
The problem is you get a feed.xml.builder template, which is built using builder.
from middleman-blog.
Ah, we need to add builder
to the blog template Gemfile then.
from middleman-blog.
It should already be there. I think his problem was he already had a
gemfile and didn't let the template overwrite it.
-Ben
Sent from my phone
On Jun 11, 2012, at 9:30 AM, Thomas Reynolds
[email protected]
wrote:
Ah, we need to add
builder
to the blog template Gemfile then.
Reply to this email directly or view it on GitHub:
#51 (comment)
from middleman-blog.
I've tested again.
$ middleman init . --template=blog
create .gitignore
create config.rb
exist source
create source/2012-01-01-example-article.html.markdown
create source/calendar.html.erb
create source/feed.xml.builder
create source/index.html.erb
create source/layout.erb
create source/tag.html.erb
exist source/stylesheets
exist source/javascripts
exist source/images
I was never prompted for confirmation to overwrite anything.
Could not find any reference to builder in middleman-blog source code.
I agree with tdreyno, but I have not enough expertise to modify the source code and submit a pull request.
Forgive me if I do not sound too kind, english is not my native language.
from middleman-blog.
Thanks @hectorsq
from middleman-blog.
That's really weird. All templates should generate a Gemfile by default...
from middleman-blog.
Weird, I could have sworn that Gemfile included "builder" but it doesn't.
from middleman-blog.
I changed the Gemfile template to include "builder". I realized why I hadn't put it in there before - it used to be a dependency of Middleman itself. Sorry!
from middleman-blog.
Great!
from middleman-blog.
Related Issues (20)
- Add more informations in head of article HOT 2
- Extension should not fail to activate if middleman-core/cli is missing
- Paging on untagged posts HOT 1
- How to make paginate work with localize blog? HOT 2
- Cyrillic tags stopped working in 4.0.2 HOT 2
- Support i18n mount_at_root option in permalinks HOT 3
- 4.0.2 regression bug when specifying the blog in the front-matter HOT 7
- feed.xml error on multi-blog site HOT 1
- RuntimeError flag --blog HOT 1
- 4.0.2 on RubyGems.org has different dependencies to the git repo HOT 3
- Very poor and outdated blog template which does not match with default template HOT 4
- Iterating through blog.tags spits out extraneous frontmatter HOT 5
- How to get links to all calendar/tag pages HOT 5
- Calendar and tag pages without .html aren't rendered within layout automatically HOT 1
- How to configure URLs of articles with underscore HOT 6
- `middleman article` generates incorrect yaml when the title contains characters that should be escaped HOT 1
- Middleman blog frontmatter evaluating files under build directory HOT 3
- preserve i18n locale on non-localized article page HOT 2
- YAML error on Ruby 3.1.0 HOT 7
- Paginate is showing as false even if set in config.rb to true HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from middleman-blog.