I have installed ruby193 and I’ve installed rails via the command prompt. However, whenever I try the command:
ruby script/server
I get this error:
ruby: No such file or directory -- script/server (LoadError)
I checked my script folder and all it has is a file called rails.
I’m very new to Ruby on Rails and I’m not entirely sure if I’ve installed everything correctly. Is there an easy way to check what I have installed?
If you have Ruby & rails installed properly, then
ruby -vwould result in the version that you have installed and likewiserails -vwould give the rails version installed.To run a rails server try running
rails serverorrails s