在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
dapper 安装 Ruby on Rails is a popular new framework for developing web applications. Since Ruby on Rails includes a built-in web server for development purposes, there is no need to install a separate web server. Ruby on Rails是用于开发Web应用程序的流行新框架。 由于Ruby on Rails包含用于开发目的的内置Web服务器,因此无需安装单独的Web服务器。 First you will want to make sure that you’ve enabled the universe repository. 首先,您将要确保已启用Universe资源库。 Open up a terminal window, and type in the following commands: 打开一个终端窗口,然后输入以下命令:
To test out the installation, you can create a test rails project: 要测试安装,可以创建一个测试轨道项目:
This will create a test application. Change directory into that directory and launch the Ruby on Rails development server (WEBrick) 这将创建一个测试应用程序。 将目录更改为该目录,然后启动Ruby on Rails开发服务器(WEBrick)
Example: 例:
You’ll notice that the server is listening on port 3000. Open up a browser, and go to http://localhost:3000 您会注意到服务器正在侦听端口3000。打开浏览器,然后转到http:// localhost:3000。
dapper 安装 |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论