We are changing our name from Hoptoad to Airbrake. You see, some folks much larger than us reached out and...
With gem dependency it is possible to check the dependencies for your gem before you install it.
Regular expressions can have something called "zero-width look-behind assertions". This means that you want a pattern to be...
Install Ruby from the Ubuntu repository: sudo apt-get install ruby ruby-dev \ ruby is the meta package. If you...
We're adding a script console-for to open a remote Rails console with one command. Also have a look...
sudo apt-get install sqlite3 libsqlite3-dev sudo gem install sqlite3-ruby
Ever wondered if there is a reverse for Rails' .each(&:to_s) idiom? Turns out there is... You probably already...
This is somewhat similar to the touch command of Linux: FileUtils.touch 'example.txt', :mtime => Time.now - 2.hours If you omit the :mtime...
If you encounter above mentioned failiure message after installing the ruby-debug gem then you have to explicitly require linecache...
Most web applications contain several examples of state machines, including accounts and subscriptions, invoices, orders, blog posts, and many more...
Yesterday, there was a blog post entitled “What the Hell is Happening to Rails” that stayed at the number one...
I pushed a new version of the Cucumber Factory gem. This new release lets you refer to a previously created...
geordi, our collection of awesome shell scripts, has been extended by three scripts to help you call RSpec or Cucumber...
When using the resource_controller gem you often hook onto events like this: update.before do do_something end
I found a nice script on crazylittlehacks and modified it slightly. Put the attachment to /usr/local/bin, chmod +x and run...
Copy the attached Ruby code to config/initializers, or paste it into your IRB console. You can now dump any two...
When running an executable, ALWAYS use bundle exec. In some cases, running executables without bundle exec may work, if the...
Deprecated ways to execute shell code in Ruby This is just a reference for legacy code. For new code, always...
When your cucumber features grow massively over time, the test execution can take a lot of time.
Soon after having written our shell-for script, we wanted to easily get dumps of our productions machines, too. This...
After having written useful scripts into makandra notes for a long time, we’ve now tied them into a powerful...
Recent versions of the Faker gem retrieve their strings from your locale file (e.g. config/locale/de.yml). This leads to awesome errors...
apt-get install libcurl3-dev
Since May 2011 we are cutting new gems using Bundler, which is less painful than cutting gems using Jeweler. You...