08.Apr.2017
> Istall git
- sudo apt install git
> Set user config
- git config --global user.email "you@example.com"
- git config --global user.name "Your Name"
> Install Mozilla Sqlite Manager AddOn
- https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/
> Install Heroku Toolbelt
- sudo apt-get install software-properties-common
- sudo add-apt-repository "deb https://cli-assets.heroku.com/branches/stable/apt ./"
- sudo apt-get update
> Login to heroku
- heroku login
> Clone the repository
- heroku git:clone -a games-job
> Creating RVM files
- rvm use --create --rvmrc 2.2.4@pcso-games-job
> Install bundler
- gem install bundler
> Installed gems defined on the .Gemfile
- bundle install
! Encountered error while running bundle install
= No pg_config... trying anyway. If building fails, please try again with
> Resolution:
- sudo apt-get install libpq-dev
06.Apr.2017
> Update ubuntu software thru terminal
- sudo apt-get update
> Install sublime text
- https://www.sublimetext.com/3
> Prepair to install ruby language thru RVM
> Install Curl
- sudo apt-get install curl
> Install RVM
- \curl -L https://get.rvm.io | bash -s stable --ruby
> if there is a problem, try this command
-gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
- \curl -L https://get.rvm.io | bash -s stable --ruby
> Update RVM it to the latest version
- rvm get stable --autolibs=enable
> Install ruby
- rvm install ruby
> Install ruby-2.3.1
- rvm install 2.3.1
> To use ruby-2.3.1
- rvm use 2.3.1
> Integrating terminal
- https://rvm.io/integration/gnome-terminal
> Setup default ruby version to use
- rvm --default use ruby-2.3.1
*** NEED TO LEARN RVM Basics***
> Install Node.js
- sudo apt-get install nodejs
> Install npm
- sudo apt-get install npm
> Check Gem version
- gem -v
> Update Ruby Gem Manager
- gem update --system
> RVM's Global Gemset
> Switch to global gemtset
- rvm gemset use global
> Show gem list
- gem list
> Show outdated gems
- gem outdated
> To update outdate gems
- gem update
> Speed up gem installation by disabling documentation : This adds the line gem: --no-document to the hidden .gemrc file in your home directory.
- echo "gem: --no-document" >> ~/.gemrc
> Install bundler
- gem install bundler
> Install nokogiri
- gem install nokogiri
> Istall git
- sudo apt install git
> Set user config
- git config --global user.email "you@example.com"
- git config --global user.name "Your Name"
> Install Mozilla Sqlite Manager AddOn
- https://addons.mozilla.org/en-
> Install Heroku Toolbelt
- sudo apt-get install software-properties-common
- sudo add-apt-repository "deb https://cli-assets.heroku.com/
- sudo apt-get update
> Login to heroku
- heroku login
> Clone the repository
- heroku git:clone -a games-job
> Creating RVM files
- rvm use --create --rvmrc 2.2.4@pcso-games-job
> Install bundler
- gem install bundler
> Installed gems defined on the .Gemfile
- bundle install
! Encountered error while running bundle install
= No pg_config... trying anyway. If building fails, please try again with
> Resolution:
- sudo apt-get install libpq-dev
06.Apr.2017
> Update ubuntu software thru terminal
- sudo apt-get update
> Install sublime text
- https://www.sublimetext.com/3
> Prepair to install ruby language thru RVM
> Install Curl
- sudo apt-get install curl
> Install RVM
- \curl -L https://get.rvm.io | bash -s stable --ruby
> if there is a problem, try this command
-gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB
- \curl -L https://get.rvm.io | bash -s stable --ruby
> Update RVM it to the latest version
- rvm get stable --autolibs=enable
> Install ruby
- rvm install ruby
> Install ruby-2.3.1
- rvm install 2.3.1
> To use ruby-2.3.1
- rvm use 2.3.1
> Integrating terminal
- https://rvm.io/integration/
> Setup default ruby version to use
- rvm --default use ruby-2.3.1
*** NEED TO LEARN RVM Basics***
> Install Node.js
- sudo apt-get install nodejs
> Install npm
- sudo apt-get install npm
> Check Gem version
- gem -v
> Update Ruby Gem Manager
- gem update --system
> RVM's Global Gemset
> Switch to global gemtset
- rvm gemset use global
> Show gem list
- gem list
> Show outdated gems
- gem outdated
> To update outdate gems
- gem update
> Speed up gem installation by disabling documentation : This adds the line gem: --no-document to the hidden .gemrc file in your home directory.
- echo "gem: --no-document" >> ~/.gemrc
> Install bundler
- gem install bundler
> Install nokogiri
- gem install nokogiri
Comments
Post a Comment