gpt4 book ai didi

ruby-on-rails - 搭建Ruby开发环境

转载 作者:数据小太阳 更新时间:2023-10-29 06:45:53 26 4
gpt4 key购买 nike

<分区>

我目前正在尝试搭建一个学习 Ruby 的开发环境。环境主要是为了掌握这门语言,但我很可能会在很长一段时间后转向使用 Rails 进行开发。以 Web 开发为目标,我想了解首选的 Web 服务器和数据库。

我打算在虚拟机上设置环境,所以我不担心把它弄坏。因此,我愿意使用 Linux 发行版、OSX 或 Windows 作为操作系统。

我正从 C# 转向,所以我想在一定程度上被迫采用 Ruby 的思维方式。显然,说起来容易做起来难。

  • 大多数 Ruby 开发人员使用什么操作系统?
  • 最容易使用的 IDE 是什么掌握来自背景使用 Visual Studio?
  • 哪个数据库在 Ruby 中使用最多社区?
  • 哪个数据库最多大多数网络可能都支持主持人?
  • 哪个网络服务器是最容易配置?起床和以最短的时间运行时间。

希望我已经提供了所有需要的信息,希望这能帮助其他人设置他们自己的环境。

谢谢

Edit:

Thanks guys. Some really good suggestions so far, all of which I'll take on board. I'm currently wading through the copious articles surrounding initial RoR setup on Linux, as I like to understand how things work and are tied together. Also, because it's all free...

I'm currently putting together a virtual machine (so I can break stuff) using:

  • Ubuntu
  • SQLite
  • No webserver, I plan on using whatever development server comes with Rails out of the box, initially
  • Redcar Editor

Edit 2

I have setup a couple of environments now.

I have the ubuntu setup running in a Virtual Machine on Windows and decided to try decking my Mac out for ruby development too.

Overall, I'd have to say setup for the mac was a lot less painful than the linux setup. On the mac I'm running with:

  • SQLite that comes with OSX out of the box(!)
  • TextMate (trial version, but loving it)
  • Mongrel web server

I've progressed from learning the ways of Ruby to writing some simple websites with Rails and am finding development with Rails really simple to use. I have also set up a GIT repository on my working directory and am currently trying out Heroku.

Thanks for the help, everyone.

If anyone would like any more information about setting up on either environment, I'd be happy to provide more detail.

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com