error in your Gemfile, and Bundler cannot continue

前端 未结 5 696
无人共我
无人共我 2020-12-16 12:34

I just setup my mac for development and used this exact gemfile previously and it worked fine. I am not sure what I am doing wrong.

Victorias-MacBook-Pro:sa         


        
5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-16 13:14

    You're running Ruby 1.8 and the syntax attribute: requires ruby 1.9. You will need to change

    gem 'cucumber-rails', '1.2.1', require: false
    

    to

    gem 'cucumber-rails', '1.2.1', :require => false
    

    Or install Ruby 1.9 (maybe using RVM or rbenv) and run bundle install again. This would be a much bettter option if it's a new project.

提交回复
热议问题