ruby-on-railsrailsinstallerrailsinstaller-windows

An error occurred while installing bootsnap (1.4.4), and Bundler cannot continue after rails new in win10


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

I tried installing rails with railsinstaller & followed this, since I'm a newb to ruby and stuff.:

https://www.tutorialspoint.com/ruby-on-rails/rails-installation.htm

and after the $ rails new app command

I encounter that error I said above


Solution

  • I think this is because of some issues conflicting with rails and windows 10. So the immediate solution will be to downgrade bootsnap version in gemfile

    gem 'bootsnap', '<= 1.1.0'
    

    Another solution will be to follow rails installtion using https://rubyinstaller.org/