Hi everyone, I thought I would give the new Docker local development facility a go. I have an M1 MacBook air. It tells me to download ‘rails-new-aarch64-apple-darwin.tar.gz’ So can anyone tell me where I find this? I can only see the source code on GitHub TIA, Dave
For anyone else looking for the files, they are revealed when you click the ‘Assets’ link Dave
Thanks Chris, checking that out. I have access to both Windows and a Mac. On Windows I get this error: docker: invalid spec: \?\C:\rails:\?\C:\rails: too many colons. On Mac, the rails-new command comes back ‘command not found’ Which I think is not a Rails issue. I have researched it, but no solutions I can find are fixing it! I was so hopeful that getting rails going would be easier now Dave
How are you running the command on Mac? If you are in a folder foo
and rails-new
binary is in that folder as well, then you need to run ./rails-new
. A bare rails-new
will NOT pick up an executable from your current directory, since that is a security problem. It will look the command in your $PATH
folders, and when it can’t find it, give you the command not found error. That is why you need to explicitly add the ./
in front to say that you are trying to run a command in the current folder.
Thanks Ufak, I will try that… Regards, Dave
It’s here: Releases · rails/rails-new · GitHub