owenthereal / jekyll_and_hyde

A HTML presentation generator that generates a basic Jekyll scaffold with Slippy hooking up.

Home Page:https://github.com/jingweno/jekyll_and_hyde

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bash JH not found

braidn opened this issue · comments

Hmm, at first I thought perhaps it was my gems setup was causing a few issues with things however, after getting it sorted out every time I try to invoke "jh new dir" it claims that jh:command not found. I have tested several of my other gems (thor, rake, etc) and all are working, Any ideas? Btw love the concept

Which operating system are you using? And which Ruby version are you in? I have tested against Ruby 1.9 on mac, ubuntu and Windows 7, all of them worked.

The "jh" command should be installed into ${home}/.rvm/gems/${ruby}/bin/jh if you are using RVM; ${ruby}/bin/jh if not using RVM; and ${ruby}\bin\jh.bat on Windows.

It may be related to your path setting. Maybe you could paste your ruby path, gem path, and the exact errors you are getting here so I can help you a bit.

I am glad you like it. Please feel free to contribute to this project and make it a better one :).

Oops my bad, OS X 10.6.6 ruby version 1.9.2 (installed and managed through homebrew). I have been wondering if I should be managing ruby through RVM but my gem env command is lookIng at the right directory and all the other gens seem to be good. Quite bizarre

http://cl.ly/4TzR a really good screenshot to show off the install process, gem home, jh bash. And here is a shot http://cl.ly/4TDS of my ruby/version/bin/

ok, i prob. know why, it might be related to the ruby/gem that you are currently using is not the one that you installed jekyll_and_hyde. Trying typing "which ruby" and "which gem". You need to set up GEM_HOME to point to the one you installed jh.

problem solved! Thanks jingweno. It was a problem with the brewbygems and my bash file.

you are welcome! marking this issue close