First-time Ruby user here, and Jekyll is the reason.
First, I installed RVM (on Ubuntu Server 12.04 64-bit):
\curl -L https://get.rvm.io | bash -s stable
And followed the subsequent instructions as guided by the installation process (for e.g. adding source ~/.profile
to ~/.bash_profile
). The FULL INSTRUCTIONS I followed are here.
Read output of rvm requirements
command, and installed all the necessary binaries.
Installed Ruby 1.9.3, configured RVM to use it, and then installed RubyGems, by issuing the following command one after the other:
rvm install 1.9.3
rvm use 1.9.3
rvm rubygems current
Ran ruby --version
to be sure I'm using Ruby 1.9.3.
Then installed Jekyll using the gem:
gem install jekyll
Setup the basic site structure by copying the contents of jekyll/site provided by the official Jekyll repository, then made the necessary changes to _config.yml
and CNAME
.
Here's the thing! When I run jekyll --server
I get the same old TCP/Webrick error (but none of the solutions work).
So, as the Jekyll wiki says, it's probably this:
On Debian or Ubuntu, you may need to add
/var/lib/gems/1.8/bin/
to your path.
The problem is:
In my case,
/var/lib/gems/...
doesn't exist. Probably because I installed Ruby, RubyGems, all using RVM. So, what'd be the path in my case?Again, if I know the path, how am I supposed to "to add
/var/lib/gems/*.*/bin/
to your path"?