open-life-science / ols-theme

MIT License
0 stars 2 forks source link

Theme files not visible after running "bundle install" #1

Open NPDebs opened 1 year ago

NPDebs commented 1 year ago

👋 Hello...

After uploading a version of the theme to rubygems.org (see here), the theme was tested locally, following these steps:

One: Add this line to the site's Gemfile: gem "ols-theme"

Two: Add this line to the site's _config.yml: theme: ols-theme

Three: Execute: $ bundle

Description of the Issue: The challenge encountered relates to the visibility of theme files after running the "bundle install" command.

After successfully installing the theme using the above command, I expected to see the theme files and folders in my local machine's directory. However, I am unable to locate them, and it appears that the installation process did not include the necessary files.

Solutions I have tried:

  1. Verified that the theme was correctly included in the website's _config folder.
  2. Verified that the theme is listed as a dependency in the project's Gemfile.
  3. Double-checked the installation by running gem list.
  4. Attempted to build the site using bundle exec jekyll build and bundle exec jekyll serve, to see if the files become visible after the local server starts. This failed because the files were missing.
  5. Verified that the files were properly listed in the theme's repository by assessing the .gemspec file.
  6. Change the way the directories are listed in .gemspec file and pubish a new version of the theme.
  7. Test the latest version of the theme in a separate project (that is, a new/empty Jekyll site built from scratch).

Expected Behavior: Upon running "bundle install," I expected to see the theme files and folders appear in my local machine's directory.

Current Environment: Operating System: WSL (Ubuntu) Jekyll version: jekyll 4.3.2 Bundler version: Bundler version 2.4.13

I kindly request your guidance and support in resolving this matter. Please let me know if there are any specific steps or considerations I may have missed during the installation process. Also, if you need any further information about the issue, I am more than happy to provide them.

Thank you for your time!