When deploying, Capistrano puts a REVISION file into your application's release directory. It contains the hash of the commit...

This will make MySQL log all received queries so you can see for yourself what happens on the database level...

So you probably see the following error trace within your Passenger log file if you got here:

stackoverflow.com

This is for you if Passenger gives you the following useless error message. Passenger encountered the following error:\ The application...

An = is represented by =3D in the log file. I got confused by the leading 3D which is not part...

This is a way to run multiple redis server on one ubuntu server. These steps you have to do only...

RubyMine offers you to exclude directories from search, meaning faster search results and less "noise" in the list of result...

In order to chain greps on log files that are opened via tail -f test.log you have to use the...

Let's say you have commits that change a file (and looking at the commit details show you the changes...

The unix command line tool less is a good choice for browsing logfiles. In the standard configuration, though, it does...

github.com

When Rack::Bug has been added to your project and your Apache2/Passenger only replies with an Error 500 (Internal Server...

Clearance is a gem that provides authentication functionality (e.g. login, logout). This note explains, how the clearance login, logout and...

To show the MySQL default character set you have to login to the MySQL console and execute SHOW VARIABLES LIKE...

makandra dev

If you want to know the exact hits on your website (or whatever logfile you want) for a specific date...

The Rails logger will store its content in a buffer and write it into the file system every 1000 lines...

commandlinefu.com

The colors in Rails log files are helpful when watching them but, since they are ANSI color codes like ^[[4...

makandra dev

This will reduce the filesize of foo and bar to 0 bytes: truncate -s0 foo bar If the files do...

stackoverflow.com

Most likely you run rake and your code is causing an exception which is not the one shown in your...

When your Solr seems to be started properly (a process is running with the correct data directory) but never responds...

If your application raises an error like ... Couldn't connect to the Solr server at http://127.0.0.1:8983/solr. 500 "Lock...

I believe that when WEBrick has trouble bringing up your Rails application, the WEBrick component that is supposed to print...

When you create a temporary file (e.g. to store a generated Excel sheet) and try to send it to the...

Note: Consider using MATE instead of Gnome 3 on newer system Awesome is a very good tiling window manager that...

devnet.jetbrains.net

To activate the shell command, go to Tools > Create Command-line Launcher and confirm. Now you have mine as bash...