-
Notifications
You must be signed in to change notification settings - Fork 0
Add installation info from metafacture/metafacture-documentation/pull/56 #22
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
base: main
Are you sure you want to change the base?
Conversation
The tutorial is using the same template as the documentation therefore we can reuse the installation instruction by @dr0i See: metafacture/metafacture-documentation#56
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As commented, I am not able to install jekyll and start the server on my Linux Mint Debian Edition 6 laptop.
### Installation | ||
If you are on debian derivates go install build-essentials: | ||
``` | ||
apt install build-essential |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this work for anybody without sudo
? At least it doesn't for me.
If you experience troubles, make sure to not have jekyll installed via you | ||
package manager. On debian derivates do: | ||
``` | ||
apt purge jekyll |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here: Does this work for anybody without sudo
? At least it doesn't for me.
``` | ||
Then you can use the Ruby Dependency Management to build all you need: | ||
``` | ||
bundle install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After running sudo apt install build-essential
and then bundle install
, I get:
$ bundle install
Command 'bundle' not found, but can be installed with:
sudo apt install ruby-bundler
Is it only me or should installatioj of ruby-bundler
also be added to the documentation?
However, after installing ruby-bundler
, bundle install
will start but throw errors for me. So, up until now I did not manage to start jekyll...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback, since it is the description from @dr0i which he introduced in metafacture-documentation, he probably can help
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@acka47 could you try this (as root or sudoing and beeing in this repo's directory):
sudo apt remove ruby-bundler; sudo apt purge jekyll; sudo apt update; sudo apt install build-essential; bundle install; bundle exec jekyll serve
Ignore Warnings , the server should start at http://127.0.0.1:4000. If it does not , I am clueless.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@acka47 could you try this (as root or sudoing and beeing in this repo's directory):
sudo apt remove ruby-bundler; sudo apt purge jekyll; sudo apt update; sudo apt install build-essential; bundle install; bundle exec jekyll serve
Did so, bundle install
works now but I get the same error I had before (after installing ruby-bundler
, bundle install
):
Gem::FilePermissionError: You don't have write permissions for the /var/lib/gems/3.1.0 directory
I did export GEM_HOME=$HOME/.gem/ruby/3.1.0/
as written in https://github.com/orgs/rubygems/discussions/6760#discussioncomment-6514401 and get another error:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
This is getting on my nerves. If it works for others, you might already merge this PR.
See #15
The tutorial is using the same template as the documentation therefore we can reuse the installation instruction by @dr0i
See: metafacture/metafacture-documentation#56