Commit 704be9105937fb4e055aecef2a1a4aa64cd01ab6
Exists in
master
and in
1 other branch
Merge pull request #103 from codeinvain/master
fixed "db_name must be a string or symbol" error on rake errbit:bootstrap
Showing
2 changed files
with
6 additions
and
3 deletions
Show diff stats
Gemfile.lock
@@ -64,7 +64,7 @@ GEM | @@ -64,7 +64,7 @@ GEM | ||
64 | faraday (0.7.4) | 64 | faraday (0.7.4) |
65 | addressable (~> 2.2.6) | 65 | addressable (~> 2.2.6) |
66 | multipart-post (~> 1.1.0) | 66 | multipart-post (~> 1.1.0) |
67 | - rack (< 2, >= 1.1.0) | 67 | + rack (>= 1.1.0, < 2) |
68 | faraday_middleware (0.7.0) | 68 | faraday_middleware (0.7.0) |
69 | faraday (~> 0.7.3) | 69 | faraday (~> 0.7.3) |
70 | haml (3.1.3) | 70 | haml (3.1.3) |
@@ -203,7 +203,7 @@ GEM | @@ -203,7 +203,7 @@ GEM | ||
203 | warden (1.0.5) | 203 | warden (1.0.5) |
204 | rack (>= 1.0) | 204 | rack (>= 1.0) |
205 | webmock (1.7.6) | 205 | webmock (1.7.6) |
206 | - addressable (> 2.2.5, ~> 2.2) | 206 | + addressable (~> 2.2, > 2.2.5) |
207 | crack (>= 0.1.7) | 207 | crack (>= 0.1.7) |
208 | will_paginate (3.0.2) | 208 | will_paginate (3.0.2) |
209 | 209 |
config/environment.rb
1 | # Load the rails application | 1 | # Load the rails application |
2 | require File.expand_path('../application', __FILE__) | 2 | require File.expand_path('../application', __FILE__) |
3 | - | 3 | +if RUBY_VERSION >'1.9' |
4 | + require 'yaml' | ||
5 | + YAML::ENGINE.yamler= 'syck' | ||
6 | +end | ||
4 | # Initialize the rails application | 7 | # Initialize the rails application |
5 | Errbit::Application.initialize! | 8 | Errbit::Application.initialize! |
6 | 9 |