Rails

imagemagick

How To Install RMagick and ImageMagick on Ubuntu 19.04

Here is the way to install rmagick and imagemagick on your ubuntu 19.04. Update Ubuntu APT package list by run this command : sudo apt update Install ImageMagick and its dependencies : sudo apt-get install imagemagick libmagickcore-dev libmagickwand-dev -y Verify if imagemagick had succesfully installed : convert -v The output should similar like this : Version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org Copyright: © 1999-2017 ImageMagick Studio LLC License:...

ruby on rails

How To Install Ruby on Rails 6 with Jemalloc on Linux Ubuntu 19.04

Here is the steps to install Ruby on Rails 6 with Jemalloc on Linux Ubuntu 19.04 First we need to update & upgrade ubuntu packages : sudo apt update && sudo apt upgrade Then install its dependencies : sudo apt install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm5 libgdbm-dev libjemalloc-dev git -y Next, clone rbenv repository from github : git clone https://github.com/rbenv/rbenv.git...

Install Ruby on Rails with Jemalloc on Mac Mojave

Install Ruby on Rails with Jemalloc on Mac Mojave

Install Ruby on Rails with Jemalloc on Mac Mojave First we need to Install Ruby via Homebrew : ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" And then install dependency libraries : brew install rbenv gmp jemalloc ruby-build sqlite3 Add rbenv to bash profile : echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile source ~/.bash_profile Install Ruby : RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 2.6.4 rbenv global 2.6.4 Install...