We generally use multiple application servers (at least two) and you have to search on all of them if you...
If you have a replication error with MySQL and you know the "error" is okay (e.g. you've executed the...
On application servers, gems are usually bundled into the project directory, at a location shared across deployments. This is usually...
There are some inconvenient Gem dependencies. Resolve them by adding/modifying these lines in your Gemfile: gem 'guard-livereload', '>= 2.5.2', require...
Reminder of what you can do with Geordi. Note: If you alias Geordi to something short like g, running commands...
First find the reference for the entry you want through looking at the stash: $ git stash list stash@{0}: WIP...
You may know the double asterisk operator from Ruby snippets like Dir['spec/**/*_spec.rb'] where it expands to an arbitrary...
Exercise 1: XML On the start page of your Movie DB, show the title of a random movie that is...
So you're getting an error like this: undefined method `activate_bin_path' for Gem:Module (NoMethodError)
Chrome gives you the currently selected element in the inspector with $0. If you select a button in the DOM...
TL;DR: Update the 'net-ssh' gem by adding to your Gemfile: gem 'net-ssh', '=2.9.1' Now run bundle update...
So you're getting this failure when running bundle install on an older project: Your Gemfile.lock is corrupt. The following...
Building plain text emails with an .erb template doesn't allow you to indent code like you normally do in...
This card tries to summarize by example the different uses of heredoc. In Ruby << vs. <<- vs. <<~ In Rails strip_heredoc...
You can use three different versions of the regular expression syntax in grep: basic: -G extended: -E(POSIX)
TL;DR Debugging problems with javascript errors in cucumber tests is sometimes easier in the browser. Run the test, stop...
This method will remove automatically installed packages that no other packages depend on any more. This, of course...
xargs is a powerful bash tool that can take input from $STDIN and pass it to a given command. I.e...
If your external displays not switching on or showing a weird behavior (for e.g. all displays getting the same configuration...
When giving a presentation with a projector it is sometimes better to use a dual screen layout instead of a...
When testing your command line application with Aruba, you might need to stub out other binaries you don't want...
In order to have monitoring for Sidekiq (like queue sizes, last run of Sidekiq) your application should have a monitoring...
You can have a command repeatedly executed and the output displayed. This is useful e.g. for monitoring file system changes...
If you want to find the commits that touched a specific text in a file, use git log -S 'text...