serverless-ruby-layer icon indicating copy to clipboard operation
serverless-ruby-layer copied to clipboard

Error while adding local path in Gemfile

Open emilianodellacasa opened this issue 2 years ago • 0 comments

Describe the bug

I added to my Gemfile a local gem using the standard format

gem 'test_gem', path: 'vendor/gems/test_gem'

However, when deploy it gives me the following error

Error Stack Trace

Error: Error: The path /<my-path>/.serverless/ruby_layer/vendor/gems/test_gem does not exist.

Example Config files This is my Gemfile:

source "https://rubygems.org"

gem 'rails' gem 'json' gem 'test_gem', path: 'vendor/gems/test_gem'

Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • NodeVersion 14.17.0
  • Ruby version 2.7.5
  • Bundler version 2.2.5

emilianodellacasa avatar Feb 25 '22 16:02 emilianodellacasa