installing Rbenv and Ruby for Turing's Backend Program
A quick screenshare of working through Turing's environment setup, per https://github.com/turingschool-examples/backend_module_0_capstone#environment
Index of what we're discussing:
0:44 This is AFTER doing the environment setup; visit http://mod0.turing.io/setup-instructions if you've not added atom, github, brew, etc.
1:05 why use a ruby environment manager
1:25 run `brew update` first
1:39 run `brew install rbenv`
1:49 funny noises. :)
2:01 I like to google instructions when they're given to me, to see why I'm doing what I'm doing
2:20 run `rbenv init`
2:38 adding `eval "$rbenv init -)" to our shell
2:50 open ~/.bash_profile in Atom, to add the above line of code
3:01 viewing hidden files (like .bash_profile)
3:40 copy the line into the bottom of the file
3:55 tell your terminal to look at the ~/.bash_profile that we just changed
4:30 testing that `rbenv` is installed and working!
4:49 use rbenv to install a new version of Ruby
5:05 run `rbenv install 2.4.1`
6:05 verify that we have a new version of Ruby installed
6:21 I make mistakes because in THIS version of the video, I forgot to add `eval "$rbenv init-)"` to my ~/.bash_profile, and it took me a few minutes to figure out the problem. I left the troubleshooting here for you to watch, just in case you want to see someone struggle with something for a little while.
7:35 when I realize that something has gone horribly wrong
8:10 setting global usage of ruby
9:10 run `gem install pry` and getting an error
9:55 I have an idea what the problem is
10:10 explaining why I spent the last three minutes with broken things
10:35 everything working as expected, `which ruby` returning the correct version of Ruby!!!!
11:32 now we can run `gem install pry` and it works!
11:53 using `interactive ruby` in the terminal
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «installing Rbenv and Ruby for Turing's Backend Program», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.