calabash / calabash-ios

Calabash for iOS
Other
1.81k stars 369 forks source link

Could not find Json - Calabash-ios Console #1355

Closed Vel-San closed 6 years ago

Vel-San commented 6 years ago

I can run a test using bundle exec cucumber normally, but when i run bundle exec calabash-ios console it gives this error

Running irb... Ignoring json-1.8.6 because its extensions are not built. Try: gem pristine json --version 1.8.6 Could not find json-1.8.6 in any of the sources Run bundle install to install missing gems.

I already ran the suggested commands, also, i already am using json 1.8.6 when i run the bundle install or bundle update.. i tried deleted it and reinstalling even tho json is a default extension.

Any ideas ?

Vel-San commented 6 years ago

Fixed by removing another version of rbenv.. command used : rm -rf ~/.rbenv/versions/2.4.0 then rbenv rehash and bundle install