On 28 Nov 2009, at 09:36, SaForge wrote:
> [..]
>
> I've installed via terminal ruby and gems - both with success-messages
> and then following the tutorial, installed also BlueCloth. It shows me
> that nanoc3 and BlueCloth was installed successfully, but if i go to
> the next step and call "nanoc3 create_site tutorial" it shows me
> "nanoc3: command not found". That's it...
>
> What did i wrong? Or have to start in a specific directory or call
> another (ruby-)console window?
Hi,
You likely don’t have the path to the gem binaries in your $PATH. This directory is “/var/lib/gems/1.8/bin”. In ~/.profile or ~/.bashrc (or whatever the file is that is loaded by your shell), add like this:
export PATH=$PATH:/var/lib/gems/1.8/bin
For some reason, Debian and Ubuntu don’t automatically add this directory to $PATH. This is one of the reasons why I usually recommend installing Ruby and Rubygems from source instead of using the package manager (apt-get or so).
Hope this helps,
Denis
--
Denis Defreyne
denis.d...@stoneship.org