Answer the question
In order to leave comments, you need to log in
How to fix an error when building a Rails app?
I'm trying to install rails according to these two guides:
installfest.railsbridge.org/installfest/windows ;
installfest.railsbridge.org/installfest/create_a_r...
In guide 2, I got stuck at step 4: I enter the command 'rails new test_app' into the terminal and I get this error:
bootsnap.o: In function `atomic_write_cache_file':
C:\RailsInstaller\Ruby2.3.3\lib\ruby\gems\2.3.0\gems\bootsnap-1.4.4\ext\bootsnap/bootsnap.c:484:
undefined reference to `mkstemp'
collect2.exe: error: ld returned 1 exit status
make: *** [bootsnap.so] Error 1
make failed, exit code 2
Gem files will remain installed in
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/bootsnap-1.4.4 for
inspection.
Results logged to
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/extensions/x86-mingw32/2.3.0/bootsnap-1.4.4/gem_make.out
An error occurred while installing bootsnap (1.4.4), and Bundler cannot
continue.
Make sure that `gem install bootsnap -v '1.4.4' --source
'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
bootsnap
Answer the question
In order to leave comments, you need to log in
The very first thing a young rubist should do is install Ubuntu. Maybe on VM.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question