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

Issues running jekyll and bundler after ubuntu container instructions. #82

Open
d5c4b3 opened this issue Jun 4, 2023 · 0 comments
Open

Comments

@d5c4b3
Copy link

d5c4b3 commented Jun 4, 2023

In the Ubuntu Container instructions you are told to add the $HOME/gems/bin to your path. Then you can optionally export them with apx. Doing so gives you an error, but does export it as apt_jekyll.

 WARNING  Another program with name `jekyll` already exists on host, exporting as `apt_jekyll`.                                                                                                      
 ▀ Exporting binary: jekyll. (0s)                                                                                                                                                                    
  ERROR   Error exporting binary: Error: Could not find a binary with name `jekyll` in $PATH. Nothing to export.

At this point running jekyll results in

bash: /home/<user>/gems/bin/jekyll: cannot execute: required file not found

With the correct way to run it using apt_jekyll or apx run jekyll. The rest of the documentation uses jekyll which exists, but errors out.

My current work around to get jekyll to work correctly is to add the gem bin to PATH in .bashrc, export jekyll as apt_jekyll, remove the gem bin from PATH in .bashrc, then rename apt_jekyll to jekyll.

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

1 participant