aboutsummaryrefslogtreecommitdiffstats
path: root/bin/rake
diff options
context:
space:
mode:
authorLuc Donnet2015-02-20 15:33:05 +0100
committerLuc Donnet2015-02-20 15:33:05 +0100
commit35bf9fa59c5486905f642f32fe741f7fcbdb9101 (patch)
treedfc06d91e5fe3742ce4c5ebdcea362d7d76bb6ea /bin/rake
parentad74d12ada2bbe2fe961424a3ce529f28cc157da (diff)
downloadchouette-core-35bf9fa59c5486905f642f32fe741f7fcbdb9101.tar.bz2
Update config in a true Rails 4 way
Diffstat (limited to 'bin/rake')
-rwxr-xr-xbin/rake5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/rake b/bin/rake
index 0fb4e07e1..8017a0271 100755
--- a/bin/rake
+++ b/bin/rake
@@ -3,5 +3,6 @@ begin
load File.expand_path("../spring", __FILE__)
rescue LoadError
end
-require 'bundler/setup'
-load Gem.bin_path('rake', 'rake')
+require_relative '../config/boot'
+require 'rake'
+Rake.application.run