Elijah Lofgren

I follow Jesus Christ and enjoy reading, writing, helping people, and making websites. Who is Jesus?

My life mission: "Whatever you do, do it all for the glory of God." - 1 Corinthians 10:31

You are here: Home » Web Dev Tips » Ruby on Rails Tips

Ruby on Rails Tips

Learning Rails

Fixing Problems

  • Get "script/console" working

    On Debian unstable you need to install "Interactive Ruby (irb)":

    apt-get install irb
  • Fix "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)" error when using XAMPP MySQL server

    Create a symlink to the XAMPP MySQL socket:

    ln -s /opt/lampp/var/mysql/mysql.sock /var/run/mysqld/mysqld.sock