Inertia, I am new in this of the healing bots, I have a problem and it is difficult for me to reach the solution. Once inside the directory / drphil $ I try with $ bundle install and the following happens >>>>
Installing ffi 1.9.23 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby2.1 extconf.rb
Cannot allocate memory - /usr/bin/ruby2.1 extconf.rb 2>&1
Gem files will remain installed in /var/lib/gems/2.1.0/gems/ffi-1.9.23 for
inspection.
Results logged to
/var/lib/gems/2.1.0/extensions/x86_64-linux/2.1.0/ffi-1.9.23/gem_make.out
An error occurred while installing ffi (1.9.23), and Bundler cannot
continue.
Make sure that `gem install ffi -v '1.9.23'` succeeds before bundling.
In Gemfile:
radiator was resolved to 0.4.1, which depends on
ffi
I can not solve, I tried update and aupgrade Bundle. Thank you so much.
The bot doesn't require that much memory, but it's possible that bundler needs a bit more in the beginning. Maybe you can enable a temporary swap to get it to bundle:
sudo dd if=/dev/zero of=/var/swap.img bs=1024k count=4000 sudo chmod 600 /var/swap.img sudo mkswap /var/swap.img sudo swapon /var/swap.img
Thank you very much for the quick answer. I have made the suggested steps but the same problem persists.