makandra is responsible for maintaining about 75 Ruby projects. These projects use a large number of different versions for Ruby...

Add deprecation warnings and their solution or link to available solutions. Global access to Rake DSL methods is deprecated. Please...

makandra dev

...to 2.3.5, then perform these steps one by one, fixing errors as they occur: Update gems as listed below, and bundle Boot a Rails console - see below for a list...

github.com

The linked rbenv plugin rbenv-each is very helpful to keep QoL gems up to date that are not part...

After running bundler / gem install I could not load nokogiri lately. It died with cannot load such file -- nokogiri/nokogiri.

I had this error: > gem install bundler Successfully installed bundler-2.0.1 1 gem installed > bundle install Traceback (most recent call...

We use the whenever gem to automatically update the crontab of the servers we deploy to. By default, whenever will...

After switching to Rails 3 you may get a LoadError with the following message when trying to use your application...

makandra dev

Capistrano 3 has a doctor task that will print information about Environment: Ruby, Rubygems and Bundler versions List of Capistrano...

makandra dev
github.com

Deployment ready for Opscomplete Copying view and controller templates over to target application during basics configuration or via...

After upgrading to Rails 6.1.7.2 one of our apps printed a wall of warnings while booting: /var/www/app/shared/bundle/ruby/2.6.0/gems/net-protocol-0.2.1/lib/net/protocol.rb:68: warning: already...

makandra dev

Getting CSS (and JS) live reloading to work in a esbuild / Rails project is a bit of a hassle, but...

Exercise 1: XML On the start page of your Movie DB, show the title of a random movie that is...

Our gitpt script to generate git commits from Pivotal Tracker stories has been tweaked and polished and is now part...

github.com

Recent Bundler (1.16.1) started complaining about missing dependencies in the Gemfile. This is due to a stricter handling of specifications...

In case you want to use pry with an older version of Ruby, you can try the following configurations.

Today I needed to execute a ruby gem executable with sudo. But, surprisingly, bash would tell me command not found...

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

makandra dev

The gem better_errors offers a detailed error page with an interactive REPL for better debugging. I had the issue...

makandra dev

When a Ruby version gem has a letter in its version number, it is considered a pre-release:

In newer passenger versions the output of passenger -v has changed. capistrano-passenger tries to parse the version and now...

makandra dev

If you're using the webdrivers gem and VCR together, depending on your configuration, VCR will yell at you regulary...

In case https://www.rubydoc.info/ is to slow or offline, you can also read a gem documentation offline. Start a server...

You will need to upgrade to RSpec >= 2 and rspec-rails >= 2 for Rails 3. Here are some hints to...