From the course: Installing and Running Ruby on Rails 6
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Install JavaScript tools for Ruby on Rails - Ruby on Rails Tutorial
From the course: Installing and Running Ruby on Rails 6
Install JavaScript tools for Ruby on Rails
- [Instructor] In this movie, we're going to talk about installing some JavaScript tools that Ruby on Rails is going to need. One of the biggest changes in Ruby on Rails 6 is that it uses Webpack to manage JavaScript. That's a big change. In the past it used something called asset pipeline, but the world of JavaScript has really matured and a lot of web applications are taking advantage of tools like Jquery, React, Vue.js, Angular, and Babel. And it's very common to want to incorporate those into Rails. And so Ruby on Rails 6 tries to make that easy by incorporating Webpack. In order to use Webpack you'll need to have Node.js and also Yarn. If you already have either or both of those then you won't need to install them again. But if not, it's easy to do. To install them you'll just need to go to Homebrew and say brew install node. It'll take a moment while it goes out and it finds the node library. It'll come back…
Contents
-
-
-
Terminal and Unix setup on macOS3m 31s
-
Install Homebrew on macOS3m 16s
-
Install Ruby on macOS for a Rails project7m 27s
-
Install Ruby on Rails on macOS2m 44s
-
Install MySQL on macOS for a project database3m 47s
-
Install RubyGems for MySQL3m 58s
-
Install JavaScript tools for Ruby on Rails1m 18s
-
Using the web server on macOS1m 33s
-
Choosing a text editor on macOS for Rails development3m 35s
-
-
-
-