-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sassc gem is not installing on Ubuntu 18.04 LTS #204
Comments
We've experienced similar problems when installing an a server with 0.5GB RAM only. Looks like installation requires at least 1GB of RAM.
Could be an out-of-memory error. |
Same problem on Ubuntu 18.04 LTS, hope someone could help. Thanks. |
Temporarily, I try to modify the Gemfile and set "gem 'sass-rails', '= 5.1.0'". |
I'm having this issue as well. I'm using Repl.it and the environment is running Ubuntu 18.04. I've detailed my troubleshooting efforts on a post in the Repl.it support forum: My test environment is available online and the output of |
Running into this as well, does anyone know if there is a way to compile sassc without so much memory? Edit: Temporary solution is to change your See #189 |
This sounds like a really great solution. Instead of relying on RubyGems to install the |
Seconding this as an ongoing issue. |
Still persisting on a new 18.04 LTS instance on Azure. locking the gem to 2.1 does work. |
Facing this issue locally on an Arch |
Same issue with x86_64 Debian 11 on a 0.5GB production server (small run app) and sassc 2.4.0 -- bundle is killed while building native extensions. |
I met the same issue on a 18.04 LTS with 1GB memory. When it's I tried to lock back to 2.1.0 but then I can't do
I'm in a dilemma |
If you happen to be at a host such as DigitalOcean, the solution is fairly simple: Just resize your droplet from 1 GB to 2 GB, then run I've already done this with two different Ruby on Rails projects in the past weeks and it worked both times. |
Building native extensions. This could take a while...
ERROR: Error installing sassc-rails:
ERROR: Failed to build gem native extension.
/home/ubuntu/.rbenv/versions/2.7.1/bin/ruby -I /home/ubuntu/.rbenv/versions/2.7.1/lib/ruby/2.7.0 -r ./siteconf20200522-11294-c5h69d.rb extconf.rb
creating Makefile
current directory: /home/ubuntu/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sassc-2.3.0/ext
make "DESTDIR=" clean
current directory: /home/ubuntu/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sassc-2.3.0/ext
make "DESTDIR="
compiling ./libsass/src/ast.cpp
compiling ./libsass/src/ast2c.cpp
compiling ./libsass/src/ast_fwd_decl.cpp
compiling ./libsass/src/ast_sel_cmp.cpp
compiling ./libsass/src/ast_sel_super.cpp
compiling ./libsass/src/ast_sel_unify.cpp
compiling ./libsass/src/ast_sel_weave.cpp
compiling ./libsass/src/ast_selectors.cpp
compiling ./libsass/src/ast_supports.cpp
compiling ./libsass/src/ast_values.cpp
compiling ./libsass/src/backtrace.cpp
compiling ./libsass/src/base64vlq.cpp
compiling ./libsass/src/bind.cpp
compiling ./libsass/src/c2ast.cpp
compiling ./libsass/src/c99func.c
compiling ./libsass/src/cencode.c
compiling ./libsass/src/check_nesting.cpp
compiling ./libsass/src/color_maps.cpp
compiling ./libsass/src/constants.cpp
compiling ./libsass/src/context.cpp
compiling ./libsass/src/cssize.cpp
compiling ./libsass/src/emitter.cpp
compiling ./libsass/src/environment.cpp
compiling ./libsass/src/error_handling.cpp
compiling ./libsass/src/eval.cpp
compiling ./libsass/src/eval_selectors.cpp
compiling ./libsass/src/expand.cpp
compiling ./libsass/src/extender.cpp
compiling ./libsass/src/extension.cpp
compiling ./libsass/src/file.cpp
compiling ./libsass/src/fn_colors.cpp
compiling ./libsass/src/fn_lists.cpp
compiling ./libsass/src/fn_maps.cpp
compiling ./libsass/src/fn_miscs.cpp
compiling ./libsass/src/fn_numbers.cpp
compiling ./libsass/src/fn_selectors.cpp
compiling ./libsass/src/fn_strings.cpp
compiling ./libsass/src/fn_utils.cpp
compiling ./libsass/src/inspect.cpp
compiling ./libsass/src/json.cpp
compiling ./libsass/src/lexer.cpp
compiling ./libsass/src/listize.cpp
compiling ./libsass/src/memory/SharedPtr.cpp
compiling ./libsass/src/operators.cpp
compiling ./libsass/src/output.cpp
compiling ./libsass/src/parser.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-7/README.Bugs for instructions.
Makefile:236: recipe for target 'parser.o' failed
make: *** [parser.o] Error 4
make failed, exit code 2
Gem files will remain installed in /home/ubuntu/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sassc-2.3.0 for inspection.
Results logged to /home/ubuntu/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/extensions/x86_64-linux/2.7.0/sassc-2.3.0/gem_make.out
Please help me with it.
./Thanks
The text was updated successfully, but these errors were encountered: