Appium Cucumber Selenium with concurrency POC

I know this is not correct forum for this question, however please share if anyone faced similar issue. I have a setup with Appium, Cucumber and Selenium for a POC on iOS app. I could able to initiate the script and could also see the app running in simulator, but its failed when interacts with Selenium code and shows results as below in terminal. Not sure what is the error was.

Feature: Currency
As a iPhone user
I want to Concurrency app
So that I can make know the currency rate

Scenario: Check euro rate # features/plain_note.feature:6
Given I have App running with appium # features/step_definitions/plain_note.rb:1
When click on value box # features/step_definitions/plain_note.rb:5
private method capabilities' called for #<Hash:0x007fff0a96a670> (NoMethodError) ./features/support/env.rb:24:inselenium’
./features/step_definitions/plain_note.rb:6:in /^click on value box$/' features/plain_note.feature:8:inWhen click on value box’
And I click on 5 and delete # features/step_definitions/plain_note.rb:9
Then I should see currency removed # features/step_definitions/plain_note.rb:13

Failing Scenarios:
cucumber features/plain_note.feature:6 # Scenario: Check euro rate

Def file as below
require ‘rspec/expectations’
require ‘selenium-webdriver’

APP_PATH = ‘/…/…/Concurrency/build/Release-iphonesimulator/’

def capabilities
‘platformName’ => ‘iOS’,
‘deviceName’ => ‘iPhone 6’,
‘platformVersion’ => ‘9.2’,
‘app’ => absolute_app_path

def absolute_app_path
File.join(File.dirname(FILE), APP_PATH)

def server_url

def selenium
@driver ||= Selenium::WebDriver.for(:remote, :desired_capabilities => capabilities, :url => server_url)