Today I needed to execute a ruby gem executable with sudo. But, surprisingly, bash would tell me command not found...

makandra dev

Before installing chef, make sure curl is installed and sudo finds your gems setup chef-client: follow this guide

If you need to strip carriage return characters from a text file, you can use Vim: vim file.txt

We regularly need to connect to the server in order to e.g. access the production console. Guessing the Capistrano deploy...

makandra dev

When you simply want to get to know Puppet, follow puppetlabs’ Learning Puppet Docs. They give you a handy introduction...

Install Ubuntu Server Download an image from this site Select File > New… to and follow the instructions, choose the .iso...

Run rspec-and-cucumber from any project directory to run both RSpec and Cucumber. If available, rspec_spinner or cucumber...

After a new system installation, Ubuntu One starts automatically and seems to try to sync your complete home directory. This...

wiki.qemu.org

When you want to quickly boot from a drive or image in a virtual machine you do not need to...

github.com

Whenever is a Ruby gem that provides a clear syntax for writing and deploying cron jobs.

When deploying an application with "cap deploy" by default [1] you only deploy your code but do not run migrations...

Airbrake (formerly Hoptoad) already ignores certain errors like InvalidAuthenticityToken by default (see Airbrake::Configuration::IGNORE_DEFAULT).\ To ignore additional classes...

httpd.apache.org

If you want to have a new log file every day automatically, but avoid using logrotate, the CustomLog directive is...

If you want to convert a README.rdoc file to HTML, say this from a shell: rdoc README.rdoc

linux.die.net

Reading a URL via GET: curl http://example.com/ Defining any HTTP method (like POST or PUT): curl http://example.com/users/1...

Simply add --dry-run, like this: sudo apt-get install --dry-run something This is great if packages would get...

When installing RMagick you may get an error messages like this: Version 2.13.1: checking for Ruby version >= 1.8.5... yes

If you want to manually check if e-mail delivery works on a machine by sending an e-mail you...

If there is some weird margin at the top of your page for no apparent reason, chances are one of...

The Ubuntu Documentation on LaTeX says, that the packages tetex are no longer supported. You can install the alternative texlive...

Note that you cannot currently use Ruby 1.9.2 with Rails 2 applications that use RSpec, so don't upgrade if...

devstructure.com

blueprint is DevStructure’s workhorse tool that looks inside popular package managers, finds changes you made to configuration files, and...

I don't like those buttons inside the header area of a message that Thunderbird 3 put there. Though the...

makandra dev
github.com

The shell variable PS1 holds your bash prompt. You might want to change it to serve your needs best. Here...