Elastic rails Bean rods cannot deploy -

The error says cannot allocate memory, but many searches showed that gemstones are worried about beanstalk.

 Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

      /opt/rubies/ruby-2.1.10/bin/ruby extconf.rb
  Cannot allocate memory - /opt/rubies/ruby-2.1.10/bin/ruby extconf.rb 2>&1

  Gem files will remain installed in /opt/rubies/ruby-2.1.10/lib/ruby/gems/2.1.0/gems/json-1.8.3 for inspection.
  Results logged to /opt/rubies/ruby-2.1.10/lib/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0-static/json-1.8.3/gem_make.out

Is there any way to verify that the beanstalk can install this stone without any problems?

+4
source share
2 answers

Providing the system package with the assembly of all the dependencies takes up more resources than the default EC2 instance can handle.

EC2/Swapfile ElasticBeanstalk, .

0

Source: https://habr.com/ru/post/1661397/


All Articles