wholemeal.co.nz

If you cannot install the gem 'RedCloth' via bundle install you might want to try the following. Specifying extra build...

Geordi, our collection of command line tools, has been extended by another command deploy-to-production. This script encapsulates the...

After installing Bundler 1.1 you will get the following warning when running tests: WARNING: Cucumber-rails required outside of env.rb...

This card needs to be updated for Rails 3+. Since there is no --debugger flag you need to run:

stackoverflow.com

This will give you the string that appears most often in an array: names = %w[ foo foo bar bar bar...

Capybara has a global option (Capybara.ignore_hidden_elements) that determines whether Capybara sees or ignores hidden elements.

After you configured your ODBC describe in Fix [RubyODBC]Cannot allocate SQLHENV when connecting to MSSQL 2005 with Ruby 1.8.7...

I followed this nice guide Connecting to MSSQL with Ruby on Ubuntu - lambie.org until I ran in the following errors...

github.com

Pour color on your Rails console with awesome_print. Turn confusing long strings into formatted output. Have objects and classes...

Bundler 1.1 has been released. With this version you no longer need to wait for this: Fetching source index…

If you get this: Installing typhoeus (0.3.3) with native extensions /usr/local/lib/site_ruby/1.8/rubygems/installer.rb:483:in `build_extensions': ERROR: Failed to build gem...

Your current ruby must be Ruby Enterprise. gem install passenger passenger-install-apache2-module Edit your httpd.conf according to the...

github.com

When trying to install the gherkin gem, you might encounter an error with the following lines: ERROR: Error installing gherkin...

Let's say you have two XML strings that are ordered differently but you don't care about the order...

When updating WebMock, be prepared that your specs may send real requests into the depths of the internet unless you...

We experienced problems with Sunspot and Solr on Tomcat: Umlauts (ä, ö, ü) were not correctly handled on Tomcat while...

makandra dev

The handy method has_select?(field, :selected => text) does not behave as expected with Cucumber 0.10.2, Capybara 0.4.1.2 and Selenium...

When your gems complain about invalid gemspecs and illformed requirements, it is most probably an error resulting from the transition...

REST Client is a nice, simple HTTP client library for Ruby. When you do a simple GET request like that...

Tooltips that are delivered through HTML attributes are encoded. Decode entities before checking for their presence. Capybara: Then /^there should...

Sometimes it might be helpful to have a version history for a gem, e.g. when you want to see if...

github.com

Some helpers for poking around at your Capybara driven browser's cookies in integration tests. Supports Capybara's bundled drivers...

If Sunspot does not work and fails with a backtrace similar to this: /project/shared/bundle/ruby/1.8/gems/rsolr-1.0.6/lib/rsolr/client.rb:227:in `adapt_response' /project/shared/bundle/ruby/1.8/gems/rsolr-1.0.6/lib/rsolr/client.rb:164...

The following snippet demonstrates how you could create excel files (with spreadsheet gem) and format columns so that they follow...