Common Pitfalls When Installing Ruby on Rails
Encountered issues during Ruby on Rails installation. Slowly collecting and sharing them.
Error: Failed to build gem native extension
ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb mkmf.rb can't find
header files for ruby at /usr/share/include/ruby.h
Solution:
On CentOS: yum install ruby-devel
On Ubuntu: apt-get instal ...
Posted on Wed, 12 Aug 2026 16:56:39 +0000 by baccarak
A Comprehensive Introduction to the Ruby Programming Language
Overview of Ruby
Ruby is an interpreted, high-level, general-purpose programming language designed by Yukihiro "Matz" Matsumoto in the mid-1990s. Its primary design philosophy centers on "developer happiness" and "the principle of least surprise." It is fully object-oriented, meaning every piece of data is an objec ...
Posted on Thu, 16 Jul 2026 16:24:23 +0000 by bloo
Mastering Vagrant: A Guide to Virtual Development Environments
Introduction
Vagrant is a powerful tool for creating and managing virtual development environments. It leverages Oracle's VirtualBox virtualization system and can be used to automate the setup of development environments using tools like Chef. Vagrant provides a simple, elegant way to create, configure, and manage virtual machines for developme ...
Posted on Tue, 30 Jun 2026 17:45:22 +0000 by inrealtime
Setting Up a Redis Cluster with Ruby
Installing Redis
Begin by installing Redis on your system.
Installling Ruby
Install Ruby to utilize the required tools for cluster management.
Configuring RubyGems Sources
Remove the default RubyGems source:
gem sources --remove https://rubygems.org/
Attempt to add the new source:
gem sources --add https://gems.ruby-china.org/
Encounter an SS ...
Posted on Sat, 20 Jun 2026 16:28:58 +0000 by abhi201090