calabash / calabash-ios

Calabash for iOS
Other
1.81k stars 369 forks source link

Error while running calabash-ios gen #1392

Closed ShivamPokhriyal closed 6 years ago

ShivamPokhriyal commented 6 years ago

When i run the following command i get the below error: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:2285:in raise_if_conflicts': Unable to activate run_loop-2.7.1, because CFPropertyList-3.0.0 conflicts with CFPropertyList (~> 2.2) (Gem::ConflictError) from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:1408:inactivate' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:1442:in block in activate_dependencies' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:1428:ineach' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:1428:in activate_dependencies' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:1410:inactivate' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems.rb:196:in rescue in try_activate' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems.rb:193:intry_activate' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:125:in rescue in require' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:inrequire' from /Library/Ruby/Gems/2.3.0/gems/calabash-cucumber-0.21.5/bin/calabash-ios-setup.rb:1:in <top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' from /Library/Ruby/Gems/2.3.0/gems/calabash-cucumber-0.21.5/bin/calabash-ios:10:in<top (required)>' from /usr/local/bin/calabash-ios:22:in load' from /usr/local/bin/calabash-ios:22:in

'

jmoody commented 6 years ago

https://github.com/calabash/calabash-ios/wiki/Ruby-on-MacOS

Using macOS system ruby is not supported. Use rbenv or rvm.