就目前而言,我是一名Java和c#开发人员。我对Ruby on Rails看得越多,我就越想学习它。

你发现学习RoR的最佳途径是什么?在Windows上开发会更容易吗,还是应该在Linux上运行虚拟机?

是否有一种IDE可以与Visual Studio的健壮性相匹配?有什么程序可以给我们一个很好的开销吗?有什么好书吗?

说真的,任何建议/技巧/咆哮都很棒。


当前回答

任何Rails的uber源都是http://www.rubyonrails.org/,如果站点上没有,你可能不需要它。

一个快速的食谱是Ruby on Rails: Up and Running,你可以从O'Rielly或搜索谷歌获得在线版本。他们带你了解Rails的约定,并使用Instant Rails,这是可以的。

更好的Rails书籍“敏捷Web开发与Rails”,这是Rails的汤到坚果。它会引导你下载和设置Rails、Gems等等。

如果你是一个Java“家伙”,想要一本过渡的书O' reilly有“Rails for Java Developers”http://oreilly.com/catalog/9780977616695/?CMP=AFC-ak_book&ATT=Rails+for+Java+Developers

其他回答

我从Java到Ruby再到。我发现这个教程很有用http://www.ruby-lang.org/en/documentation/ruby-from-other-languages/to-ruby-from-java/。当谈到学习rails时,我不能说我使用了多少脚本\控制台。它允许您摆弄代码并学习如何做您不确定的事情。

我买过的唯一一本书是《使用Rails的敏捷Web开发》,第三版http://www.pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition。它非常有用,并且很好地概述了Rails框架。除此之外,我还经常看Railscasts(http://railscasts.com),这是一个很棒的屏幕筛选博客,涵盖了各种Rails主题。

我个人更喜欢使用Linux(因为git工作得更好)。但是,我也使用过windows和git,我不认为操作系统的选择会影响你的编程。

我在我的IDE中使用netbeans,偶尔也使用vim(带有rails插件)。我喜欢netbeans,但是当涉及到Rails支持时,我发现它仍然有点不靠谱(不是所有的特性都能一直工作)。

I have got up to speed with Ruby on Rails fairly quickly via this free online course which is currently being offered by UC Berkeley - Software as a Service - Engineering Long Lasting Software with instruction by Armando Fox and David Patterson. I can't speak highly enough of this course... it really was a privilege to learn Rails from these guys. And there is an active community on the course forums if you run into difficulty along the way. The first offering of the online course has now finished (as of 25 March, 2012) - the next time it will be run will be sometime in September of 2012.

It assumes you are a fairly competent developer and gets you started on ruby in the second week, then Rails runs from the third week up to the end of the course (five weeks). Your assignments are marked by an auto-grader. You get provided with a pre-built Ubuntu VM image with everything you need for development pre-installed on it (e.g. Ruby, Rails, Rake, Gems, RSPec, Cucumber, etc). All you have to do is start up the VM inside the (free) VirtualBox software which runs on MacOSX, Windows and Linux.

这门课有一本推荐教材。在这里……但是你可以在网上看讲座和视频。

http://railsforzombies.org/是一个不错的网站。介绍了一种在浏览器中学习Ruby on Rails的全新方法,无需额外配置。

我买了Patrick Lenz写的《Simply Rails 2》。 这本书是对Ruby和Ruby on Rails的很好的介绍。 至于我的ruby安装和db,我使用Cygwin。 它与PostgreSQL, ruby和svn一起提供。 我喜欢PostgreSQL,因为我来自Oracle 所以它感觉比MySQL更舒服。

我发现另一个非常有用的实用程序是pgAdmin 访问PostgreSQL数据库。

我需要做的第一件事就是安装宝石。 我从鲁比弗吉拿了宝石tar文件 wget“http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz”

设置好宝石后,我就开始安装

rails ruby-postgres postgres 架

我还需要一个问题跟踪系统,所以我安装了redmine。 wget“http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz”

我发现使用类unix环境(Cygwin)是很困难的 对我来说更可取,因为许多教程都是这样 泰勒为OS X或Linux。

我使用的文本编辑器是Textpad。我正在寻找替代方案。 我认为带有rails插件的vim可能工作得很好。

和你一样,我是一名java/ c#开发人员,试图学习更多的Ruby On Rails。

我正在学习免费的在线课程《Ruby on Rails Programming with Passion》,这是一门很好的入门课程,可以去看看。

我们使用NetBeans作为IDE (win/mac/linux/solaris),如果你习惯Eclipse或Visual Studio,你很有可能会喜欢它。