If you have problems installing a gem and get a error collect2: error: ld returned 1 exit status it's...

PhantomJS has no binary builds for Linux, and building it yourself is painful. However, you can install it through npm...

First install Node.js / npm. Then you can install Bower through npm: sudo npm install -g bower

digitalocean.com

I recommend install Node.js using nvm. This way you can have multiple Node versions in your ~/.nvm. You also won...

To update your Rubygems to the latest available version, type the following: gem update --system Note that you have a...

If you'd like to preview the crontab that whenever will deploy, run the following: bundle exec whenever

To check which rubygems versions your different rbenv rubys are using, you can use this small bash script:

makandra dev

tig is a command line explorer for Git that is just awesome. Install via apt-get or brew. Handy commands...

CTRL + SHIFT + ALT + N Search for any symbol in your application, like CSS classes, Ruby classes, methods, helpers etc...

makandra dev

To change RAM size, VDISK size or VCPU count of an openstack instance you have to use nova resize. You...

In Capistrano 2, directories in shared_children used to be symlinked to the shared directory during the finalize_update task...

Since version 2.6 exception notifier distinguishes between foreground and background sections. The reason is that with background jobs (e.g. methods...

Note: Making a reverse proxy with nginx is much more straightforward. A reverse proxy is a "man in the middle...

sslscan is a nice tool to show details about TLS/SSL connections: ~> sslscan some-host-at.makandra.de Testing SSL server some-host-at.makandra.de on port 443...

semaphoreci.com

Capistrano 3 is a major rework of the framework and requires several adjustments to your deploy configuration files. The biggest...

askubuntu.com

I was annoyed that RubyMine's autocompletion did not work via Ctrl+Space for me. In fact, it did not...

After adding a vdisk to an ESXi linux guest you will assert that you can't find a new device...

Several Rails migration methods accept index: true as an option to create an index. In some cases (like #add_column...

dmesg shows the kernel ring buffer containing low-level system messages. Per default, dmesg shows a timestamp:

Rails comes with a Rake task notes that shows code comments that start with "TODO", "FIXME", or "OPTIMIZE".

relishapp.com

In RSpec you can tag examples or example groups with any tags you like simply by saying describe ReportCreator, slow...

There are some frontends available, but they all suck, are no longer maintained or are hard to install.

makandra dev
github.com

Nested exceptions for Ruby: When you rescue an error and then re-raise your own, you don't have to...

This is useful to kill processes like ruby my-script.rb: pkill -f my-script.rb With great power comes great responsibility.