How do I cheat?
Joined: 03 Nov 2020
|Posted: Mon Nov 09, 2020 3:31 pm Post subject: Ruby on Rails
|Hey, thanks for looking, I've got ruby and most of rails installed on Ubuntu Fossa, but I seem to be having issues.
I cd into "myapp" then when I try to run from terminal it gives me: Could not fetch specs from rubygems.org
*EDIT*: Okay so, I figured out the first part but now I've hit a new wall. I'm also posting on Stack Overflow to see if anyone there also has an answer because the answers provided in another question on SO aren't working for me. The NEW issue is when I run
it gives me
|Please run rails webpacker:install Error: No such file or directory @ rb_sysopen - /home/name/myapp/config/webpacker.yml |
But when I run it, I get a different error
|ArgumentError: Malformed version number string 0.32+git bin/rails:4:in `<main>' |
Solved it, I had to install yarn before I could install the webpacker, after that everything worked swimmingly.