Initialize Rails application