2010-08-16

Gemify Rails 3 engines

Recently I have studied a lot Rails 3 code and all it's classes such as Application, Engines, Railties, initialization etc and I'm pretty pleased what I see so far.

Meanwhile I'm porting over one Rails 2 project into 3 and along the way started to extract stuff into "Engineered" gem in order to make gemifing engines easier.

"Engineered" gem is far from ready at the the moment, treat it as spike.

Currently we have got engine's app/stylsheets and app/javascripts directories what will be compiled into host app's public directory as compiled files: public/stylesheets/compiled/screen.css and public/javascripts/compiled/application.js

Under the hood we are using Sass and Sprockets, so "Engineered" gem itself is as thin as possible.

Anyhow, play with it and looking for feedback. Probably will soonish release it properly and talk about it here as well.

By the way, I'm moving to London on 9th of September. I had very nice time in Barcelona and going to miss a lot it's perfect weather and beach.