Category : ruby-on-rails

My problem seems similar to this issue, except it happens when I run yarn install in a rails app. When I run yarn install, it runs successfully for some time, then ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ of type ‘const std::__1::basic_string<char>’ creates a copy from type ‘const std::__1::basic_string<char>’ [-Wrange-loop-analysis] for (const auto numerator : numerators) ^ ..

Read more

When rake db: commands are executed, it shows an error warning: parser/current is loading parser/ruby26, which recognizes warning: 2.6.7-compliant syntax, but you are running 2.6.2. warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri. C:/Ruby26-x64/bin/rake: No such file or directory – which yarn rake aborted! NoMethodError: undefined method `chomp’ for nil:NilClass C:/…/config/environment.rb:5:in `<main>’ Tasks: TOP => db:migrate => db:load_config => ..

Read more

I wanted to install ruby on rails for windows 10, following the same instructions of this video: https://www.youtube.com/watch?v=G-B_KUFNkQQ When it finish the installation of ruby, I return to the console and after gem install rails, I get this error: C:UsersUsuario>gem install rails –no-document Temporarily enhancing PATH for MSYS/MINGW… Building native extensions. This could take a ..

Read more

Getting the following error on Windows 10 64-bit, while calling zsteg: (P.S. Installed Ruby DevKit presequite beforehand) it seemes that it does not recognize the file command as per: C:/Ruby27-x64/lib/ruby/2.7.0/open3.rb:213:in `spawn’: No such file or directory – file -n -b -f – (Errno::ENOENT) However on my other Windows 10 64-bit machine there is no such ..

Read more

I’m trying to run "rails s" and keep getting this Load Error: Could not open library ‘jemalloc’: jemalloc: cannot open shared object file: No such file or directory. Could not open library ‘libjemalloc.so’: /lib/x86_64-linux-gnu/libjemalloc.so: cannot allocate memory in static TLS block I’ve installed/uninstalled/reinstalled jemalloc gem I’ve tried “ldcongif” to actualize libs I’ve closed the terminal ..

Read more