Daniel Lee

Joined

320 Experience
3 Lessons Completed
0 Questions Solved

Activity

Posted in Setup Ubuntu 21.04 Hirsute Hippo Discussion

it might be better practice to install NVM and install node using NVM and install yarn globally using node.

example code might look something like this:

sudo apt install curl git-core zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev

# install NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash

# install latest version of nodejs
nvm install node

# install yarn globally
npm install -g yarn

the above can replace the first code block. :)

Posted in Setup Ubuntu 21.04 Hirsute Hippo Discussion

sudo apt install postgresql-11 no longer works. :)

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.