Posts by Kevin M. Mansour
In my Ruby project, when I try bundle install, I got: Your Ruby version is 2.7.0, but your Gemfile specified 2.6.6 I don't know how to solve it. I am using Windows Subsystem for Linux (WSL) U...
I have installed mysql-server on Ubuntu 20.04 then I tried to sign into mysql-server using sudo mysql -u root but I have got Error: Can't connect to local MySQL server through socket '/var/run/mys...
Simply, mysql-server isn't running, you will have to run it first using: sudo service mysql start then try to sign into mysql-server using: sudo mysql then you are good to go.
Go to your Gemfile (Inside your project structure) and edit ruby '2.6.6' to ruby '2.7.0' and then you are good to go. Like:
To fix this: First, run cat command on the file listed in the message. e.g: cat /home/XXX/ruby/YYY/tmp/pids/server.pid cat command will return a 5 digit number. e.g 12345 12345 is the PID ...