新手问题 如何配置 Ruby 的 Web 服务器

roy0524 · October 16, 2017 · Last by bill997603 replied at April 15, 2020 · 2425 hits

我想用 mac 学习 Ruby+MySQL,做个学校收费系统,网上找了很久都没发现有这个配置,多数是 Ruby on rails 的配置。谁能教教我?

rails guide

不知道楼主为什么不用 Rails,如果只依靠标准库的话,WEBRick http://ruby-doc.org/stdlib-2.4.0/libdoc/webrick/rdoc/WEBrick.html

MySQL 需要装 mysql2 https://github.com/brianmario/mysql2

什么是「配置」?

Reply to zhandao

例如 asp 服务器,就是安装个 iis

Reply to Rei

我想用 ruby 做一次,再用 ror 做一次,这样可以区别两者的好处,而且我是新手,想详细的了解一下 ruby。

你的问题很不“新手”😂

http://rack.github.io

参考这个首页的简单教程

Reply to yunshang

我作为一个货车司机,空余时间撸撸,问题问得有点不知所措。抱歉抱歉。

开发了一年,我也不是很想自己直接用 ruby 做一个,web 系统

You need to Sign in before reply, if you don't have an account, please Sign up first.