Rails Tutorial Error With Cloud 9

前端 未结 1 693
囚心锁ツ
囚心锁ツ 2020-12-17 05:27

Trying to get this to work, but I\'m having trouble. I\'m following the instructions at: https://www.railstutorial.org/book/beginning#cha-beginning

I get to 1.3.2 an

相关标签:
1条回答
  • 2020-12-17 06:06

    Looks like the tutorial has just recently fallen out of date. If you update your gemfile from

    gem 'sass-rails',           '5.0.1'
    

    to

    gem 'sass-rails',           '5.0.2'
    

    then bundle install again and launch the server, it should work just fine.

    (If you prefer, you can also run a workaround by adding

    gem 'sass', '3.4.13'
    

    before your existing, non-updated line:

    gem 'sass-rails',           '5.0.1'
    

    in your gemfile, and doing a bundle install and launching the server. I don't know why you'd need to, though.)

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