Skip to content

Commit 745c4a5

Browse files
committed
PROCESS: Use the same gems locally and on TravisCI.
1 parent a6b42ef commit 745c4a5

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# dependencies
44
node_modules
55
package-lock.json
6+
Gemfile.lock
67

78
# production
89
build

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cache:
1111

1212
install:
1313
- npm install
14-
- gem install cucumber rspec capybara selenium-webdriver chromedriver-helper:1.2
14+
- bundle install
1515

1616
script:
1717
- npm run build

Gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
source "https://rubygems.org"
2+
3+
gem "cucumber"
4+
gem "rspec"
5+
gem "capybara"
6+
gem "selenium-webdriver"
7+
gem "chromedriver-helper", "~>1.2"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Build for production
5050
Tests requirements
5151
------------------
5252

53-
gem install cucumber rspec capybara selenium-webdriver chromedriver-helper
53+
bundle install
5454

5555
If it fails on macOS because of `libffi`, it can be fixed by brewing and linking an up-to-date version of the library (at your own risk).
5656

0 commit comments

Comments
 (0)