Open
Description
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>'
Metadata
Metadata
Assignees
Labels
No labels