Cucumber high-level step definition - syntax error, unexpected tIDENTIFIER, expecting keyword_end
问题 I've followed Reuse Cucumber steps. I'm a noob when it comes to Ruby and Cucumber. I'm using calabash-android 0.9.0 and cucumber 2.4.0 My calabash_steps.rb: require 'calabash-android/calabash_steps' Then /^I add the 1st bestsellers product to bag$/ do steps %Q { # App restarts and Onboarding screen shows again Given I see the text "next" Then I press the "next" button } end Full stacktrace: ❯ bundle exec calabash-android run app/build/outputs/apk/app-staging-debug.apk -t @bag /Users/eric