So you want your Ruby script to install missing gems instead of dying? Take this method: def installing_missing_gems...
List flavors to show the ID and name, the amount of memory, the amount of disk space for the root...
After starting the Rails server in a freshly generated Rails 3.1 project you could see an error message such as...
Recent versions of the Faker gem retrieve their strings from your locale file (e.g. config/locale/de.yml). This leads to awesome errors...
After updating Rubygems you see a wall of deprecation warnings like this: NOTE: Gem::SourceIndex#add_spec is deprecated, use...
When you need to zip up files in Ruby, use zipruby. sudo gem install zipruby You can add existing files...
yaml4r is a juxtaposition of yaml documents and their Ruby couterpart. Thus, it does a great job as YAML-doc...
If you use rails_admin, your specs pass with the rspec binary, but not using rake spec (or rake parallel...
The linked article provides a description of commonly found problems with TLS and hints on debugging / solving them.
As web developers, we know how easy it is to end up with web page bloat. But loading a webpage...
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...
There is a conflict between current capistrano versions and the 2.5.1 net-ssh gem. Make sure you upgrade to 2.5.2...
RubyMine: Set specific Ruby version per project
The debate between using mixins or extends in Sass has been heating up recently. From the surface it appears they...
OCRA (One-Click Ruby Application) builds Windows executables from Ruby source code. The executable is a self-extracting, self-running...
This error message may occur when rspec gets loaded by rake, e.g. when you migrate the test database. NoMethodError: undefined...
There are some inconvenient Gem dependencies. Resolve them by adding/modifying these lines in your Gemfile: gem 'guard-livereload', '>= 2.5.2', require...
Do this before you install the gem: sudo apt-get install libffi-dev
To use different Ruby versions on your computer you can use the Ruby Version Manager. It also allows you to...
Fix: downgrade net-ssh to version 2.9.1.
This might be a known issue with Rubygems 2.5.1. This will help: gem update --system
Try updating to 1.0.4 right in the Gemfile.lock.
Nice tutorial about packaging Ruby bindings to your API in a Ruby gem, with tests using VCR casettes.
If you encounter above mentioned failiure message after installing the ruby-debug gem then you have to explicitly require linecache...