Closed cybessk0011 closed 4 years ago
I have the same issue. Ubuntu 20.04 LTS, new rails project from template. It got stuck on bundle install while compiling native extension for sassc 2.4.0. I changed Gemfile to use gem 'sass-rails', '>= 5.1.0' and it works.
I was able to work around this by using an older version of rails. Here's the code using rbenv:
gem install rails -v 5.2.4.2
rbenv rehash
rbenv exec rails _5.2.4.2_ new demoapp
Interesting that those worked for the both of you. I found that this was a memory dump error, where sassc needs at least 1G of ram to install. Since the instance I was installing on had 1G, but was also running a container, I ran out of memory during install, hence the inconsistent results. Finally allowing 2G ram for my machine allowed me to run bundle install
with no issues.
Interesting that those worked for the both of you. I found that this was a memory dump error, where sassc needs at least 1G of ram to install.
That's amazing, glad to hear you solved it!
Out of curiosity, which command did you use to return the memory dump error?
On my machine the terminal would just hang 😅
I had kdump configured and it was recovering the system whenever I ran my Bundler.
Hello everyone. I am installing my railsapp with
twitter-bootstrap-rails
as a gem in my Gemfile:Every time I install using
bundle install
, my install hangs atInstalling sassc 2.4.0 with native extensions
. I have removed the Gemfile.lock and tried to install with the Gemfile.lock in place as well. I have received this error:After receiving this error was where I removed the Gemfile.lock and then produced:
I understand that the sassc install typically takes a good chunk of time since it can't have libraries linked to it due to the nature of Ruby Gems, but why does the install hang and not proceed? Any help on this would be greatly appreciated. Thanks!
Edit I forgot to mention my system. I am running on Ubuntu 20.04 LTS within an Ubuntu 20.04 Docker Container.