Until May 2011 our gems have been created with Jeweler, which is a helper library to package code into a...
With defaults, RCov doesn't work the way you how you would like it to. To create a nice test...
We built cucumber_spinner to have a progress bar for Cucumber features, which also outputs failing scenarios as soon as...
rspec_spinner is a progress bar for RSpec which outputs failing examples as they happen (instead of all at the...
Install gem and plugin sudo gem install parallel script/plugin install git://github.com/grosser/parallel_tests.git Adapt config/database.yml test: database: xxx_test<%= ENV...
To parse XML-documents, I recommend the gem nokogiri. A few hints: xml = Nokogiri::XML(" foo bar ") parses an xml...
sudo gem install gettext --no-ri --no-rdoc sudo gem install fast_gettext --no-ri --no-rdoc script/plugin install git://...
See the lemonade descriptions. Unfortunately, the gem has a few problems: it does not work with Sass2...
install apache sudo apt-get install ruby1.8-dev sudo gem install passenger sudo passenger-install-apache2-module follow the instructions
If your shell seems frozen You probably pressed Ctrl-S which stops the buffer. Try Ctrl-Q to resume.
This is about converting Haml to ERB and not the other way round which you probably want! This process can...
.error, .information, .warning { font-weight: bold; } .notice { color: #11bb00; } .error { color: #F53A31; } .information { color: #557; } .warning { color: #d07d2d; }
This starts delayed_job, hiding all the output and hiding the process in the background. rake jobs:work &>/dev/null &
sudo gem install zip git clone git://github.com/rtomayko/date-performance.git cd date-performance rake package:build cd dist sudo gem install...
ActsAsSolr::Post.execute(Solr::Request::Delete.new(:query => "#{Location.solr_configuration[:type_field]}:#{ModelClass}")) ActsAsSolr::Post.execute(Solr::Request::Commit.new)
Solr listens to different ports for different environments. Start Solr (and hide useless output) rake solr:start PORT=8981 &>/dev/null...
script/cucumber features/feature_name.feature Or, if you don't care about speed, you can use rake: rake features FEATURE=features/feature_name.feature
To improve installation times of gems you can use the following approach: gem install xyz --no-document To permanently ignore...
To call a class method (or static method) from an instance method: class.method() To call a class method from a...
This can happen during development when classes without automatic reloading are pointing to classes with automatic reloading. E.g. some class...
sudo gem install rails --version="=1.2.3" rails _1.2.3_ new-project-folder
sudo apt-get install unzip rake rails:freeze:edge RELEASE=2.2.2
Append this to your ~/.bashrc: export PS1='\[\033[01;32m\]\h\[\033[01;34m\] \w\[\033[31m\]$(__git_ps1 "(%s...