Rakefile in statsample-2.0.2 vs Rakefile in statsample-2.1.0
- old
+ new
@@ -1,6 +1,7 @@
$:.unshift File.expand_path("../lib/", __FILE__)
+lib_folder = File.expand_path("../lib", __FILE__)
require 'statsample/version'
require 'rake'
require 'rake/testtask'
require 'rdoc/task'
@@ -33,6 +34,11 @@
desc "Create mo-files"
task "gettext:makemo" do
require 'gettext/tools'
GetText.create_mofiles()
+end
+
+desc 'Run pry'
+task :pry do |task|
+ sh "pry -r #{lib_folder}/statsample.rb"
end