Today I needed to execute a ruby gem executable with sudo. But, surprisingly, bash would tell me command not found...
Before installing chef, make sure curl is installed and sudo finds your gems setup chef-client: follow this guide
We regularly need to connect to the server in order to e.g. access the production console. Guessing the Capistrano deploy...
When you simply want to get to know Puppet, follow puppetlabs’ Learning Puppet Docs. They give you a handy introduction...
We recently decided to put static content for HouseTrip.com to Amazon Cloudfront for a faster user experience. This happens fully...
Run rspec-and-cucumber from any project directory to run both RSpec and Cucumber. If available, rspec_spinner or cucumber...
Whenever is a Ruby gem that provides a clear syntax for writing and deploying cron jobs.
Sass now comes with user-defined functions, keyword arguments, list manipulation. Haml and Sass are now two separate gems.
The Edge Rider gem will define a method collect_ids on your ActiveRecord models, scopes, integer scalars and collections, which...
Our new scope-based authorization gem for Ruby on Rails has been released. This might one day replace Aegis as...
If you want to convert a README.rdoc file to HTML, say this from a shell: rdoc README.rdoc
Ruby gem to check whether a given bic/account-no-combination can possibly be valid for a German bank. Can also resolve German...
Reading a URL via GET: curl http://example.com/ Defining any HTTP method (like POST or PUT): curl http://example.com/users/1...
User.active.to_sql Rails 2 Use either the Edge Rider or fake_arel gem to get #to_sql backported...
Since version 1.5 RubyGems requires at least Ruby 1.8.7. The last one working with Ruby 1.8.6 was RubyGems 1.4.2.
When installing RMagick you may get an error messages like this: Version 2.13.1: checking for Ruby version >= 1.8.5... yes
Phillip Koebbe from Ruby on Rails suggested inserting following code between the "bootstrap" and "initialize" sections of enviroment.rb. This hack...
If you just upgraded to Bundler 10.0.10 you might get the following error when bringing up Rails: /usr/lib/ruby/1.9.1/psych.rb:148:in...
Note that you cannot currently use Ruby 1.9.2 with Rails 2 applications that use RSpec, so don't upgrade if...
Specify these gem versions in your Gemfile: gem 'cucumber', '~> 1.3.0' gem 'cucumber-rails', '= 0.3.2' # max version for Rails 2
Add deprecation warnings and their solution or link to available solutions. Global access to Rake DSL methods is deprecated. Please...
We are maintaining some vintage projects with tests written in Test::Unit instead of RSpec. Mocks and stubs are not...
When working with large Sass files you will notice that the first request after a change to a Sass file...
You will occasionally need to clean out your database while keeping the schema intact, e.g. when someone inserted data in...