Install Ruby on Rails 6.0 on macOS 10.15 Catalina. ![]() The RailsApps project provides Rails Example Applications that developers use as starter apps. This is an article from the RailsApps project. When running bundle install, I get the error. I have tried several things posted here on SO. I had previously installed postgres using brew and it starts up automatically with my Mac. However, I cannot get the pg gem to install. I created a new rails app: rails new -d postgresql. ![]() Add /usr/local/bin to the start of your PATH so it becomes the default Ruby. Brew install ruby This will install the latest Ruby version on Homebrew (which is 2.5.0 at the time of this writing) on /usr/local/bin/ruby. ![]() Once Homebrew is installed, you can use it to install Ruby.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |