New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rake generate #440
Comments
friends, solved the problem. was that a post had the word out instead of ruby rails. Python and could not read it. grateful! |
rrmartins: I'm having this same problem. When you solved the problem, what exactly did you do? Not sure what you mean by "had the word out instead of ruby rails" |
Hi @dawnfriedland - I just had this problem too, I suggest that you look at your latest post and debug it by changing things and regenerate until it works. In my case, I had triple backticks on one line ie: |
I decided the problem, placing language 'ruby', in part of code. I put 'rails', and the octopress not recognizes the framework, only the languages ruby, python, C, java .... Example: |
@cemeng how did you fix it ? simply remove all the oneline backticks ? |
@jeromeetienne in my case yes, so all of my code snippets has the opening triple backticks not on the same line to the closing backticks (even if it's a one line code snippet) |
@cemeng thanks |
Or just use |
When I run the command 'rake generate', of the following error, what can I do?
MacBook-Air-de-Rodrigo:rrmartins.github.com rodrigomartins$ rake generate
Generating Site with Jekyll
unchanged sass/screen.scss
'Configuration from /Users/rodrigomartins/Documents/rrmartins/octopress/rrmartins.github.com/_config.yml
Building site: source -> public
/Users/rodrigomartins/.rvm/gems/ruby-1.9.2-p290/gems/rubypython-0.5.3/lib/rubypython/rubypyproxy.rb:198:in
method_missing': ClassNotFound: no lexer for alias 'rails' found (RubyPython::PythonError) from /Users/rodrigomartins/.rvm/gems/ruby-1.9.2-p290/gems/pygments.rb-0.2.4/lib/pygments/ffi.rb:135:in
lexer_for'from /Users/rodrigomartins/.rvm/gems/ruby-1.9.2-p290/gems/pygments.rb-0.2.4/lib/pygments/ffi.rb:91:in
highlight' from /Users/rodrigomartins/Documents/rrmartins/octopress/rrmartins.github.com/plugins/pygments_code.rb:24:in
pygments'from /Users/rodrigomartins/Documents/rrmartins/octopress/rrmartins.github.com/plugins/pygments_code.rb:14:in
highlight' from /Users/rodrigomartins/Documents/rrmartins/octopress/rrmartins.github.com/plugins/backtick_code_block.rb:37:in
block in render_code_block'from /Users/rodrigomartins/Documents/rrmartins/octopress/rrmartins.github.com/plugins/backtick_code_block.rb:13:in
gsub' from /Users/rodrigomartins/Documents/rrmartins/octopress/rrmartins.github.com/plugins/backtick_code_block.rb:13:in
render_code_block'from /Users/rodrigomartins/Documents/rrmartins/octopress/rrmartins.github.com/plugins/octopress_filters.rb:12:in
pre_filter' from /Users/rodrigomartins/Documents/rrmartins/octopress/rrmartins.github.com/plugins/octopress_filters.rb:27:in
pre_render'from /Users/rodrigomartins/Documents/rrmartins/octopress/rrmartins.github.com/plugins/post_filters.rb:112:in
block in pre_render' from /Users/rodrigomartins/Documents/rrmartins/octopress/rrmartins.github.com/plugins/post_filters.rb:111:in
each'from /Users/rodrigomartins/Documents/rrmartins/octopress/rrmartins.github.com/plugins/post_filters.rb:111:in
pre_render' from /Users/rodrigomartins/Documents/rrmartins/octopress/rrmartins.github.com/plugins/post_filters.rb:166:in
do_layout'from /Users/rodrigomartins/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll/post.rb:189:in
render' from /Users/rodrigomartins/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll/site.rb:193:in
block in render'from /Users/rodrigomartins/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll/site.rb:192:in
each' from /Users/rodrigomartins/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll/site.rb:192:in
render'from /Users/rodrigomartins/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll/site.rb:40:in
process' from /Users/rodrigomartins/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/bin/jekyll:250:in
<top (required)>'from /Users/rodrigomartins/.rvm/gems/ruby-1.9.2-p290/bin/jekyll:19:in
load' from /Users/rodrigomartins/.rvm/gems/ruby-1.9.2-p290/bin/jekyll:19:in
MacBook-Air-de-Rodrigo:rrmartins.github.com rodrigomartins$
The text was updated successfully, but these errors were encountered: