Main website for http://ruhoh.com
Released under the MIT license.
=)
Home Page: http://ruhoh.com
Main website for http://ruhoh.com
Released under the MIT license.
I am a beginner and can't publish to github by using to the instructions here: http://ruhoh.com/docs/2/ and here: http://ruhoh.com/docs/2/publish/. Ruhoh looks like a fantastic tool, so I'd really appreciate getting this to work.
mkdir ruhoh-site
cd ruhoh-site
touch Gemfile
echo "source \"https://rubygems.org\"" >> Gemfile
echo "gem 'ruhoh', \"~> 2\"" >> Gemfile
bundle install
git clone https://github.com/ruhoh/theme-bootstrap-2.git theme-bootstrap-2
Create config.yml in ruhoh-site directory with these lines:
"theme-bootstrap-2" :
"use" : "theme"
Download the github script:
mkdir plugins
cd plugins
git clone https://gist.github.com/6667109.git github.rb
Make it a git directory:
cd ..
git init
git remote add origin https://github.com/USERNAME/ruhoh-site
Publish to github:
bundle exec ruhoh publish github
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.0
Using theme: "theme-bootstrap-2"
/var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh.rb:137:in `require': cannot load such file -- /home/nacnudus/ruhoh-site/plugins/github.rb (LoadError)
from /var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh.rb:137:in `block in setup_plugins'
from /var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh.rb:137:in `each'
from /var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh.rb:137:in `setup_plugins'
from /var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh/client.rb:45:in `initialize'
from /var/lib/gems/1.9.1/gems/ruhoh-2.5/bin/ruhoh:34:in `new'
from /var/lib/gems/1.9.1/gems/ruhoh-2.5/bin/ruhoh:34:in `<top (required)>'
from /usr/local/bin/ruhoh:23:in `load'
from /usr/local/bin/ruhoh:23:in `<main>'
I tried moving github.rb to a publish
directory as described in the file itself:
mkdir plugins/publish
mv plugins/github.rb publish/
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.0
Using theme: "theme-bootstrap-2"
/var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh.rb:137:in `require': cannot load such file -- /home/nacnudus/ruhoh-site/plugins/publish/github.rb (LoadError)
from /var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh.rb:137:in `block in setup_plugins'
from /var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh.rb:137:in `each'
from /var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh.rb:137:in `setup_plugins'
from /var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh/client.rb:45:in `initialize'
from /var/lib/gems/1.9.1/gems/ruhoh-2.5/bin/ruhoh:34:in `new'
from /var/lib/gems/1.9.1/gems/ruhoh-2.5/bin/ruhoh:34:in `<top (required)>'
from /usr/local/bin/ruhoh:23:in `load'
from /usr/local/bin/ruhoh:23:in `<main>'
I've blog using jekyllbootstrap and contain several posts, is there any tools to migrate that posts automatically to ruhoh ?
Links in the nav bar inherit a dark text-shadow from the bootstrap CSS. Now that the background has been overridden to be light, not dark, and the color has become a dark green, the text-shadow just makes the text look headache-inducingly blurry. I would have suggested a fix directly to style.css, but it looks to be unforkable.
In line 57 of themes/twitter/stylesheets/style.css, just add this line: text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.7);
(or similar)
You need to use a CNAME record instead of framing.
ps ruhoh looks awesome!
E:\Dray\Git\Sites\ruhohblog1>rackup -p 9292
0 posts to process.
0 drafts to process.
�[32m6/6 pages processed.�[0m
E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0.3/lib/ruhoh/
utils.rb:23:in `parse_file': File not found: E:/Dray/Git/Sites/ruhohblog1/E:/Dra
y/Git/Sites/ruhohblog1/_templates/themes/twitter/layouts/default.html (RuntimeEr
ror)
from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0
.3/lib/ruhoh/parsers/layouts.rb:11:in `block in generate'
from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0
.3/lib/ruhoh/parsers/layouts.rb:9:in `each'
from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0
.3/lib/ruhoh/parsers/layouts.rb:9:in `generate'
from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0
.3/lib/ruhoh/db.rb:26:in `update'
from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0
.3/lib/ruhoh/db.rb:39:in `block in update!'
from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0
.3/lib/ruhoh/db.rb:38:in `each'
from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0
.3/lib/ruhoh/db.rb:38:in `update!'
from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0
.3/lib/ruhoh/previewer.rb:18:in `initialize'
from E:/Dray/Git/Sites/ruhohblog1/config.ru:10:in `new'
from E:/Dray/Git/Sites/ruhohblog1/config.ru:10:in `block in <main>'
from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
1/lib/rack/builder.rb:51:in `instance_eval'
from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
1/lib/rack/builder.rb:51:in `initialize'
from E:/Dray/Git/Sites/ruhohblog1/config.ru:1:in `new'
from E:/Dray/Git/Sites/ruhohblog1/config.ru:1:in `<main>'
from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
1/lib/rack/builder.rb:40:in `eval'
from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
1/lib/rack/builder.rb:40:in `parse_file'
from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
1/lib/rack/server.rb:200:in `app'
from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
1/lib/rack/server.rb:301:in `wrapped_app'
from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
1/lib/rack/server.rb:252:in `start'
from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
1/lib/rack/server.rb:137:in `start'
from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
1/bin/rackup:4:in `<top (required)>'
from E:/Dray/RailsInstaller/Ruby1.9.2/bin/rackup:19:in `load'
from E:/Dray/RailsInstaller/Ruby1.9.2/bin/rackup:19:in `<main>'
Just a little wording issue unless I'm reading incorrectly.
On https://github.com/ruhoh/ruhoh.com/blob/master/docs/2/index.md under "Add Theme" (#toc_3) it says "Finally, every theme-level file can be overwritten by providing the same file within your site directory "ruhoh-site".
My understanding from the documentation elsewhere is theme-level being the highest level...not the other way around.
The ideal way to reference an image would be: ![Pupil]({{urls.media}}/Pupil.png)
This allows us to have images work in development mode and for the published blog. Great! However, this doesn't work well for rss because the path is relative: /assets/media/Pupil.png
I would expect that the generated rss.xml would preappend the production_url
to urls. Otherwise, what is the expected use case?
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.