This README would normally document whatever steps are necessary to get the application up and running.
Things you may want to cover:
-
Ruby version 2.3.6
-
Rails version 5.1.4
curl -sSL https://get.rvm.io | bash
rvm install ruby-2.3.6 rvm --default use ruby-2.3.6
$ sudo apt-add-repository ppa:brightbox/ruby-ng $ sudo apt-get update $ sudo apt-get install ruby2.3 ruby2.3-dev
gem install rails -v rails_version
sudo apt-get install 5.1.4
git clone https://github.com/kasunintervest/mygarage.git
bundle install rails db:migrate
sudo chmod 777 -R public/system
Note: If you have installed ruby from RVM and the system, you should only use one, remove other one before install passenger. sudo gem install passenger sudo passenger-install-apache2-module
The passenger-install-apache2-module script will guide you through what you need to do to get Passenger working. It should tell you to copy these lines into your /etc/apache2/apache2.conf:
LoadModule passenger_module /var/lib/gems/2.3.0/gems/passenger-5.2.1/buildout/apache2/mod_passenger.so PassengerRoot /var/lib/gems/2.3.0/gems/passenger-5.2.1 PassengerDefaultRuby /usr/bin/ruby2.3
MORE INFO: https://nathanhoad.net/how-to-ruby-on-rails-ubuntu-apache-with-passenger
https://rvm.io/integration/gnome-terminal https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-on-ubuntu-14-04-using-rvm