GUIDE

The road ahead will be long and our climb will be steep

Bundle Install or Exec Another Project in This Project

| Comments

rspec.rake

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
repo_path = 'another project absolute path'

Bundler.with_clean_env do
  Dir.chdir repo_path do
    %x{bundle install}
  end
end

...

Bundler.with_clean_env do
  Dir.chdir repo_path do
    %x{rspec spec --format html --out rspec_results.html --format documentation --out rspec_results.txt}
  end
end

Comments