require 'rubygems' require 'bundler' begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end require 'rake' require 'rake/rdoctask' require 'rspec/core' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task :default => :spec Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'Social2social' rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end Bundler::GemHelper.install_tasks