You are viewing a single comment's thread from:RE: Tutorial-How to run Luckyluke bot by inertia.View the full contextmacrophotography (56)in #radiator • 7 years ago somewhere between 10 and 11 this goes wrong ...
I've just edited step 10, you need to run
rbenv rehash
in step 10. Let me know how it goes ,cheersthank you now we can play again :)
and nope it still won't do it , i still get the the "gem command excist in ... "error after gem install bundler
ok so i went on and searched and found this :
https://steemit.com/radiator/@inertia/luckyluke-rb-voting-bot
followed the Linux setup :
Linux
$ sudo apt-get update
$ sudo apt-get install ruby-full git openssl libssl1.0.0 libssl-dev
$ sudo apt-get upgrade
$ gem install bundler
now when i run the "gem install bundler "i get the error :
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /var/lib/gems/2.3.0 directory.
I was getting same error when I tried for first time, so used this https://stackoverflow.com/questions/37720892/you-dont-have-write-permissions-for-the-var-lib-gems-2-3-0-directory
Follow 1st answer by derek ,you will have to uninstall ruby and then reinstall
at your step 9 this is missing :
rbenv global 2.3.1
ruby -v
thanks ,edited, ruby -v command is just to check version number so don't really need that :)
it says : The `gem' command exists in these Ruby versions:
2.3.1
and when you try to reinstall ruby it says it's already installed..