File: env.rb

package info (click to toggle)
rake-compiler 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 400 kB
  • sloc: ruby: 2,101; makefile: 4
file content (10 lines) | stat: -rw-r--r-- 237 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
require 'cucumber'
require 'rspec'
require 'fileutils'
require 'rbconfig'

ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__), '../..'))

# get rid of Bundler environment polution
defined?(Bundler) and
  ENV.delete("RUBYOPT")