in 'require': no such file to load — spec_helper

前端 未结 5 1160
醉话见心
醉话见心 2020-12-29 03:04

Came across this error when trying out the ruby on rails tutorial section with rspec on a windows platform using jruby 1.6:

c:\\rails_projects\\sample_app>         


        
5条回答
  •  失恋的感觉
    2020-12-29 03:25

    Run the following command

    c:\rails_projects\sample_app>rails generate rspec:install
    

    This will put the spec_helper.rb file in your /spec directory

提交回复
热议问题