makandra dev

Update RubyGems and Passenger Bundler requires Rubygems >= 1.3.6. Run gem update --system if you have an older version.

makandra dev

You'll need openssl-3 or newer for servers running 22.04 Ruby version 3.1 uses by default the gem openssl...

greg.molnar.io

Greg Molnar has written a neat article about creating a single-file Rails app. This is not meant for production...

github.com

Note Use yarn dedupe in Yarn v2+: https://yarnpkg.com/cli/dedupe This package only works with Yarn v1. Yarn v2 supports...

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

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

makandra dev

...has a doctor task that will print information about Environment: Ruby, Rubygems and Bundler versions List of Capistrano gems and whether an update is available All config variables and their...

makandra dev

Bundler allows you to specify the name of the Gemfile you want to bundle with the BUNDLE_GEMFILE environment variable...

makandra dev

...to all gemsets and Rubies. You can get around this and install a particular bundler version like this: rvm @global do gem uninstall bundler rvm @global do gem install bundler...

Given there is a user with an attachable avatar: class User < ApplicationRecord has_one_attached :avatar end

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

Bundler::GemRequireError: There was an error while trying to load the gem 'mysql2'. Gem Load Error is: Incorrect MySQL client...

Install Ruby from the Ubuntu repository: sudo apt-get install ruby ruby-dev \ ruby is the meta package. If you...

On recent/fresh installations of Ruby 1.8.7 you may encounter this error why calling any bundled binary (or just bundle exec...

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

github.com

When running tests via parallel_tests, you may encounter an error: cannot load such file -- parallel_tests/gherkin/runtime_logger Error creating formatter...

When you're developing a gem, never list the same dependency as both runtime and development dependency in your .gemspec...

makandra dev

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

The gem json fails to install for Ruby 2.5 if you use a version equal or below 1.8.3.

Today I ran into trouble installing therubyracer on Ruby 1.8. The installation failed with *** extconf.rb failed *** Could not create Makefile...

geordi, our collection of awesome shell scripts, has been extended by three scripts to help you call RSpec or Cucumber...

eregon.me

Bundler 2 introduced various incompatibilites und confusing behavior. To add to the confusion, Bundler's behavior changed after the release...

Plugins (and gems) are typically tested using a complete sample rails application that lives in the spec folder of the...

makandra dev

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