Setting a run command

I have a rails app set up, but the thing is, i want it to run “rails s” on start. How would i do that?

this is the error im getting

You need to add a start script, I suggest clicking the link in the error

1 Like

Maybe you could use something like ruby ab.rb

You can add this in package.json

“Scripts”: {
“start”: “node server.js”
}

Try this

2 Likes

But replace node server.js with a ruby command.

Hey @RiversideRocks can you help me one thing what is command handler code

You don’t seem to know much about discord.js, I highly recommend that you take a look at the docs and maybe watch some tutorials.

What does discord.js have to do with a rails app

I was asked about nodejs here ^^^