How can I properly install bootsnap on windows

后端 未结 3 1493
灰色年华
灰色年华 2021-01-28 11:32

I\'m trying to install ruby on rails with rails installer. When I use \"rails new blog\" to get my feet wet on starting the web page, I keep getting a build error to build a nat

相关标签:
3条回答
  • 2021-01-28 11:48

    I solve it by using this:

    gem 'bootsnap', require: false
    

    source: https://stackoverflow.com/a/56275766/534600

    0 讨论(0)
  • 2021-01-28 11:55

    I had the same bundle install problem using Rails 5.2.3 , ruby 2.3. Found a recent post from AngelofDawn that worked for me: Change the bootsnap gem in your gemfile to

    gem 'bootsnap', '=1.4.1', require: false
    

    Getting error (exit code 2) for bootsnap, not allowing to set up Rails Server.

    Still looking for the 'why'

    0 讨论(0)
  • 2021-01-28 11:58

    This for sqlite.

    gem 'sqlite3', git: "https://github.com/larskanis/sqlite3-ruby", branch: "add-gemspec"
    

    Bootsnap 2.3.3 I could not run it and upgraded the version of ruby. If you download Ruby + Devkit 2.5.5-1 (x64) from the link below, I hope that the problem will improve. Ruby 2.5.5

    0 讨论(0)
提交回复
热议问题