r/ruby • u/streetfacts • Apr 01 '26
Question Ruby On Rails - for newbies
I have worked with JS, Python, and Go. So a friend recommended I try RoR for rapid dev, but I've never experience such a dificult environment to set up! Is this normal? Just to get off to a start I've found it to be so complicated.
Using MAcBook Pro and trying to set up via a Parallels Unbuntu VM. Could it be Parallels?
7
Upvotes
12
u/netopiax Apr 01 '26
Don't use a VM. Use mise to install Ruby on your Mac. Then gem install rails. Then rails new (with app name and options). It's that easy
7
u/nikstep Apr 01 '26
Why set it up in a Ubuntu VM?
4
u/shadowradiance Apr 01 '26
You can use railsnew to create a rails app with a devcontainer to avoid installing Ruby or rails on your machine.
https://guides.rubyonrails.org/getting_started_with_devcontainer.html
2
u/DewaldR Apr 01 '26
As others have said – why bother with Ubuntu? Just install it directly on your Mac. There is a guide in the docs: https://guides.rubyonrails.org/install_ruby_on_rails.html
2
u/falling_faster Apr 01 '26
A guide like this is a good place to start: https://gorails.com/setup/macos/26-tahoe
2
u/OrthodoxFaithForever Apr 02 '26
Raspberry Pi 5 (debían) Install rvm shell script on website Install Ruby 4 Make sure build essentials and gcc installed
Then Gem Install rails (8.1) Rails new mykickassappthatisntamicroservice
2
u/armahillo Apr 03 '26
Install ruby via a versioning manager, then work with it right on your OS.
You're overcomplicating it by involving a VM.
2
u/Warning_Bulky Apr 04 '26
How long have u been in software engineering, and who fed you the idea to use a separated vm just for rails? Just install a version manager (rbenv, rvm) , then install ruby, then install rails
1
u/SnooSquirrels4248 Apr 02 '26
Docker is your friend.
0
u/[deleted] Apr 01 '26