Lesson 1 - Install Rails 7 on MacOS
ฝัง
- เผยแพร่เมื่อ 22 ก.ย. 2024
- Learn how to set up your computer for Ruby on Rails development. In this video you will install Homebrew, RVM, Rails 7, Ruby 3.0, Yarn & PostgreSQL on MacOS Monterey.
Twitter & Instagram
@swiftrubycoding
Links & Resources:
rubyonrails.org
brew.sh
rvm.io
yarnpkg.com
wiki.posgtgresql.org
Thanks. Took me about 30 minutes of extra time because I had a lot of other stuff to do, but I got it done with your video, Google, and an LLM tool. Progress! 😂
I just updated this lesson there is a newer installation video
Love how clear and informative this is without being slow! Thank you!
THANK YOU - I've spend last hours trying to install ruby and ror - unsucessfully... and with your video I finally did it in 10 minutes! thank you!
You’re very welcome
Thank you so much man. I wasted 4-5 hours just to get started. Thank you so much again.
Good stuff. All the other resources online were making me go in circles.
Very good tutorial mate. I was struggling with this... even following the official tutorial.
Keep it up 👏
thanks saviour, earned my subscribe
Thank you! Glad I found your channel!
I am still facing error with mac m2 . saying Error running '__rvm_make -j8'
can you resolve this issue ? I'm facing the same issue macbook m1(air)
everything is installed thanks to you =) good job
Woo 🎉
Excellent Video! Lifesaver! 🙏🙏
Thank you, helped me out alot 😀
thank you so much bro, it's really helpful
thank you so freaking much
Thank you so much :)
Hey, thanks for the vid!
I keep getting a zsh error saying that Brew has now been found, but I’ve followed you step by step. Any help would be appreciated!
Copy the command from Brew.sh
1. Xcode command line tools will install
2. Home brew will install
After homebrew installs read the message in the command line
You need to copy at least 3 lines into the terminal to set up the $PATH
Sounds like that’s what you’re missing 👍
Thank you! Quick question: after all of this installation, can i just begin coding in vscode with ruby?
VS code is just a text editor.
The main takeaway of the video is that you need homebrew / Xcode command line tools to install RVM /Ruby / rails locally on Mac. You also use homebrew to setup yarn and postgresql. Yarn is a dependency for rails 7. Psql is optional.
The text editor (vs code) is irrelevant to wether or not you can start programming with rails. It’s just a tool that optimizes our work flow.
So my answer to you is YES.
But you don’t have to use VS code
@@swiftrubycoding Gotcha, sorry just getting started with programming🤦🏽♂️ Thanks again for the video!
I'm install on m1 mac and get some error.. for the terminal use rosetta 2 or not?
I have dealt with this before. Go to your terminal app icon and right click. Click properties and you’ll see a checkbox for Rosetta. Then run the commands. Here is something you can refer to
www.courier.com/blog/tips-and-tricks-to-setup-your-apple-m1-for-development/
@@swiftrubycoding okey done. I'm searching in google then get the answer from StackOverflow for the error. thank you 🙏
Amazing I love you
thank you watching
during error is " Error running '__rvm_make -j8',please read /Users/kch/.rvm/log/1702160233_ruby-3.0.0/make.log There has been an error while running make. Halting the installation."
how can i have to solve?
Having the same issue :(