Skip to content

Commit

Permalink
Switch to RSpec+Guard.
Browse files Browse the repository at this point in the history
  • Loading branch information
rking committed May 1, 2012
1 parent 669ccf9 commit c007572
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions spec/helper.rb
@@ -0,0 +1,19 @@
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 'rspec'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'pegex'
require 'pegex/pegex/grammar'

require 'pp'

0 comments on commit c007572

Please sign in to comment.