RSS | Archive | Random

About

I'm Diego Fernández and I work as a web developer at Simplelogica instead of design games sitting on my sailboat.

Stuff

23 March 11

rawclone: quickly set up your gems development machine

I start on a project which is somehow working (or even in production) and setting up gems without bundler is a pain in the ass every single time (I’ve never seen a rake gems:install run without breaking along the process several times…). Most of the time you end up running a combination of rake gems:install and manual gem installation, dealing with dependencies along the way.

So, if you’ve found yourself in the situation maybe this could help. I’ve been using this dirty script for some time now. Info from the source code:

# So you want to start developing an already “working” project. No
# bundle, config.gem’s not present or messing up dependencies. Fear
# not!
# Do a “gem list” wherever the project is already working
# (production?, some colleague machine?). Make a file with this format:
#
# chronic (0.2.3)
# colored (1.1)
# daemons (1.0.10)
# fastercsv (1.4.0)
# fastthread (1.0.7)
# feed-normalizer (1.5.1)
# feedtools (0.2.26)
# ferret (0.11.4)
# gcnovus-avatar (0.0.7)
# gem_plugin (0.2.3)
# gettext (1.93.0, 1.9.0)
#
# Run “rawclone yourgemsfile” on your machine and your ready to go.
#
# Tip 1: You could add this file to your repo for easy sharing and
# faster developing machine setup
#
# Tip 2: I would not recommend this without a proper rvm installation.
#
# Tip 3: Seriously install, configure and learn to use rvm.
#
# Tip 4: Eat more vegetables and be happy.

You can see/get/fork it here

Tags: rails
23 September 10

Keep calm and carry on

Spain Debt Crisis ‘Exaggerated’: Prime Minister

Dónde nuestro presidente dice, entre otras cosas, que el precio de la vivienda ha tocado fondo.

El presidente de la CEOE ha hecho un llamamiento a todos los empresarios para que ninguna empresa cierre el día de la huelga general

Dónde Díaz Ferran dice, entre otras cosas, que la gran mayoría de los ciudadanos quieren trabajar.

España rechaza la petición de investigar las desapariciones en el franquismo

Dónde el embajador español ante la ONU en Ginebra dice, entre otras cosas, que los jueces y tribunales españoles instruyen y juzgan todas las denuncias sobre desapariciones que ante ellos se formulan.

Todo va bien.

16 July 10

Reblogged: teletexto

Themed by Hunson. Originally by Josh