Skip to content

Instantly share code, notes, and snippets.

View vinnycrazzy's full-sized avatar
🏠
Working from home

Vinícius R. Vieira vinnycrazzy

🏠
Working from home
View GitHub Profile
@vinnycrazzy
vinnycrazzy / pg_gem_installation_error_and_solution.txt
Created August 14, 2021 01:48 — forked from vishaltelangre/pg_gem_installation_error_and_solution.txt
pg (postgresql) gem installation error and solution [ubuntu 12.04]
ERROR
=======
$ gem install pg -v '0.17.0'
Building native extensions. This could take a while...
ERROR: Error installing pg:
ERROR: Failed to build gem native extension.
/home/vishal/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
checking for pg_config... yes
Note: this assumes you are using ZSH shell.
## Installation
Install [asdf](https://github.com/asdf-vm/asdf):
```
$ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.4.0
$ echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.zshrc
$ echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.zshrc
@vinnycrazzy
vinnycrazzy / __readme.md
Created August 12, 2021 01:30 — forked from maxivak/__readme.md
Tree with ancestry. Rails

Contents:

  • show full path for the item
  • show tree in ol li
  • show tree in dropdown select

Show full path for item

  • one item
@vinnycrazzy
vinnycrazzy / cloudSettings
Last active August 11, 2021 16:44
VSCODE
{"lastUpload":"2021-08-11T16:44:44.643Z","extensionVersion":"v3.4.3"}