forked from postmodern/chruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelper.sh
More file actions
25 lines (19 loc) · 686 Bytes
/
helper.sh
File metadata and controls
25 lines (19 loc) · 686 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[[ -z "$SHUNIT2" ]] && SHUNIT2=/usr/share/shunit2/shunit2
[[ -n "$ZSH_VERSION" ]] && setopt shwordsplit
export PREFIX="$PWD/test"
export HOME="$PREFIX/home"
export PATH="$PWD/bin:$PATH"
. ./share/chruby/chruby.sh
chruby_reset
test_ruby_engine="ruby"
test_ruby_version="2.0.0"
test_ruby_patchlevel="481"
test_ruby_api="2.0.0"
test_ruby_root="$PWD/test/opt/rubies/$test_ruby_engine-$test_ruby_version-p$test_ruby_patchlevel"
test_path="$PATH"
test_gem_home="$HOME/.gem/$test_ruby_engine/$test_ruby_version"
test_gem_root="$test_ruby_root/lib/ruby/gems/$test_ruby_api"
test_project_dir="$PWD/test/project"
setUp() { return; }
tearDown() { return; }
oneTimeTearDown() { return; }