File tree 4 files changed +14
-3
lines changed
4 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -137,3 +137,14 @@ yarn test # run the automated test suite
137
137
138
138
./integration_test.sh # run serverless package on the demo project and observe the results
139
139
` ` `
140
+
141
+ # ## Troubleshooting the demo_service
142
+
143
+ * Make sure the version of bundler specified in the demo_service Gemfile.lock
144
+ is compatible with the version installed in the lambci/lambda:build-ruby2.5 image.
145
+
146
+ * Make sure you can invoke the function n in the docker image:
147
+
148
+ ```
149
+ ./invoke-service.sh
150
+ ```
Original file line number Diff line number Diff line change @@ -38,4 +38,4 @@ DEPENDENCIES
38
38
rspec-core
39
39
40
40
BUNDLED WITH
41
- 1.17.3
41
+ 2.1.4
Original file line number Diff line number Diff line change 1
1
yarn
2
2
pushd __tests__/demo_service
3
- bundle --standalone --path vendor/bundle
3
+ ./install-gems.sh
4
4
yarn
5
5
popd
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ echo '### 1) EXAMINE PACKAGE'
6
6
unzip -l .serverless/demo.zip
7
7
echo
8
8
echo ' ### 2) VERIFY FUNCTION CAN LOAD DEPENDENCIES'
9
- serverless invoke local -f hello
9
+ ./ invoke-service.sh
You can’t perform that action at this time.
0 commit comments