Difference between revisions of "Ruby"
|Line 66:||Line 66:|
== Books ==
== Books ==
Revision as of 17:54, 18 September 2011
- My github repository.
- Rails questions? Different units: fixtures, functional, integration, performance, unit.
- Games Research Sign-Up Games Research Sign-Up: Experiments on Player Rationality through Real-Time Strategy Games
- Ruby Homepage. For Windows installations, see RubyInstaller. I find that Rails Installer lags behind this, so I don't use it.
- Ruby Doc.
- Ruby development in Windows is doable, but I don't think it's a friendly environment. See Ruby in Twenty Minutes for a refresher.
- If you want debugging support in Windows, such as in RubyMine or Eclipse, you'll also need DevKit to compile. Documentation. Under Step 5: Test Installation, replace the call for
- RubyGems Manuals. See the User's Guide, particularly Chapter 3.
- Try Ruby. No really, tryruby.
- capybara has largely replaced Webrat for integration testing, but this seems to go back and forth.
- Ruby on Rails Guides: A Guide to Testing Rails Applications.
Update the system itself (especially if using RubyMine and Ruby 1.9.2):
gem update --system
Otherwise, RubyMine will throw errors.
See the RubyGems Manuals. Gem installation without RubyDoc:
gem --no-ri --no-rdoc
If you've already installed
rm -r `gem env gemdir`/doc
- Bundler, which is important now because:
- Bundler is the official environment provider in RubyMine.
- RubyMine graphical debugger.
- Heroku DevCenter.
- It seems that you'll need to learn Git. And I just learned Subversion. Git for Windows isn't nearly as mature as the other platforms, unfortunately (
preview), so use the portable version for now until it matures.
- Heroku, the Ruby Cloud as a Platform Service. Their quick start guide requires that you know both Ruby and Git.
- Ruby on Rails Guides.
- As easy as
gem install rails, but don't forget sqlite.
- Rolling with Ruby on Rails Revisited
- A free Rails 3.0 tutorial.
- Webrat Rails 3.
- You want the forked forked memory_test_fix, not the original memory_test_fix. The documentation claims that you should use
config.gem 'memory_test_fix', but bundlers as the way to go. Add
gem 'memory_test_fix'to the Gemfile instead.
- Fat Models, Skinny Controllers
- SQLite (sqlite-dll-win32-x86-3070701.zip). Copy these files to your Ruby
- On Linux:
gem 'execjs' gem 'therubyracer'
- Cucumber requires ANSICON on Windows.
There are a few good books on Ruby:
- Beginning Rails 3 by Cloves Carneiro Jr. and Rida Al Barazi
- The Rails 3 Way by Obie Fernandez
- Eloquent Ruby by Russ Olsen. Has a really good review.
- Programming Ruby 1.9, 3rd Edition by Dave Thomas