Skip to content

Instantly share code, notes, and snippets.

@galulex
Last active February 28, 2021 14:15
Show Gist options
  • Star 57 You must be signed in to star a gist
  • Fork 31 You must be signed in to fork a gist
  • Save galulex/2304847 to your computer and use it in GitHub Desktop.
Save galulex/2304847 to your computer and use it in GitHub Desktop.
Ruby On Rails Ubuntu 18.04 install

Developer libs

mysql, rmagic, curl, git, vim, sqlite, nodejs nokogiri...

sudo apt-get install libxslt1-dev libxml2-dev build-essential patch libsqlite3-dev libcurl4-openssl-dev curl git git-gui vim-gtk exuberant-ctags nodejs rar

Ruby

sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get install ruby2.6 ruby2.6-dev

click

Rails

sudo gem install rails --no-rdoc --no-ri

ImageMagick

 sudo apt-get install libmagickwand-dev imagemagick

PostgreSQL

sudo apt-get install postgresql libpq-dev
sudo -u postgres psql
alter user postgres with password 'password';
\q

GUI

sudo apt-get install pgadmin3

MySQL

sudo apt-get install mysql-server mysql-client ruby-mysql libmysqlclient-dev

GUI

sudo apt-get install mysql-workbench

MongoDB

sudo apt-get install mongodb

Redis

sudo apt-get install redis-server

Sphinx

sudo apt-get install sphinxsearch

Elasticsearch

sudo apt-get install elasticsearch
@silviuvoicu
Copy link

Package 'ruby-switch' has no installation candidate

@ciastek
Copy link

ciastek commented Jul 9, 2014

@silviuvoicu - use rbenv

@ashok-kumar-miryala
Copy link

Thanks dude its help lot....

@krishnasrihari
Copy link

Thank you.

@Nursultan91
Copy link

Thank You Very Much!!! Aman Bol) Rahmet)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment