xamarin - Error installing calabash-android on Windows -


i trying install calabash-android on windows machine have serious problem. follow xamarin guide install ruby , calabash-android , succeed other day. when try create own scenario computer cause me problem scenarios , scenarios become fails. search , read comments gherkin mismatch , wanted reinstall everything. uninstall ruby , and delete related files pc.(calabash , gem files etc.) want install calabash-android again having problem. tried different versions of ruby effort come dead end. last effort bring me step 6 on guide(manually installing calabash).

ps c:\users\alper.silistre> gem install ffi –-platform=ruby --no-ri --no-rdoc system cannot find path specified. fetching: ffi-1.9.10-x64-mingw32.gem (100%) installed ffi-1.9.10-x64-mingw32 error:  while executing gem ... (uri::invalidurierror)         bad uri(is not uri?): ?gems=û-platform=ruby 

this error gave on step 6. continue because says succesfully installed ffi gives executing gem error have no idea.

step 7;

ps c:\users\alper.silistre> gem install xamarin-test-cloud –-platform=ruby --no-ri --no-rdoc system cannot find path specified. fetching: retriable-2.0.2.gem (100%) installed retriable-2.0.2 fetching: mime-types-1.25.1.gem (100%) installed mime-types-1.25.1 fetching: netrc-0.10.3.gem (100%) installed netrc-0.10.3 fetching: unf_ext-0.0.7.1-x64-mingw32.gem (100%) installed unf_ext-0.0.7.1-x64-mingw32 fetching: unf-0.1.4.gem (100%) installed unf-0.1.4 fetching: domain_name-0.5.24.gem (100%) installed domain_name-0.5.24 fetching: http-cookie-1.0.2.gem (100%) installed http-cookie-1.0.2 fetching: rest-client-1.8.0-x64-mingw32.gem (100%) installed rest-client-1.8.0-x64-mingw32 fetching: rubyzip-1.1.7.gem (100%) installed rubyzip-1.1.7 fetching: bundler-1.10.5.gem (100%) installed bundler-1.10.5 fetching: thor-0.19.1.gem (100%) installed thor-0.19.1 fetching: xamarin-test-cloud-1.1.1.gem (100%) installed xamarin-test-cloud-1.1.1 error:  while executing gem ... (uri::invalidurierror)     bad uri(is not uri?): ?gems=û-platform=ruby 

same error @ last 2 line. , continue again.

step 8;

ps c:\users\alper.silistre> gem install calabash-android –-platform=ruby --no-ri --no-rdoc system cannot find path specified. fetching: escape-0.0.4.gem (100%) installed escape-0.0.4 fetching: httpclient-2.6.0.1.gem (100%) installed httpclient-2.6.0.1 fetching: awesome_print-1.6.1.gem (100%) installed awesome_print-1.6.1 fetching: multi_test-0.1.2.gem (100%) installed multi_test-0.1.2 fetching: multi_json-1.11.2.gem (100%) installed multi_json-1.11.2 fetching: gherkin-2.12.2.gem (100%) temporarily enhancing path include devkit... building native extensions.  take while... system cannot find path specified. error:  error installing calabash-android:         error: failed build gem native extension.      c:/ruby21-x64/bin/ruby.exe -r ./siteconf20150708-1204-dwo4kp.rb extconf.rb checking main() in -lc... no creating makefile  extconf failed, exit code 1  gem files remain installed in c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/gherkin-2.12.2 f results logged c:/ruby21-x64/lib/ruby/gems/2.1.0/extensions/x64-mingw32/2.1.0/gherkin-2 error:  while executing gem ... (uri::invalidurierror)     bad uri(is not uri?): ?gems=û-platform=ruby 

this time gives me

error installing calabash-android:             error: failed build gem native extension. 

error , same executing error @ last 2 line.

i tried many things , search lot on internet never found solution. giving versions if wonder;

.microsoft windows 8.1 pro .ruby version : ruby 2.1.5p273 (2014-11-13 revision 48405) [x64-mingw32] 

.list of gems;

*** local gems ***  awesome_print (1.6.1) bigdecimal (1.2.4) bundler (1.10.5) domain_name (0.5.24) escape (0.0.4) ffi (1.9.10 x64-mingw32) http-cookie (1.0.2) httpclient (2.6.0.1) io-console (0.4.2) json (1.8.1) mime-types (1.25.1) minitest (4.7.5) multi_json (1.11.2) multi_test (0.1.2) netrc (0.10.3) psych (2.0.5) rake (10.1.0) rdoc (4.1.0) rest-client (1.8.0 x64-mingw32) retriable (2.0.2) rubygems-update (2.4.8) rubyzip (1.1.7) test-unit (2.1.5.0) thor (0.19.1) unf (0.1.4) unf_ext (0.0.7.1 x64-mingw32) xamarin-test-cloud (1.1.1) 

i grateful if can me on problem , hope possible answers can solve other peoples problem may encounter same situation.


edit: manage install calabash-android --verbose @ end of superior seems problem gherkin gem. not allow me run test , gives me error this

this issue:

error installing calabash-android: error: failed build gem native extension. 

occurs due incompatibility rubygem version native extension.

following command fix issue:

gem update --system 2.3.0 

refer:

1) https://github.com/rubygems/rubygems/issues/977

2) error: failed build gem native extension on windows


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -