gem 'cucumber'
require 'cucumber'
gem 'rspec'
require 'spec'

require File.dirname(__FILE__) + "/../../lib/rubigen"

Before do
  @tmp_root = File.dirname(__FILE__) + "/../../tmp"
  @home_path = File.expand_path(File.join(@tmp_root, "home"))
  FileUtils.rm_rf   @tmp_root
  FileUtils.mkdir_p @home_path
  ENV['HOME'] = @home_path
end

gem 'cucumber'
require 'cucumber'
gem 'rspec', '~> 1.3'
require 'spec'

require File.dirname(__FILE__) + "/../../lib/rubigen"

Before do
  @tmp_root = File.dirname(__FILE__) + "/../../tmp"
  @home_path = File.expand_path(File.join(@tmp_root, "home"))
  FileUtils.rm_rf   @tmp_root
  FileUtils.mkdir_p @home_path
  ENV['HOME'] = @home_path
end

Fix features when RSpec 2.x is also present on the system
Fix features when RSpec 2.x is also present on the system
