According to the docs, go into your project (the one that has the folders you listed), and run:
rails server
or rails s
for short, after you make sure you have bundled.
You can see the docs here. You can then see it in your browser at localhost:3000
just like any other ruby web application (as long as you don't use -b
or -p
on the rails server
command. If you do, you must change this url accordingly).
Edit:
According to your update, you need a javascript runtime. You can use therubyracer
for this, as it is included by default in your Gemfile
for a rails project most of the time. You should check your Gemfile
for gem "therubyracer"
and if it is commented out, uncomment it and re-bundle, then try rails s
again.