Activity for Kevin M. Mansourâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Answer | — |
A: "A server is already running" error in rails 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 of the process that is running the current rails server. Then kill the r... (more) |
— | almost 3 years ago |
Answer | — |
A: Your Ruby version is 2.7.0, but your Gemfile specified 2.6.6. 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: (more) |
— | almost 3 years ago |
Question | — |
Your Ruby version is 2.7.0, but your Gemfile specified 2.6.6. 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) Ubuntu 20.04 and Ruby 2.7.0. (more) |
— | almost 3 years ago |
Answer | — |
A: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' Simply, `mysql-server` isn't running, you will have to run it first using: ```bash sudo service mysql start ``` then try to sign into `mysql-server` using: ```bash sudo mysql ``` then you are good to go. (more) |
— | almost 3 years ago |
Question | — |
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' 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 ```plain Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) ``` I don't know what does that mean. I am using Windows Sub... (more) |
— | almost 3 years ago |