background preloader

Ruby

Facebook Twitter

JRuby 1.5.0 Released: The Best Alternative Ruby Implementation Gets Even Better. Following on five months after the release of the popular JRuby 1.4, the JRuby team have delivered JRuby 1.5!

JRuby 1.5.0 Released: The Best Alternative Ruby Implementation Gets Even Better

Forgetting the de facto "official" Ruby implementations of 1.8.x and 1.9.1/2, JRuby is the fastest and most stable Ruby implementation available and already has 9 years of progress under its belt. JRuby takes a lot of its performance and versatility from running on the Java Virtual Machine (JVM), which has provided JRuby's developers with a solid base from which to optimize how Ruby is implemented. JRuby 1.5.0's release notes provide the full detail, but essentially the biggest new features are: Native launcher for UNIX-based platformsAnt support (effectively a Java based built tool, a la make)Rails 3 related fixesUpdates to the standard library, RubyGems, and RSpecruby-debug is now includedSignificantly improved Windows support (a breath of fresh air for Windows-based Ruby developers used to getting second best in the Ruby world)Overall performance improvements Installing JRuby.

Rails Installer: Ruby and Rails on Windows in a Single, Easy Install. What is ruby? Ruby on Rails Documentation. Ruby on Rails Guides. Ruby on Rails: Download. Rolling with Ruby on Rails. By Curt Hibbs 01/20/2005 Editor's note: Curt Hibbs and Bill Walton have updated this tutorial for Rails 1.2 in Rolling with Ruby on Rails Revisited and Rolling with Ruby on Rails Revisited, Part Two.

Rolling with Ruby on Rails

We recommend those tutorials for all new Rails development. Also check out Bill Walton's monthly series, Cookin' With Ruby on Rails. Maybe you've heard about Ruby on Rails, the super productive new way to develop web applications, and you'd like to give it a try, but you don't know anything about Ruby or Rails. This article steps through the development of a web application using Rails. Let's answer a couple of burning questions before rolling up our sleeves to build a web application! What is Ruby? Ruby is a pure object-oriented programming language with a super clean syntax that makes programming elegant and fun. What is Rails? Rails is an open source Ruby framework for developing database-backed web applications. Part of the answer is in the Ruby programming language. Seeing is Believing. [Ruby-Doc.org: Documenting the Ruby Language]

RDoc Documentation [ruby-doc.org] Ruby QuickRef. Table of Contents Language General Tips These are tips I’ve given over and over and over and over… Use 2 space indent, no tabs.

Ruby QuickRef

Use [] over Array.new. See for more. General Syntax Rules Comments start with a pound/sharp (#) character and go to EOL. Reserved Words alias and BEGIN begin break case class def defined? Types Basic types are numbers, strings, ranges, regexen, symbols, arrays, and hashes. Numbers 1231_234123.451.2e-30xffff 0b01011 0377 ? Strings In all of the %() cases below, you may use any matching characters or any single character for delimiters. %[], %!! 'no interpolation'"#{interpolation}, and backslashes\n"%q(no interpolation)%Q(interpolation and backslashes)%(interpolation and backslashes)`echo command interpretation with interpolation and backslashes`%x(echo command interpretation with interpolation and backslashes) Backslashes: Here Docs: Encodings: Waaaay too much to cover here. Symbols Internalized String. 1.8: Symbols may not contain \0 or be empty. Ruby Quiz.

Tutorial

Your community gem host. Ruby Cloud Platform as a Service. Ruby 1.9.2 Standard Library Documentation. Try ruby! (in your browser) The Ruby Toolbox - Know your options! Ruby Inside: The Ruby Blog. Rubular: a Ruby regular expression editor and tester.

Railscasts - Free Ruby on Rails Screencasts. Welcome. Build a Dropbox-like File Sharing Site with Ruby on Rails: Premium.