during install popfile will show error message like following message.
Generating Pods project
[!] An error occurred while processing the post-install hook of the Podfile.
undefined local variable or method `installer' for #<Pod::Podfile:0x00007fee7794a0f8>
Did you mean? install!
/Users/peggytsai/Documents/wavegis/Water_ios 下午4.12.08/Podfile:45:in `block (3 levels) in from_ruby'
/usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-core-1.5.3/lib/cocoapods-core/podfile.rb:179:in `post_install!'
/usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:647:in `run_podfile_post_install_hook'
/usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:635:in `block in run_podfile_post_install_hooks'
/usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:142:in `message'
/usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:634:in `run_podfile_post_install_hooks'
/usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:186:in `block in generate_pods_project'
/usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:64:in `section'
/usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:183:in `generate_pods_project'
/usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:119:in `install!'
/usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/command/install.rb:41:in `run'
/usr/local/lib/ruby/gems/2.5.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
/usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:52:in `run'
/usr/local/lib/ruby/gems/2.5.0/gems/cocoapods-1.5.3/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'
how do i install cocoapods popfile?
[Update] cocoapods version is 1.5.3
[Update] cocoapods
Related
Since I run flutter upgrade when I try to run my flutter app I get this error :
[!] An error occurred while processing the post-install hook of the Podfile
undefined method `each_child' for #<Dir:0x00007fcc34ccf6e8>
Did you mean? each_slice
/Users/youcefdahmani/Dev/flutter/packages/flutter_tools/bin/podhelper.rb:54:in `block in flutter_additional_ios_build_settings'
/Users/youcefdahmani/Dev/flutter/packages/flutter_tools/bin/podhelper.rb:51:in `each'
/Users/youcefdahmani/Dev/flutter/packages/flutter_tools/bin/podhelper.rb:51:in `flutter_additional_ios_build_settings'
/Users/youcefdahmani/Work/Projects/MyShop/my_shop_app/ios/Podfile:39:in `block (3 levels) in from_ruby'
/Users/youcefdahmani/Work/Projects/MyShop/my_shop_app/ios/Podfile:38:in `each'
/Users/youcefdahmani/Work/Projects/MyShop/my_shop_app/ios/Podfile:38:in `block (2 levels) in from_ruby'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-core-1.10.1/lib/cocoapods-core/podfile.rb:179:in `post_install!'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:897:in `run_podfile_post_install_hook'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:885:in `block in run_podfile_post_install_hooks'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:145:in `message'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:884:in `run_podfile_post_install_hooks'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:329:in `block (2 levels) in create_and_save_projects'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/xcode/pods_project_generator/pods_project_writer.rb:61:in
`write!'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:328:in `block in create_and_save_projects'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:307:in `create_and_save_projects'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:299:in `generate_pods_project'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:178:in `integrate'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:166:in `install!'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/command/install.rb:52:in `run'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:52:in `run'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>'
/Users/youcefdahmani/.rbenv/versions/2.5.8/bin/pod:23:in `load'
/Users/youcefdahmani/.rbenv/versions/2.5.8/bin/pod:23:in `<main>'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:899:in `rescue in run_podfile_post_install_hook'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:896:in `run_podfile_post_install_hook'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:885:in `block in run_podfile_post_install_hooks'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:145:in `message'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:884:in `run_podfile_post_install_hooks'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:329:in `block (2 levels) in create_and_save_projects'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/xcode/pods_project_generator/pods_project_writer.rb:61:in
`write!'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:328:in `block in create_and_save_projects'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:307:in `create_and_save_projects'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:299:in `generate_pods_project'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:178:in `integrate'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:166:in `install!'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/command/install.rb:52:in `run'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:52:in `run'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>'
/Users/youcefdahmani/.rbenv/versions/2.5.8/bin/pod:23:in `load'
/Users/youcefdahmani/.rbenv/versions/2.5.8/bin/pod:23:in `<main>'
Error output from CocoaPods:
↳
[!] Automatically assigning platform `iOS` with version `11.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your
Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
Error running pod install
Error launching application on iPhone 12 Pro Max.
It seems to be an error linked to my ruby version but when I check my version It the 2.5.8. I try to search an answer to this issue but I found nothing. Please can you help to fix this.
Update your ruby version to at least 2.6.x
Flutter relies on ruby in the background, the each_child command was introduced in ruby since 2.6
Looking for the solution, since I'm now out of ideas how to fix that.
Before I upgraded my Mac OS X to Catalina everything was fine.
What I tried already:
removed ruby sudo rvm implode and all the relations
reinstalled rvm
reinstalled sass
reinstalled compass
Any input would be much appreciated.
Here is the full backtrace after running the command compass compile:
Errno::EROFS on line ["239"] of /Users/admin/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/fileutils.rb: Read-only file system # dir_s_mkdir - /c
/Users/admin/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/fileutils.rb:239:in `fu_mkdir'
/Users/admin/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/fileutils.rb:217:in `block (2 levels) in mkdir_p'
/Users/admin/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/fileutils.rb:215:in `reverse_each'
/Users/admin/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/fileutils.rb:215:in `block in mkdir_p'
/Users/admin/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/fileutils.rb:200:in `each'
/Users/admin/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/fileutils.rb:200:in `mkdir_p'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/sass-3.4.25/lib/sass/cache_stores/filesystem.rb:38:in `_store'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/sass-3.4.25/lib/sass/cache_stores/base.rb:51:in `store'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/sass-3.4.25/lib/sass/cache_stores/chain.rb:19:in `block in store'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/sass-3.4.25/lib/sass/cache_stores/chain.rb:19:in `each'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/sass-3.4.25/lib/sass/cache_stores/chain.rb:19:in `store'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/sass-3.4.25/lib/sass/engine.rb:420:in `_to_tree'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/sass-3.4.25/lib/sass/engine.rb:315:in `to_tree'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/sass-3.4.25/lib/sass/plugin/staleness_checker.rb:184:in `tree'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/sass-3.4.25/lib/sass/plugin/staleness_checker.rb:174:in `compute_dependencies'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/sass-3.4.25/lib/sass/plugin/staleness_checker.rb:149:in `dependencies'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/sass-3.4.25/lib/sass/plugin/staleness_checker.rb:125:in `dependencies_stale?'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/sass-3.4.25/lib/sass/plugin/staleness_checker.rb:166:in `block in dependency_updated?'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/sass-3.4.25/lib/sass/plugin/staleness_checker.rb:81:in `stylesheet_modified_since?'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/sass-3.4.25/lib/sass/plugin/staleness_checker.rb:69:in `stylesheet_needs_update?'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/sass-3.4.25/lib/sass/plugin/compiler.rb:211:in `block in update_stylesheets'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/sass-3.4.25/lib/sass/plugin/compiler.rb:209:in `each'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/sass-3.4.25/lib/sass/plugin/compiler.rb:209:in `update_stylesheets'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/compass-1.0.3/lib/compass/sass_compiler.rb:40:in `compile!'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/compass-1.0.3/lib/compass/commands/update_project.rb:49:in `perform'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/compass-1.0.3/lib/compass/commands/base.rb:18:in `execute'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/compass-1.0.3/lib/compass/commands/project_base.rb:19:in `execute'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/compass-1.0.3/lib/compass/exec/sub_command_ui.rb:43:in `perform!'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/compass-1.0.3/lib/compass/exec/sub_command_ui.rb:15:in `run!'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/compass-1.0.3/bin/compass:30:in `block in <top (required)>'
/Users/admin/.rvm/gems/ruby-2.6.3/gems/compass-1.0.3/bin/compass:44:in `<top (required)>'
/Users/admin/.rvm/gems/ruby-2.6.3/bin/compass:23:in `load'
/Users/admin/.rvm/gems/ruby-2.6.3/bin/compass:23:in `<main>'
/Users/admin/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `eval'
/Users/admin/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `<main>'
I had the similar problem, you can try to launch
xcode-select --install
and after add
export CPATH="/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include"
export SDKROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
to your .bash_profile
The problem was solved by importing the entire compass library into my project from the following Compass' repository: https://github.com/Compass/compass
The library is located here: https://github.com/Compass/compass/tree/stable/core/stylesheets
I'm trying to run my jekyll site locally but when executing the command:
jekyll serve
I receive the following error message:
bhavik-imac:dhokes.github.io bhavikdhokia$ jekyll serve
Configuration file: /Users/bhavikdhokia/Development/git/dhokes.github.io/_config.yml
/Users/bhavikdhokia/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- jekyll-sitemap (LoadError)
from /Users/bhavikdhokia/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:29:in `block in require_gems'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:26:in `each'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:26:in `require_gems'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:19:in `conscientious_require'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1/gems/jekyll-2.5.3/lib/jekyll/site.rb:79:in `setup'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1/gems/jekyll-2.5.3/lib/jekyll/site.rb:41:in `initialize'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1/gems/jekyll-2.5.3/lib/jekyll/commands/build.rb:29:in `new'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1/gems/jekyll-2.5.3/lib/jekyll/commands/build.rb:29:in `process'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1/gems/jekyll-2.5.3/lib/jekyll/commands/serve.rb:26:in `block (2 levels) in init_with_program'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1#global/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `call'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1#global/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `block in execute'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1#global/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `each'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1#global/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `execute'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1#global/gems/mercenary-0.3.5/lib/mercenary/program.rb:42:in `go'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1#global/gems/mercenary-0.3.5/lib/mercenary.rb:19:in `program'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1/gems/jekyll-2.5.3/bin/jekyll:20:in `<top (required)>'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1/bin/jekyll:23:in `load'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1/bin/jekyll:23:in `<main>'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'
from /Users/bhavikdhokia/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'
Any suggestions as to why this is and how to resolve this?
Seems like you have to install jekyll-sitemap Try to install it by gem install jekyll-sitemap.
For people Googling this problem, also try bundle update if you're using bundle.
I just set up Jekyll on my Linux machine and installed (I think) all the necessary dependencies. When I try to run jekyll serve or jekyll build, I get the error displayed below. However, if I run jekyll new "test" to create a new site, it works just fine.
Here is the error message I am receiving (it's the exact same for serve and build):
Configuration file: /home/michael/Dev/github-site/_config.yml
/home/michael/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- jekyll-sitemap (LoadError)
from /home/michael/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /home/michael/.rvm/gems/ruby-2.2.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:29:in `block in require_gems'
from /home/michael/.rvm/gems/ruby-2.2.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:26:in `each'
from /home/michael/.rvm/gems/ruby-2.2.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:26:in `require_gems'
from /home/michael/.rvm/gems/ruby-2.2.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:19:in `conscientious_require'
from /home/michael/.rvm/gems/ruby-2.2.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:79:in `setup'
from /home/michael/.rvm/gems/ruby-2.2.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:41:in `initialize'
from /home/michael/.rvm/gems/ruby-2.2.0/gems/jekyll-2.5.3/lib/jekyll/commands/build.rb:29:in `new'
from /home/michael/.rvm/gems/ruby-2.2.0/gems/jekyll-2.5.3/lib/jekyll/commands/build.rb:29:in `process'
from /home/michael/.rvm/gems/ruby-2.2.0/gems/jekyll-2.5.3/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'
from /home/michael/.rvm/gems/ruby-2.2.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `call'
from /home/michael/.rvm/gems/ruby-2.2.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `block in execute'
from /home/michael/.rvm/gems/ruby-2.2.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `each'
from /home/michael/.rvm/gems/ruby-2.2.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `execute'
from /home/michael/.rvm/gems/ruby-2.2.0/gems/mercenary-0.3.5/lib/mercenary/program.rb:42:in `go'
from /home/michael/.rvm/gems/ruby-2.2.0/gems/mercenary-0.3.5/lib/mercenary.rb:19:in `program'
from /home/michael/.rvm/gems/ruby-2.2.0/gems/jekyll-2.5.3/bin/jekyll:20:in `<top (required)>'
from /home/michael/.rvm/gems/ruby-2.2.0/bin/jekyll:23:in `load'
from /home/michael/.rvm/gems/ruby-2.2.0/bin/jekyll:23:in `<main>'
from /home/michael/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in `eval'
from /home/michael/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in `<main>'
Any help would be greatly appreciated, I'm new to using Jekyll and Ruby.
Try to do a :
gem install jekyll-sitemap
Installing ya2yaml (0.30) c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:371:in `rescue in block in initialize_copy': ya2yaml-0.30 has
an invalid value for #cert_chain (Gem::FormatException)
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:364:in `block in initialize_copy'
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:360:in `each'
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:360:in `initialize_copy'
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:638:in `initialize_dup'
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:638:in `dup'
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:638:in `for_cache'
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:746:in `to_ruby_for_cache'
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:234:in `write_spec'
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:175:in `install'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/source.rb:96:in `install'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/installer.rb:55:in `block in run'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/spec_set.rb:12:in `block in each'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/spec_set.rb:12:in `each'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/spec_set.rb:12:in `each'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/installer.rb:44:in `run'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/installer.rb:8:in `install'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/cli.rb:226:in `install'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/vendor/thor/task.rb:22:in `run'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/vendor/thor.rb:246:in `dispatch'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/vendor/thor/base.rb:389:in `start'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/bin/bundle:13:in `<top (required)>'
from c:/Ruby192/bin/bundle:19:in `load'
from c:/Ruby192/bin/bundle:19:in `<main>'
I tried to install it like this:
$ gem install ya2yaml --platform=ruby
ERROR: While executing gem ... (Gem::FormatException)
ya2yaml-0.30 has an invalid value for #cert_chain
But i got another error.
Update gem
gem update --system
I guess this should solve your problem
Error when installing "ya2yaml" gem on Windows7, Ruby1.9.2, Rails3
Hope it helps.