Rakefile 352 B

1234567891011121314151617
  1. require 'bundler/gem_tasks'
  2. require 'rspec/core/rake_task'
  3. RSpec::Core::RakeTask.new(:spec) do |rspec|
  4. rspec.rspec_opts = ['--backtrace']
  5. end
  6. task :default => :spec
  7. desc "Open an irb session with Ransack and the sample data used in specs"
  8. task :console do
  9. require 'irb'
  10. require 'irb/completion'
  11. require 'console'
  12. ARGV.clear
  13. IRB.start
  14. end