Skip to content

Commit 0ac32b7

Browse files
committed
Fix delayed_job usage in Rakefile; switched to the 4.0 stable branch of Arel until they have a release that fixes the yaml dumping bug
1 parent a7ea550 commit 0ac32b7

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ group :heroku do
2929
end
3030

3131
gem "activerecord", "~> 4.0"
32+
# need to work around bug in 4.0.1 https://github.com/rails/arel/pull/216
33+
gem 'arel', git: 'git://github.com/rails/arel.git', branch: '4-0-stable'
3234
gem "bcrypt-ruby", "~> 3.1.2"
35+
gem "delayed_job", "~> 4.0"
3336
gem "delayed_job_active_record", "~> 4.0"
3437
gem "feedbag", "~> 0.9.2"
3538
gem "feedzirra"

Gemfile.lock

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
GIT
2+
remote: git://github.com/rails/arel.git
3+
revision: 454a25f18c95cdfba5520a6fc5bdb6d476e20a85
4+
branch: 4-0-stable
5+
specs:
6+
arel (4.0.1.20131022201058)
7+
18
GIT
29
remote: git://github.com/swanson/loofah.git
310
revision: 825d715e6f1281501882d886cf34e82aebabb356
@@ -23,7 +30,6 @@ GEM
2330
multi_json (~> 1.3)
2431
thread_safe (~> 0.1)
2532
tzinfo (~> 0.3.37)
26-
arel (4.0.1)
2733
atomic (1.1.14)
2834
backports (3.3.5)
2935
bcrypt-ruby (3.1.2)
@@ -160,8 +166,10 @@ PLATFORMS
160166

161167
DEPENDENCIES
162168
activerecord (~> 4.0)
169+
arel!
163170
bcrypt-ruby (~> 3.1.2)
164171
coveralls (~> 0.7)
172+
delayed_job (~> 4.0)
165173
delayed_job_active_record (~> 4.0)
166174
excon (~> 0.31.0)
167175
faker (~> 1.2)

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ require "rubygems"
55
require "net/http"
66
require 'active_record'
77
require 'delayed_job'
8+
require 'delayed_job_active_record'
89

910
require "sinatra/activerecord/rake"
1011

0 commit comments

Comments
 (0)