Category Archives: Ruby on Rails

Rails cluster with Ruby load balancer using Docker

Lately I discovered Docker. I made a quick presentation on it for the rivierarb meetup of february 2014 (slides available). As an example of Docker’s usage, I decided to make something cool: a Rails cluster, with a Ruby load balancer … Continue reading

Howto, Ruby, Ruby on Rails, Web development , , , , , , , , , ,

A quick message queue benchmark: ActiveMQ, RabbitMQ, HornetQ, QPID, Apollo…

Lately I performed a message queue benchmark, comparing several queuing frameworks (RabbitMQ, ActiveMQ…). Those benchmarks are part of a complete study conducted by Adina Mihailescu, and everything was presented at the April 2013 riviera.rb meet-up. You should definitely peek into … Continue reading

Benchmark, Ruby, Ruby on Rails , , , , , , , , , , , , , , ,

Monitor your systems using Monit on shared hosts non-root – Example with Rails3/Capistrano

Do you know Monit? You definitely should. This is a high-quality and mature Open Source project, very well documented, that can monitor all your system resources (global and process-based). It is lightweight, efficient, can take corrective actions (restart servers…), provides … Continue reading

Howto, Monitoring, Ruby on Rails, Web development , , , , , , , , , , , , ,

Deploy Rails 3 Unicorn applications using Capistrano on a shared web host non-root

In my struggle to have complete Rails3 environments setup in shared web hosts, the deployment step was missing. Lately I managed to deploy Rails3 Unicorn applications using Capistrano on a shared web host, as a non-root user with very limited … Continue reading

Git, Howto, Ruby on Rails, Web development , , , , , , , , , , ,

Installing Rails 3 nginx unicorn on a shared web host non-root

Lately I tried to install a complete Rails 3 nginx unicorn web stack on a shared host without root privileges, in my user home directory. Ruby and Rails3 setup nginx setup Unicorn setup Unicorn setup with nginx In this process, … Continue reading

Howto, Ruby on Rails, Web development , , , , , , ,

Migrating big applications from Rails 2 to Rails 3

Today will have a rather long and technical post, focused on all the steps needed for migrating big applications from Rails 2 to Rails 3. First question: why bother? Rails 2 is great, but Rails 3 is awesome. Apart from … Continue reading

Howto, Ruby on Rails, Web development , , , , , , , , , , , , ,

Howto install Redmine on Heroku

A little howto to get Redmine running on Heroku: Install Redmine locally. Follow instructions given on the Redmine Install page. I used development mode only in this step. Setup git in the repository with git init Edit the .gitignore file, … Continue reading

Git, Heroku, Howto, Ruby, Ruby on Rails, Web development , , , , ,

Unobtrusive Ajax on Rails3: Welcome to rails-ajax

My recent contribution to Rails: rails-ajax. Here is its story: I am always amazed to see how simple the Ajax use-case can be, how many websites could take benefit from a basic Ajax setup, and yet how difficult it is … Continue reading

New gem, Ruby on Rails , , , , , , , ,

Full stack integration testing with Rails3: browser-oriented, JavaScript, continuous integration

This post is a complete summary of all my efforts to have a complete and decent solution to test Rails applications. As it is a long post, here you have the table of contents: Introduction Prerequisite for this tutorial Ruby … Continue reading

Cygwin, Howto, Ruby, Ruby on Rails, Web development, Windows , , , , , , , , , , , ,