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
我尝试使用 Railsinstaller 安装 Rails 并遵循此操作,因为我是 ruby 等新手。:
https://www.tutorialspoint.com/ruby-on-rails/rails-installation.htm
之后
$rails new app
命令
我遇到了上面所说的错误
最佳答案
我认为这是因为一些与rails和windows 10冲突的问题。所以直接的解决方案是降级gemfile中的bootsnap版本
gem 'bootsnap', '<= 1.1.0'
另一个解决方案是使用 https://rubyinstaller.org/ 进行 rails 安装
关于ruby-on-rails - 安装bootsnap(1.4.4)时出错,win10中rails new后Bundler无法继续,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55992806/