Admin
Jun 23, 2020
13 comments
1.19K
Issue 1 - Error in installing pg gem Installing pg 0.19.0 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /home/luke/.rvm/gems/ruby-2.4.1/gems/pg-0.19.0/ext /home/luke/.rvm/rub...
Snippet
Common Ruby on Rails gem installation errors
Admin
Mar 08, 2019
16 comments
961
ssh -i MyAmazonKey.pem ubuntu@server-ip
Snippet
Server login using Mobaxterm(AWS)
Generate public/private key pair using Puttygen. Add passphrase for the private key Copy the public key. Login to the remote server and go to the ssh directory Open the 'authorized_keys' file and add the public key copied in the above step a...
Snippet
Configuring RSA key pair to login to server using Fi...
Introduction Often when developing apps with Rails you need to set up environment variables to keep sensitive information secure in your code. This article looks at how to set up environment config variables in Rails. We’ll look at why we need to...
Snippet
Managing Environment Configuration Variables in Rails
If you want to revert changes made to your working copy, do this:   git checkout . If you want to revert changes made to the index (i.e., that you have added), do this. Warning this will reset all of your unpushed commits to master!: git reset...
Snippet
Revert all local changes in Git managed project to p...