Re: I cant run my calabash-ios successfully on Jenkins. complaining of Ruby.Framework
Thanks for your help but can you help me give guidelines on how i will implement your suggested steps please i am new to these pleas help. thanks On Friday, March 6, 2015 at 8:38:57 AM UTC, Björn Pedersen wrote: Hi, my guess is that your rvm setup is not correctly loaded when jenkins logs onto your node. Make sure to: a) configure rvm in the right shell (usally /bin/sh for jenkins) b) ensure that the configuration is loaded in non-interactive shells bash e.g. loads /etc/profile, ~/.bash_profile, ~/.bash_login, and ~/.profile for interactive shells, but these are not read for non-interactive shells (see man bash for more details) Björn -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/db06f6b8-d6c7-4dbc-ab03-a7fc5dd25c7d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: I cant run my calabash-ios successfully on Jenkins. complaining of Ruby.Framework
Hi, my guess is that your rvm setup is not correctly loaded when jenkins logs onto your node. Make sure to: a) configure rvm in the right shell (usally /bin/sh for jenkins) b) ensure that the configuration is loaded in non-interactive shells bash e.g. loads /etc/profile, ~/.bash_profile, ~/.bash_login, and ~/.profile for interactive shells, but these are not read for non-interactive shells (see man bash for more details) Björn -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/cbc1f0cd-d4e6-4a29-9bae-018d4d95d866%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: I cant run my calabash-ios successfully on Jenkins. complaining of Ruby.Framework
I have Jenkins 1.601 now and the error still shows. Please help On Thursday, March 5, 2015 at 11:18:37 AM UTC, Daniel Beck wrote: Try updating to Jenkins 1.601. On 05.03.2015, at 12:08, seun are lumm...@gmail.com javascript: wrote: 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//Jenkins-Test/workspace/iOS-Youview-cal/build/.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 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com javascript:. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7765aca6-6f2d-4e3d-9dc1-400eabe1b78d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/860296fe-2156-4a92-b581-41423888edac%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: I cant run my calabash-ios successfully on Jenkins. complaining of Ruby.Framework
Try updating to Jenkins 1.601. On 05.03.2015, at 12:08, seun are lummy...@gmail.com wrote: 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//Jenkins-Test/workspace/iOS-Youview-cal/build/.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 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7765aca6-6f2d-4e3d-9dc1-400eabe1b78d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/916DC50E-54E4-4659-9FD1-024E4D8FA242%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
I cant run my calabash-ios successfully on Jenkins. complaining of Ruby.Framework
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//Jenkins-Test/workspace/iOS-Youview-cal/build/.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 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7765aca6-6f2d-4e3d-9dc1-400eabe1b78d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.