Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[!] Unable to load a specification for the plugin /Library/Ruby/Gems/2.0.0/gems/cocoapods-try-release-fix-0.1.2 #2641

Closed
kyleYang opened this issue Oct 10, 2014 · 17 comments

Comments

@kyleYang
Copy link

[!] Unable to load a specification for the plugin /Library/Ruby/Gems/2.0.0/gems/cocoapods-try-release-fix-0.1.2
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.2/lib/cocoapods/user_interface/error_report.rb:13:in report': incompatible character encodings: UTF-8 and ASCII-8BIT (Encoding::CompatibilityError) from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.2/lib/cocoapods/command.rb:61:inreport_error'
from /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command.rb:300:in handle_exception' from /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command.rb:274:inrescue in run'
from /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command.rb:264:in run' from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.2/lib/cocoapods/command.rb:48:inrun'
from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.2/bin/pod:33:in <top (required)>' from /usr/bin/pod:23:inload'
from /usr/bin/pod:23:in `

'

this error was showed when I use pod install update.
This project was downloaded from a svn.
ruby version is ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin13]
gem version is 2.4.2
cocoapods version is 0.34.2
Xcode 6.01. ,Mac OS version is 10.9.5

@alloy
Copy link
Member

alloy commented Oct 10, 2014

Remove the cocoapods-try-release-fix-0.1.2 gem, e.g. $ [sudo] gem uninstall cocoapods-try-release-fix-0.1.2.

The encoding issue means your terminal is not configured properly for UTF-8. As specified in the contributing guidelines (which is linked to from the new ticket form and which you didn’t follow), search the existing tickets for a solution or just google, there are plenty of places where this is explained.

@alloy alloy closed this as completed Oct 10, 2014
@kyleYang
Copy link
Author

Hello ,when I use [sudo] gem uninstall cocoapods-try-release-fix-0.1.2, It seem that the cocoapods-try-release-fix is not removed.
use gem list
*** LOCAL GEMS ***

activesupport (4.1.6, 3.2.15)
bigdecimal (1.2.5, 1.2.0)
CFPropertyList (2.2.8, 2.2.0)
claide (0.7.0, 0.5.0, 0.4.0, 0.3.2)
cocoapods (0.34.2)
cocoapods-core (0.34.2, 0.34.1, 0.32.1, 0.29.0, 0.27.1)
cocoapods-downloader (0.7.2, 0.5.0, 0.3.0, 0.2.0)
cocoapods-plugins (0.3.1)
cocoapods-trunk (0.3.0, 0.2.0)
cocoapods-try (0.4.1, 0.2.0)
cocoapods-try-release-fix (0.1.2)
colored (1.2)
escape (0.0.4)
fui (0.3.0, 0.2.0)
fuzzy_match (2.1.0, 2.0.4)
gli (2.12.2, 2.9.0)
i18n (0.6.11, 0.6.5)
io-console (0.4.2)
json (1.8.1, 1.7.7)
json_pure (1.8.1)
libxml-ruby (2.7.0, 2.6.0)
mini_portile (0.6.0)
minitest (5.4.2, 4.3.2)
multi_json (1.10.1, 1.8.2)
nap (0.8.0, 0.7.0, 0.5.1)
netrc (0.7.7)
nokogiri (1.6.3.1, 1.5.6)
open4 (1.3.4, 1.3.0)
power_assert (0.1.4)
psych (2.0.6, 2.0.0)
rake (10.3.2, 10.1.0, 0.9.6)
rdoc (4.1.2, 4.0.0)
rubygems-update (2.4.2)
sqlite3 (1.3.9, 1.3.7)
test-unit (3.0.1, 2.0.0.0)
thread_safe (0.3.4)
tzinfo (1.2.2)
xcodeproj (0.19.3, 0.16.1, 0.14.1)

Thanks

@kylef
Copy link
Contributor

kylef commented Oct 10, 2014

@kyleYang The command should not include the version. Please try the following:

$ [sudo] gem uninstall cocoapods-try-release-fix

@kyleYang
Copy link
Author

@kylef ,Thank you , The problem was resolved with your command. Thank you very much!

@kyleYang
Copy link
Author

@alloy ,Thank you

@dani-mp
Copy link

dani-mp commented May 21, 2015

I had the same issue and Kylef's answer solved my problem as well.

@peiweichen
Copy link

@kylef Thank you!

1 similar comment
@qalandarov
Copy link

@kylef Thank you!

@jkbreunig
Copy link

I have a similar issue and @kylef solution didn't fix the issue.

Unable to load a specification for the plugin /Library/Ruby/Gems/2.0.0/gems/cocoapods-deintegrate-1.0.0.beta.1

@segiddins
Copy link
Member

@jkbreunig what CocoaPods version are you running?

@mattinove
Copy link

I have the same @jkbreunig issue and @kylef solution didn't fix my problem too.
The CocoaPods version is 0.39.0
@segiddins can you help me please?

@Asteroidhaha
Copy link

"Unable to load a specification for the plugin /Library/Ruby/Gems/2.0.0/gems/cocoapods-deintegrate-1.0.0",how to solve this problem?

@dabvid
Copy link

dabvid commented May 27, 2016

+1

@trongtan
Copy link

trongtan commented Jun 6, 2016

Just remove gem cocoapods-deploy via command: gem uninsall cocoapods-deploy

@wangqianjun
Copy link

+1

2 similar comments
@gknows
Copy link

gknows commented Jul 19, 2016

+1

@seajean
Copy link

seajean commented Feb 16, 2017

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests