![]() ![]() ![]() Install the server brew install postgresql gem install railsĪnd now we can verify Rails is installed: rails -v Install rails on your system so you can create new rails projects. # Check that you are using the latest version of ruby # Tell rvm to use 2.5.0 as the default version of ruby Install Ruby 2.5.0 and set it as the default version # Install ruby version 2.5.0 Rvm -h # shows you the help menu with all the commands you can runģ. rvm list # shows you all the versions of ruby installed on your computer Run rvm reinstall 2.5.0 -disable-binary.Ĭlose the current terminal window and open a new one. In the latest version of ruby you might see this error: "Empty path passed to certificates update, functions stack". Run this command to download an install rvm and the latest version of ruby. GNU File, Shell, and Text utilities needed to compile gems. Open up the Mac Terminal and run this command to install brew on your mac: ruby -e "$(curl -fsSL )"Īfter brew is done installing run brew update You can think of it as a command line version of the App Store. You want your code to run faster in developmentīrew aka Homebrew is a package management system for Mac OSX.You want use Sublime plugins (like RSpec or Guard plugins).Setting up the Ruby dev environment on a Mac
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |