26/1/2007
28/11/2006
Using the Rake Build Language
Excelente artÃculo para entender el uso del sistema de construcción (build system) para Ruby : Rake
20/11/2006
Ruby 1.8.4 on Mac OS X Panther
I use Fink to manage my Mac Mini, a Panther box which is patiently waiting for some Leopard love
In the meantime, if you need a fairly recent install of Ruby (1.8.4 at time of writing) on a Panther box (PPC or Intel), here’s a quick list fo things to do, the Fink way:
- Fink can take care of absolutely everything you need, but sometimes you need to use it’s unstable repositories. The latest ruby is in it’s unstable repositories.
From Fink’s FAQ:
- After editing the file be prepared to wait a long time, since the fink selfupdate, index and scanpackages commands will download and rebuild all sorts of stuff inside the fink install. Eventually all the compilation will stop, and then you can do the following incantations:
sudo fink install ruby
and after that:
sudo fink install rubygems-rb18
- that’s it, now you have a fully working ruby install inside /sw. It compiled ruby, abd so, it automagically added the readline library, giving you a proper irb and should you want to go the Rails way, a working console also.
Should you find a borken IRB: rename /usr/local/irb to /usr/local/irb-old
- ** NOTE ** the PATH is very important issue here. Please note I did not mention anything about removing the current OS X ruby install or anything of that sort. I found quite usefull to add the following line to the bottom of /etc/profile
source /sw/bin/init.sh
(which is a step that you should have done when installing fink, anyway)
Enjoy.
14/11/2006
RakeWeb 1.0
RakeWeb 1.0
—– SPANISH ———-
RakeWeb es un sistema que permita la generación de sitios de web de forma simple. No es una herramienta avanzada para la administración de grandes portales, ni tampoco es un CMS. RakeWeb toma las plantillas que tú hayas creado y las convierte en un conjunto de páginas de web, con una navegación común.
RakeWeb está creado utilizando el "sistema de construcción" (build system) denominado Rake, que a su vez está creado en el lenguaje Ruby. Adicionalmente puede utilizar ERB, que permite ejecutar código Ruby al momento de replicar las plantillas, y por último utiliza YAML, que es un formato simple de almacenamiento de datos nativo del lenguaje Ruby.
El proyecto está alojado en http://rakeweb.rubyforge.org/
—– ENGLISH ——–
RakeWeb is a system that allows for static website generation in a very simple way. I’ts not an advanced tool for managing huge portals, nor is it a CMS. RakeWeb uses any templates of your own making and turns them into a coherent set of web pages, with a common navigation.
RakeWeb is created using the build system known as Rake, which itself is created using the Ruby programming language. It can use ERB, executing Ruby code at generation time. It also uses YAML, which is a simple format for storing data, native to Ruby.
The project is hosted at Rubyforge: http://rakeweb.rubyforge.org/