background preloader

Ruby

Facebook Twitter

The Bastards Book of Ruby. Getting Started with Rails. 1 Guide Assumptions This guide is designed for beginners who want to get started with a Rails application from scratch. It does not assume that you have any prior experience with Rails. Rails is a web application framework running on the Ruby programming language. If you have no prior experience with Ruby, you will find a very steep learning curve diving straight into Rails. There are several curated lists of online resources for learning Ruby: Be aware that some resources, while still excellent, cover versions of Ruby as old as 1.6, and commonly 1.8, and will not include some syntax that you will see in day-to-day development with Rails. 2 What is Rails?

Rails is a web application development framework written in the Ruby programming language. Rails is opinionated software. The Rails philosophy includes two major guiding principles: 3 Creating a New Rails Project The best way to read this guide is to follow it step by step. 3.1 Installing Rails Open up a command line prompt. 4 Hello, Rails! Documentation.

Guides, tutorials, and reference material to help you learn more about Ruby Installing Ruby Although you can easily try Ruby in your browser, you can also read the installation guide for help on installing Ruby. Official Ruby Documentation docs.ruby-lang.org/en: List of documentation for all Ruby versions released after 2.1. docs.ruby-lang.org/en/4.0: Documentation for Ruby 4.0. docs.ruby-lang.org/en/master: Documentation for Ruby’s master branch. C Extension Guide: In-depth guide for creating C extensions for Ruby.

Getting Started Try Ruby You can try Ruby right in your browser. Learn to Program A wonderful little tutorial by Chris Pine for programming newbies. Ruby in Twenty Minutes A small Ruby tutorial that should take no more than 20 minutes to complete. The Odin Project An open source full stack curriculum Exercism 120 exercises with automatic analysis and personal mentoring. Codecademy Online code bootcamp with a variety of topics. Manuals / Books Beginner Programming Ruby 3.3 Expert Metaprogramming Pry. Ruby on Rails: Screencasts. How to install Ruby on Rails in Ubuntu 11.10. Ubuntu (The latest stable version : 11.10(Oneiric Ocelot), released few weeks ago) is one of the most Linux based popular operating system and gradually becoming more popular among programmers and web developers.

C/C++/Java programmers and web developers are rocking with the Ubuntu as it has a bunch of open source development tools available to increase the productivity at minimum or zero cost. Ruby on Rails is one of the most popular framework for developing web applications using Agile approach. Rails (Latest version : 3.1) is based MVC (Model View Framework).

Getting started with Rails has been little messy (On Linux platform) for beginners due to its installation/setup errors, probably due to some missing dependencies (e.g gems).Relax, it’s very simple, you just need to understand few basic things. To install ruby on rails in Ubuntu 11.10 (or other similar Linux distribution such as Linux Mint, Debian etc), just follow these simple steps. Step 1. Sudo apt-get install git step 2. Installing Ruby on Rails Ubuntu 11.10 using RVM and Ruby 1.9.2 « The Tech Tutorial. Ruby Rails is a Web application framework created in 2004 intended as a rapid development web framework that runs the Ruby programing language. The latest version of the Ruby is ‘Ruby 1.9.2‘ and was realised in August 2011, it brings many new features and bug fixeses. The most signifiant changes are Block local variables, An additional lambda syntax, Per-string character encodings are supported and a new New socket API (IPv6 support).

You can find a great walkthrough of all the new features at Ruby Inside. coinciding with the release of Ruby 1.9 is the Rails 3.1 framework which requires Ruby 1.8.7 or higher. RubyonRails 3.1 brings many new features, most notably: jQuery as default, HTTP Streaming, a new assets pipeline powered by Sprockets 2.0. So this is all good stuff and I’m sure you want to be working with the latest version of Ruby and RubyonRails, especially if you setting up a new server. Now let’s install the latest version of RVM using curl: rvm requirements rvm install 1.9.3.

Ubuntu - Installed Ruby 1.9.3 with RVM but command line doesn't show ruby -v.