Skip to content
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

Publish to Github #11

Open
nacnudus opened this issue Oct 27, 2013 · 0 comments
Open

Publish to Github #11

nacnudus opened this issue Oct 27, 2013 · 0 comments

Comments

@nacnudus
Copy link

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>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant