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

uninitialized constant Pod::Lockfile::Digest #484

Closed
tilowestermann opened this issue Aug 28, 2012 · 3 comments
Closed

uninitialized constant Pod::Lockfile::Digest #484

tilowestermann opened this issue Aug 28, 2012 · 3 comments

Comments

@tilowestermann
Copy link

Report

  • What did you do?

I ran the "pod install" command

  • What did you expect to happen?

  • What happened instead?

Thew following output occurs:

Updating spec repo lcl' Updating spec repomaster'
Using CMPopTipView (1.1.0)
Using cocoa-oauth (0.0.1)
Using CorePlot (1.0)
Using FileMD5Hash (0.0.1)
Using ISO8601DateFormatter (0.6)
Using JSONKit (1.5pre)
Using LibComponentLogging-Core (1.3.1)
Using LibComponentLogging-LogFile (1.2.1)
Using LibComponentLogging-NSLog (1.0.4)
Using LibComponentLogging-pods (0.0.1)
Using LibComponentLogging-qlog (1.1.1)
Using NoticeView (2.1)
Using NSData+Base64 (1.0.0)
Using RestKit/JSON (0.10.2)
Using SOCKit (1.0)
Generating support files
Creating LibComponentLogging configuration
[!] Use 'lcl_config_components.h.pods' to configure log components
[!] Use 'lcl_config_extensions.h.pods' to configure additional log extensions
Configuring LibComponentLogging logging back-end 'LogFile'
[!] Configuration file 'LCLLogFileConfig.h' already exists, please merge with 'LCLLogFileConfig.h.tmp' manually
Configuring LibComponentLogging logging back-end 'NSLog'
[!] 'NSLog' overrides the previously configured logging back-end 'LogFile'
Configuring LibComponentLogging extension 'qlog'

Stack

   CocoaPods : 0.14.0.rc1
        Ruby : ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
    RubyGems : 1.8.24
        Host : Mac OS X 10.8.1 (12B19)
       Xcode : 4.4.1 (4F1003)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib
Repositories : lcl - git://github.com/aharren/LibComponentLogging-CocoaPods-Specs.git @ 87e9a25df6995e00a7ab09fe51f58c8141035a11
               master - https://github.com/CocoaPods/Specs.git @ 510be9fc931f76039a57ebaf7782bf26ba088373

Podfile

          platform :ios
pod 'CorePlot'
pod 'CMPopTipView'
pod 'NoticeView'

pod 'RestKit'

pod 'LibComponentLogging-Core',    '~> 1.2'
pod 'LibComponentLogging-LogFile', '~> 1.1'
pod 'LibComponentLogging-qlog',    '~> 1.1'

pod 'LibComponentLogging-pods'

Error

uninitialized constant Pod::Lockfile::Digest
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.14.0.rc1/lib/cocoapods/lockfile.rb:257:in `generate_hash_from_podfile'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.14.0.rc1/lib/cocoapods/lockfile.rb:256:in `each'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.14.0.rc1/lib/cocoapods/lockfile.rb:256:in `generate_hash_from_podfile'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.14.0.rc1/lib/cocoapods/lockfile.rb:19:in `generate'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.14.0.rc1/lib/cocoapods/installer.rb:146:in `install!'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.14.0.rc1/lib/cocoapods/command/install.rb:46:in `run_install_with_update'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.14.0.rc1/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.14.0.rc1/lib/cocoapods/command.rb:76:in `run'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.14.0.rc1/bin/pod:12
/usr/bin/pod:23:in `load'
/usr/bin/pod:23
@fabiopelosin
Copy link
Member

Thanks for the report. If you are familiar with the command line can you confirm that adding

require 'digest'

to the top of /Library/Ruby/Gems/1.8/gems/cocoapods-0.14.0.rc1/lib/cocoapods/lockfile.rb fixes the issue. You might need super user privileges.

@tilowestermann
Copy link
Author

That was fast - thanks! (issue fixed)

On Aug 28, 2012, at 4:25 PM, Fabio Pelosin notifications@github.com wrote:

Thanks for the report. If you are familiar with the command line can you confirm that adding:

require 'digest'
to the top of /Library/Ruby/Gems/1.8/gems/cocoapods-0.14.0.rc1/lib/cocoapods/lockfile.rb fixes the issue. You might require super user privileges.


Reply to this email directly or view it on GitHub.

@fabiopelosin
Copy link
Member

The updated RC will be released within 24h.

jzapater pushed a commit to jzapater/CocoaPods that referenced this issue Sep 17, 2013
Added podspec for HCYoutubeParser
fabiopelosin added a commit that referenced this issue Oct 25, 2014
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

2 participants