dmathieu / glynn

Unmaintained. See the README - Generate your jekyll blog files and sends them through FTP
MIT License
359 stars 56 forks source link

glynn: command not found #44

Closed guayom closed 8 years ago

guayom commented 9 years ago

I installed the gem and then tried to run glynn, but I get the following error: -bash: glynn: command not found

alistaircom commented 9 years ago

Path issue it sounds like. What happens when you try this command:

which glynn
dmathieu commented 8 years ago

Closing as stale.

ghost commented 8 years ago

I'm having the same issue, I'm getting command not found: glynn

I am using zsh rather than bash, would this be an issue?

$ which glynn
glynn not found

dmathieu commented 8 years ago

This looks like an issue with your ruby installation and your PATH not including the path to gem executables.

ghost commented 8 years ago

Thanks for the reply, I have ruby installed locally at /Users/myname/.rbenv/shims/ruby and running ruby 2.2.3

My PATH is /Users/myname/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

Is it better to have this installed at PATH /usr/local/bin/ ?

I use rbenv with bundler installed via homebrew.

ghost commented 8 years ago

Hi I decided to uninstall rbenv and bundler and just run ruby and gems via /usr/local/bin/ using sudo.

Probably not the best approach but I have Jekyll and Glynn now working.

dmathieu commented 8 years ago

You would need to add /Users/myname/.rbenv/bin to your PATH.