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

Running "bundle exec jekyll serve" throws "Conversion error" #9

Open
matthiasguentert opened this issue Jul 28, 2019 · 4 comments
Open

Comments

@matthiasguentert
Copy link

matthiasguentert commented Jul 28, 2019

Hi Nicolas

First I'd like to thank you for the time and work you have put into this repository, very helpful. I have forked it and try to follow the instructions found here https://nicolas-van.github.io/bootstrap-4-github-pages/

Unfortunately when trying to host/run the website locally by issuing bundle exec jekyll serve the following error occurs:

Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/main.scss': File to import not found or unreadable: variables. Load path: C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-theme-primer-0.5.3/_sass on line 1

I haven't changed anything so far within the configuration and bundle install completes without any issues. The jekyll version I am using is jekyll 3.8.5.

Adding the full path to e.g. _sass\_variables.scss like so @import "C:/temp/myblog/_sass/variables"; fixes the issue. It seems as if jekyll cant find the files. Using relative path doesnt work.

Also adding the following to _config.yml doesn't help.

sass:
    sass_dir: _sass

How can I solve this?

@nicolas-van nicolas-van self-assigned this Jul 29, 2019
@nicolas-van
Copy link
Owner

Hello,

Could you provide:

  • Your OS and its version
  • Your ruby version
  • Your gem version
  • Your bundler version

@matthiasguentert
Copy link
Author

Sorry for not providing this information in the first place:

OS version: Windows 10 Pro 1809 x64
Ruby version: ruby 2.5.5p157 (2019-03-15 revision 67260) [x64-mingw32]
Gem version: 2.7.6.2
Bundler version: 2.0.2

@nicolas-van
Copy link
Owner

I can't reproduce this. I have similar versions compared to you except I'm on Ubuntu. And unfortunately I don't really have time to get a Windows machine to test on it.

So, sorry but I can't really help you more.

@nicolas-van nicolas-van removed their assignment Aug 16, 2019
@garyritchie
Copy link

I had a very similar error after moving my site directory to a submodule. Running sh update_bootstrap.sh fixed the issue for me. I'm running Windows 10 Pro with Ubuntu under Windows Subsystem for Linux.

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

3 participants