From 48737a27a7ac8b2080238c2450a48c3a497d5157 Mon Sep 17 00:00:00 2001 From: Daniel Cohen Date: Sat, 8 Oct 2011 14:37:02 +0200 Subject: [PATCH] [FIX] validate_db_name error --- Gemfile.lock | 4 ++-- config/environment.rb | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 431e509..87d0734 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -64,7 +64,7 @@ GEM faraday (0.7.4) addressable (~> 2.2.6) multipart-post (~> 1.1.0) - rack (< 2, >= 1.1.0) + rack (>= 1.1.0, < 2) faraday_middleware (0.7.0) faraday (~> 0.7.3) haml (3.1.3) @@ -203,7 +203,7 @@ GEM warden (1.0.5) rack (>= 1.0) webmock (1.7.6) - addressable (> 2.2.5, ~> 2.2) + addressable (~> 2.2, > 2.2.5) crack (>= 0.1.7) will_paginate (3.0.2) diff --git a/config/environment.rb b/config/environment.rb index 25657d1..984b36c 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,6 +1,7 @@ # Load the rails application require File.expand_path('../application', __FILE__) - +require 'yaml' +YAML::ENGINE.yamler= 'syck' # Initialize the rails application Errbit::Application.initialize! -- libgit2 0.21.2