0
我試圖讓Rails在Ubuntu上運行Windows for Windows(beta)。我安裝了RVM,更新了我的ruby到2.3.0,並安裝了Rails,沒有任何問題。當我嘗試生成一個新的Rails項目時,它運行良好,直到Bundler運行。我的很多寶石都出現了相同的錯誤。這裏是一個具體的實例:Bundler:「無法構建gem原生擴展」,「無法分配內存」
Installing byebug 9.0.5 with native extensions
Gem::Ext::BuildError: ERROR: Failed to 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 will remain installed in /home/djllap/.rvm/gems/ruby-2.3.0/gems/byebug-9.0.5 for inspection.
Results logged to /home/djllap/.rvm/gems/ruby-2.3.0/extensions/x86_64-linux/2.3.0/byebug-9.0.5/gem_make.out
我還沒有運行在Windows或我的流浪/虛擬盒虛擬機的Rails這個問題。我很想在Ubuntu for Windows上工作,所以我不需要擔心所有這些虛擬機的東西。