简体   繁体   English

在我的服务器上安装 Ruby 的最简单方法是什么

[英]What is the easiest way to install Ruby on my server

I want to code pages in Ruby so that my website can be run in Ruby (just like I have a php install on my server).我想在 Ruby 中编码页面,以便我的网站可以在 Ruby 中运行(就像我在我的服务器上安装了 php 一样)。 What's the easiest way to go about this? go 最简单的方法是什么?

You can use Heroku and forget about Ruby server installation.您可以使用Heroku并忘记 Ruby 服务器安装。

The answer to this question varies heavily depending on your operating system.这个问题的答案因您的操作系统而异。 But instructions for downloading and installing ruby on many systems are on the download page .但是在许多系统上下载和安装 ruby 的说明都在下载页面上

However, if you're planning on using it for a webserver, you probably also want Rails .但是,如果您打算将它用于网络服务器,您可能还需要Rails

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我很困惑,在OS X上安装Ruby 1.9.2的最简单方法是什么? - I'm confused, what's the easiest way to install Ruby 1.9.2 on OS X? 使用ruby脚本在MySQL中插入数据的最简单方法是什么 - What is the easiest way to insert data in MySQL using a ruby script 在Ruby中从CSV文件获取头文件的最简单方法是什么? - What's the easiest way to get the headers from a CSV file in Ruby? 在 Ruby 中,在字符串的开头而不是结尾处“chomp”的最简单方法是什么? - In Ruby, what's the easiest way to “chomp” at the start of a string instead of the end? Ruby:从数组中删除第一个元素的最简单方法是什么? - Ruby: What is the easiest way to remove the first element from an array? 使用Ruby通过Outlook发送消息的最简单方法是什么? - What's the easiest way to send a message through Outlook with Ruby? 在本地设置红宝石/铁轨沙箱的最简单方法是什么? - what's the easiest way to setup a ruby/rails sandbox locally? 使用 Ruby 将 CSV 导出到 Excel 的最简单方法是什么? - What's the easiest way to export a CSV to Excel with Ruby? 在Rails 4项目中使用MDI图标的最简单方法是什么? - What is the easiest way to use MDI icons in my Rails 4 Project? ruby 中最简单的 servlet 库是什么? - What is the easiest servlet library in ruby?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM