require 'bundler' Bundler::GemHelper.install_tasks require 'rspec/core' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = FileList['spec/*_spec.rb'] end desc "Run tests" task :test do puts "Testing..." sh "bundle exec rake spec" end