i'm trying rails working on ubuntu windows(beta). installed rvm, updated ruby 2.3.0, , installed rails without problem. when try generate new rails project, goes until bundler runs. getting identical error many of gems. here specific instance:
installing byebug 9.0.5 native extensions gem::ext::builderror: error: failed build gem native extension. current directory: /home/djllap/.rvm/gems/ruby-2.3.0/gems/byebug-9.0.5/ext/byebug /home/djllap/.rvm/rubies/ruby-2.3.0/bin/ruby -r ./siteconf20160801-16013-15q7ntv.rb extconf.rb cannot allocate memory - /home/djllap/.rvm/rubies/ruby-2.3.0/bin/ruby -r ./siteconf20160801-16013-15q7ntv.rb extconf.rb 2>&1 gem files remain installed in /home/djllap/.rvm/gems/ruby-2.3.0/gems/byebug-9.0.5 inspection. results logged /home/djllap/.rvm/gems/ruby-2.3.0/extensions/x86_64-linux/2.3.0/byebug-9.0.5/gem_make.out
i haven't had problem running rails on windows or vagrant/virtual box vms. love working on ubuntu windows though, don't need worry of vm stuff.
it appears server running out of memory. either increase amount of ram, or add swap space alleviate problem.
digital ocean has great tutorial on how add swap space ubuntu machine.
Comments
Post a Comment