Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Posts by Kevin M. Mansour‭

5 posts
66%
+2 −0
Q&A 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) U...

2 answers  ·  posted 3y ago by Kevin M. Mansour‭  ·  edited 3y ago by deleted user

Question ruby ubuntu
60%
+1 −0
Q&A 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 Error: Can't connect to local MySQL server through socket '/var/run/mys...

2 answers  ·  posted 3y ago by Kevin M. Mansour‭  ·  last activity 3y ago by Kevin M. Mansour‭

Question ubuntu mysql-server
50%
+0 −0
Q&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: sudo service mysql start then try to sign into mysql-server using: sudo mysql then you are good to go.

posted 3y ago by Kevin M. Mansour‭  ·  edited 3y ago by Kevin M. Mansour‭

Answer
50%
+0 −0
Q&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:

posted 3y ago by Kevin M. Mansour‭

Answer
50%
+1 −1
Q&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 ...

posted 3y ago by Kevin M. Mansour‭  ·  edited 1y ago by Trilarion‭

Answer