ledgerrb/tasks/pry.rake
Gwenhael Le Moine 4df1819854
refactoring
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
2017-11-03 16:14:30 +01:00

11 lines
189 B
Ruby

# coding: utf-8
ENV['RACK_ENV'] = 'development'
task :load_config do
require_relative '../app'
end
desc 'Open pry with DB environment setup'
task pry: :load_config do
pry.binding
end