Difference between revisions of "Ruby-webby"

From Bashlinux
Jump to: navigation, search
 
Line 5: Line 5:
 
<pre><nowiki>
 
<pre><nowiki>
 
gem install webby haml coderay ultraviolet RedCloth rdiscount bones cucumber
 
gem install webby haml coderay ultraviolet RedCloth rdiscount bones cucumber
  +
webby-gen -t
 
</nowiki></pre>
 
</nowiki></pre>
   
  +
The above line will build and install the proper gems in order to setup webby gem, the second line will show the available templates
   
 
 

Revision as of 07:14, 26 January 2010

Installation

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


#!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''