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

Could not find 'jekyll-sass-converter' (~> 1.0) - did find: [jekyll-sass-converter-3.0.0] (Gem::MissingSpecVersionError) #556

Open
pincusp opened this issue Feb 23, 2025 · 2 comments

Comments

@pincusp
Copy link

pincusp commented Feb 23, 2025

I am attempting to import a Blogger blog with Jekyll, however most posts are not imported and also the _site is not generated. Devuan user.

jekyll-import blogger --source blog-02-23-2025.xml --no-blogger-info --replace-internal-link --comments
[17133, #<Thread:0x000055620020ad70 run>, #<Gem::MissingSpecVersionError: Gem::MissingSpecVersionError>, ["/usr/lib/ruby/vendor_ruby/rubygems/dependency.rb:309:in `to_specs'", "/usr/lib/ruby/vendor_ruby/rubygems/specification.rb:2555:in `block in traverse'", "/usr/lib/ruby/vendor_ruby/rubygems/specification.rb:2553:in `each'", "/usr/lib/ruby/vendor_ruby/rubygems/specification.rb:2553:in `traverse'", "/usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1026:in `block in find_in_unresolved_tree'", "/usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1025:in `each'", "/usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1025:in `find_in_unresolved_tree'", "/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:114:in `require'", "/usr/lib/ruby/vendor_ruby/rubygems.rb:236:in `finish_resolve'", "/usr/lib/ruby/vendor_ruby/rubygems.rb:303:in `block in activate_bin_path'", "/usr/lib/ruby/vendor_ruby/rubygems.rb:301:in `synchronize'", "/usr/lib/ruby/vendor_ruby/rubygems.rb:301:in `activate_bin_path'", "/usr/local/bin/jekyll-import:23:in `<main>'"]]
Traceback (most recent call last):
	12: from /usr/local/bin/jekyll-import:23:in `<main>'
	11: from /usr/lib/ruby/vendor_ruby/rubygems.rb:301:in `activate_bin_path'
	10: from /usr/lib/ruby/vendor_ruby/rubygems.rb:301:in `synchronize'
	 9: from /usr/lib/ruby/vendor_ruby/rubygems.rb:303:in `block in activate_bin_path'
	 8: from /usr/lib/ruby/vendor_ruby/rubygems.rb:236:in `finish_resolve'
	 7: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:114:in `require'
	 6: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1025:in `find_in_unresolved_tree'
	 5: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1025:in `each'
	 4: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1026:in `block in find_in_unresolved_tree'
	 3: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:2553:in `traverse'
	 2: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:2553:in `each'
	 1: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:2555:in `block in traverse'
/usr/lib/ruby/vendor_ruby/rubygems/dependency.rb:309:in `to_specs': Could not find 'jekyll-sass-converter' (~> 1.0) - did find: [jekyll-sass-converter-3.0.0] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/home/lz/.local/share/gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0' , execute `gem env` for more information
	6: from /usr/local/bin/jekyll-import:23:in `<main>'
	5: from /usr/lib/ruby/vendor_ruby/rubygems.rb:301:in `activate_bin_path'
	4: from /usr/lib/ruby/vendor_ruby/rubygems.rb:301:in `synchronize'
	3: from /usr/lib/ruby/vendor_ruby/rubygems.rb:303:in `block in activate_bin_path'
	2: from /usr/lib/ruby/vendor_ruby/rubygems.rb:236:in `finish_resolve'
	1: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:167:in `require'
/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:167:in `ensure in require': CRITICAL: RUBYGEMS_ACTIVATION_MONITOR.owned?: before false -> after true (RuntimeError)

TY

@pincusp
Copy link
Author

pincusp commented Feb 23, 2025

Sorry, resolved by installing the packages ruby-jekyll-sass-converter and mercenary (sic) with apt ... however I continued to have issues ... downgraded ruby-jekyl-sass-converter to 1.5 (it seems that 1.0 would be required? I am not sure), as this is the oldest version I could find. Still no _site ... trying again ...

@ashmaroli
Copy link
Member

Hello @pincusp. This project does not depend on jekyll-sass-converter 1.x directly. You may have installed jekyll-3.x via github-pages gem previously, which should have installed `jekyll-sass-converter 1.x as well automatically.

Since you have resolved the issue by installing apt packages, lets leave that issue aside.

The _site is generated by Jekyll after building your imported project. You will have to manually run jekyll build or jekyll serve (after changing current directory in terminal to the imported location) to get the _site directory.

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