aws-ruby-lambda-layer icon indicating copy to clipboard operation
aws-ruby-lambda-layer copied to clipboard

How can I add extra gems rather that provided ones in Gemfile

Open Balakrishna625 opened this issue 4 years ago • 1 comments

I need to add Some extra gems to be added in Gemfile provide in the code. How can i achieve that. I am facing error if i add a gem in gemfile and run bundle install as following

In Gemfile: rmagick (base) dw@01HW1249485:~/Music/aws-ruby-lambda-layer-master (copy)$ bundle install --without development test --deployment You are trying to install in deployment mode after changing your Gemfile. Run bundle install elsewhere and add the updated Gemfile.lock to version control.

The dependencies in your gemfile changed

You have added to the Gemfile:

  • rmagick

please help

Balakrishna625 avatar Jun 12 '20 06:06 Balakrishna625

@Balakrishna625 rmagick may need some native files like gem pg. You can check what kind of files you need in order for this gem to run. This repo is just a demo to show you the way how to achieve that.

BranLiang avatar Jul 03 '20 07:07 BranLiang