evilmartians.com

Adding a gem means you take over the liability towards the external code. Checklist Based on "To gem, or not...

We have projects that have been developed using many different versions of Ruby. Since we do not want to...

If you use Angular 1.4+ together with Angular Animate, all ng-show, ng-hide, ng-class etc. are animated on...

On application servers, gems are usually bundled into the project directory, at a location shared across deployments. This is usually...

deadlock 0x7f8a4160a360: sleep:- (main) - /home/me/.rbenv/versions/1.8.7-p375/lib/ruby/gems/1.8/gems/bundler-1.14.3/lib/bundler/worker.rb:43 deadlock 0x7f8a38c03b08: sleep:- - /home/me/.rbenv/versions/1.8.7-p375/lib/ruby/gems/1.8/gems/bundler-1.14.3/lib/bundler/worker.rb:56 *** longjmp causes uninitialized stack frame ***: /home/me/.rbenv/versions/1.8.7-p375/bin/ruby terminated

github.com

There are some inconvenient Gem dependencies. Resolve them by adding/modifying these lines in your Gemfile: gem 'guard-livereload', '>= 2.5.2', require...

lists.ruby-lang.org

TruffleRuby is an experimental Ruby implementation that tries to achieve ~10x performance over MRI. This has been on our radar...

Sometimes huge refactorings or refactoring of core concepts of your application are necessary for being able to meet new requirements...

makandra dev

You may know the double asterisk operator from Ruby snippets like Dir['spec/**/*_spec.rb'] where it expands to an arbitrary...

Ruby's regular expressions can be represented differently. When serializing them, you probably want to use inspect instead of to...

So you're getting an error like this: undefined method `activate_bin_path' for Gem:Module (NoMethodError)

TL;DR: Update the 'net-ssh' gem by adding to your Gemfile: gem 'net-ssh', '=2.9.1' Now run bundle update...

So you're getting this failure when running bundle install on an older project: Your Gemfile.lock is corrupt. The following...

Plot graphs in Ruby WebGraphviz renders in your browser via JavaScript (to store the rendered graph, extract the SVG using...

This card tries to summarize by example the different uses of heredoc. In Ruby << vs. <<- vs. <<~ In Rails strip_heredoc...

You can use three different versions of the regular expression syntax in grep: basic: -G extended: -E(POSIX)

This method will remove automatically installed packages that no other packages depend on any more. This, of course...

If you use awesome 3.5, and a gnome or mate panel, the panel will often receive focus when you switch...

There is no CSS selector for matching elements that contains a given string ¹. Luckily, Capybara offers the :text option to...

When you're writing specs for ActiveRecord models that use memoization, a simple #reload will not do: it 'updates on...

solnic.eu

Yesterday I stumbled across a talk in which the guy mentioned module sub-classing. I was curious what you can...

A haml angular 1 template with .thing(class="is-{{:: item.type }}") will be compiled (by haml) to which is not what...

In order to have monitoring for Sidekiq (like queue sizes, last run of Sidekiq) your application should have a monitoring...

api.rubyonrails.org

Instantiating ActiveRecord objects comes expensive. To speed up things, you can choose a more direct way to talk to your...