Hi,
Please i am new here and i am happy to discover this forum.
I need help. here is my configuration:
Jenkins version: 1.600
XCode version: 6
Calabash version: 0.13.
OS: 10.10
iOS version: 8.0
here is the error from Jenkins Console log:
rvm rubies
ruby-2.1.1 [ x86_64 ]
=* ruby-2.2.0 [ x86_64 ]
# => - current
# =* - current && default
# * - default
/Users/Shared/Jenkins/Home/jobs/App.iOS.Calabash.Test/workspace
Choose scheme name and update it in SCHEME_XC
click manage scheme and choose scheme name and find the build configuration BUILD_CONFIG
if your features(automation test features) are present in different folder rather than folder where project is present , mention the path in FEATURES_PATH
or else remove the argument.
APPNAME - name of the application usually same as the scheme name
PROJ_LOC - location of xcode project if thats same as current folder remove this option.
DEVICE_TARGET=iPhone 6 (8.1 Simulator) APP_BUNDLE_PATH=/Users/xxxx/Jenkins-Test/workspace/iOS-Youview-cal/build/XXXX.app bundle exec cucumber -p ios --tag @test1
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0@global/gems/bundler-1.8.3/lib/bundler/definition.rb:380:in `validate_ruby!': Your Ruby version is 2.0.0, but your Gemfile specified 2.2.0 (Bundler::RubyVersionMismatch)
from /Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0@global/gems/bundler-1.8.3/lib/bundler.rb:118:in `setup'
from /Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0@global/gems/bundler-1.8.3/lib/bundler/setup.rb:18:in `<top (required)>'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
Build step 'Execute shell' marked build as failure
Finished: FAILURE
As you can see, i have ruby-2.2.0 as default and i have it up to date but i dont know where this "Your Ruby version is 2.0.0, but your Gemfile specified 2.2.0" is coming from. i only have ruby-2.1.1 and ruby-2.2.0 i cant understand where the 2.0.0 is coming from please can someone suggest to me how to get the Ruby.Framework updated? or any suggestion ?
Thanks
Johnson