Error while runnig it!

I am facing this issue while running Jekyll on my system.
The same error is coming while using the command ‘jekyll build’
I tried reinstalling both the Ruby and Jekyll too, but it didn’t work
I’m using Ubuntu !!!

Please help me to fix the issue.

not sure but if you look at the paths there it seems you have ruby stuff in both var and usr and maybe home? try uninstalling ruby and try again? when you uninstall ruby check and see if it is still installed.

1 Like

Thanks a lot now it’s running.

Firstly I uninstalled the ruby and all the dependencies which I installed during setting up Jekyll. After that, I installed it again.
I’m sharing the screenshots of this also so that any faces the same issue they can get help from this.