Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

silviuvoicu commented Apr 26, 2014

Package 'ruby-switch' has no installation candidate

@ciastek

This comment has been minimized.

Copy link

ciastek commented Jul 9, 2014

@silviuvoicu - use rbenv

@ashok-kumar-miryala

This comment has been minimized.

Copy link

ashok-kumar-miryala commented Nov 25, 2014

Thanks dude its help lot....

@krishnasrihari

This comment has been minimized.

Copy link

krishnasrihari commented Sep 8, 2016

Thank you.

@Nursultan91

This comment has been minimized.

Copy link

Nursultan91 commented Jan 10, 2018

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
You can’t perform that action at this time.