Difference between revisions of "Ruby-webby"

From Bashlinux
Jump to: navigation, search
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
= Installation =
 
= Installation =
  +
# Install `oniguruma` development package
As root run the following command:
 
 
Debian: ''libonig-dev''
 
Fedora: ''oniguruma-devel''
 
# As root run the following command:
 
 
 
<pre><nowiki>
 
<pre><nowiki>
Line 9: Line 12:
   
 
The above line will build and install the proper gems in order to setup webby gem, the second line will show the available templates
 
The above line will build and install the proper gems in order to setup webby gem, the second line will show the available templates
 
 
<pre><nowiki>#!wiki note
 
'''oniguruma.h'''
 
 
Probably coderay and/or ultraviolet fails to build with `oniguruma.h: Not Found`. If that is the case, just install:<<BR>>
 
Debian: ''libonig-dev''
 
Fedora: ''oniguruma-devel''
 
</nowiki></pre>
 

Revision as of 07:19, 26 January 2010

Installation

  1. Install `oniguruma` development package
 Debian: libonig-dev
 Fedora: oniguruma-devel
  1. As root run the following command:
 gem install webby haml coderay ultraviolet RedCloth rdiscount bones cucumber
 webby-gen -t
 

The above line will build and install the proper gems in order to setup webby gem, the second line will show the available templates