Errno::ENOENT No such file or directory Rails 4

前端 未结 2 1454
闹比i
闹比i 2021-01-16 15:23

Showing \"/Users/Christian/Desktop/sample_app/app/views/layouts/application.html.erb\" where line #5 raised:

No such file or directory - /Users/Christ

相关标签:
2条回答
  • 2021-01-16 15:47

    Change sass-rails version to 4.0.3 and leave the rest as it is. Remove Gemfile.lock when necessary, and then:

    $ bundle update
    $ bundle install
    

    Finally, don't forget to restart your rails server!

    0 讨论(0)
  • 2021-01-16 16:02

    In your Gemfile change the sass-rails version to 4.0.3. Get rid of a version number for sprockets. Delete the Gemfile.lock. Run the bundle install again

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