Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
Gwenhael Le Moine 2017-10-21 22:49:23 +02:00
parent 433ce16c37
commit a1c1b5b167
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -1,8 +1,7 @@
# coding: utf-8
ENV['RACK_ENV'] = 'development'
namespace :pry do
task :load_config do
task :load_config do
require 'rubygems'
require 'bundler'
@ -10,11 +9,9 @@ namespace :pry do
require_relative '../lib/ledger'
require_relative '../config/options'
end
desc 'Open pry with DB environment setup'
task pry: :load_config do
pry.binding
end
end
desc 'Open pry with DB environment setup'
task pry: :load_config do
pry.binding
end