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...
You can make both mobile Chrome and mobile Safari display a native app install banner. The banner suggests that the...
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:
MarcoPolo shows your app name and environment in your console prompt so you don't accidentally break production Officially supporting...
tig is a command line explorer for Git that is just awesome. Install via apt-get or brew. Handy commands...
Here is how to start your Rails application to accept both HTTP and HTTPS in development. gem install passenger
The Bullet gem is designed to help you increase your application's performance by reducing the number of queries it...
If you see a stacktrace beginning with lines like this: E, [2015-07-16T09:23:10.896146 #23308] ERROR -- : app...
Sometimes you need to run background jobs that you can't make important guarantees about - they may run out of...
Today I ran into this: Invalid gemspec in [/usr/local/rvm/gems/ruby-1.9.3-p194/specifications/ZenTest-4.9.3.gemspec]: Illformed requirement ["< 2.1, >= 1.8"]. You need a newer Rubygems version. Try...
Capistrano 3 is a major rework of the framework and requires several adjustments to your deploy configuration files. The biggest...
In RSpec you can tag examples or example groups with any tags you like simply by saying describe ReportCreator, slow...
When using threads, you must make your code thread-safe. This can be done by either locking (mutexes) all data...
Web applications can be used by multiple users at the same time. A typical application server like Passenger has multiple...
Dusen (our search gem) is now capable of excluding words, phrases and qualified fields from search. E.g. search for
You can hook into Slack when using Capistrano for deployment. The slackistrano gem does most of the heavy lifting for...
See this Railscast. Basically you can simply write views like index.xlsx.erb: ID Name Release Date Price <% @products.each do |product| %> <%= product.id...
The linked article explains how to get a database-wide lock without creating table rows: This article explains how I...
I got the following error after updating the selenium-webdriver gem: wrong number of arguments (0 for 1) (ArgumentError) /home/pointoo-dev/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.35.1/lib/selenium/webdriver/common/platform.rb...
Gem to show failing specs instantly. Unlike the --fail-fast option it doesn't abort abort on the first failure...
Preview what your markdown would look like on Github. Helpful e.g. when writing or extending a Readme for your gem...
Geordi 1.0 features a command line application geordi, that holds most of Geordi's previous commands. New features