E
E
Eugene Burmakin2014-01-13 05:52:42
ruby
Eugene Burmakin, 2014-01-13 05:52:42

How to get started in Ruby for the web?

Interested in learning Ruby, went through tryruby.org, part of the kodacademi course. I like everything, everything is great, but I can’t find it anywhere, how can I put the result of the program execution into the browser? With php, everything is simple - I shoved a piece of code in the middle of the html markup and that's it, the hello world is already ready in the browser. What about ruby? Is there something similarly easy and intuitive about it, or is everything more complicated?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yuri Yarosh, 2014-01-13
@Freika

By itself, "hack for the web" is useless, you need to start a separate web server - Unicorn, Passanger, Brick ... whatever and run your "index.rb" there.
I advise you to start at least with this one .
And take a look at codecademy .

P
pomeo, 2014-01-13
@pomeo

@Freika you can do exactly the same by running ruby ​​in cgi (like any other language) if you only want to output hello world.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question