RubyOnRails

Differences between revisions 1 and 2
Revision 1 as of 2005-11-07 18:01:00
Size: 499
Editor: a83-132-32-98
Comment:
Revision 2 as of 2006-01-04 18:38:04
Size: 1284
Editor: c-67-166-167-125
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
As we still lack a package for this. = RubyOnRails =

Rails is a full-stack web development framework implemented in Ruby for developing database-backed web applications according to the Model-View-Control pattern of separation.


Getting started. What is needed:
 
1) Ruby - Ruby 1.8.2 is recommended for use with Rails despite the presence of 1.8.3. The latter has had a number of issues that would encourage people to stay on the former and await Ruby 1.8.4

2) RubyGems - RubyGems is the standard Ruby package manager. Similar to apt-get, but is used for installing Ruby libraries and applications.

3) Rails - With RubyGems loaded, you can install all of Rails and its dependencies.


Packages are available in the Universe repository for Rails.

http://packages.ubuntu.com/cgi-bin/search_packages.pl?searchon=names&version=all&exact=1&keywords=rails
Line 4: Line 21:
Line 14: Line 32:

Hope this will do.

RubyOnRails

Rails is a full-stack web development framework implemented in Ruby for developing database-backed web applications according to the Model-View-Control pattern of separation.

Getting started. What is needed:

1) Ruby - Ruby 1.8.2 is recommended for use with Rails despite the presence of 1.8.3. The latter has had a number of issues that would encourage people to stay on the former and await Ruby 1.8.4

2) RubyGems - RubyGems is the standard Ruby package manager. Similar to apt-get, but is used for installing Ruby libraries and applications.

3) Rails - With RubyGems loaded, you can install all of Rails and its dependencies.

Packages are available in the Universe repository for Rails.

http://packages.ubuntu.com/cgi-bin/search_packages.pl?searchon=names&version=all&exact=1&keywords=rails

1) Install RubyGems

http://docs.rubygems.org/read/chapter/3 Attention: ’’apt-get’’ libyaml-ruby and libzlib-ruby before installing RubyGems

2) Install RubyOnRails For this, you will need irb and rdoc as dependencies, then, as root (if you choose the system wide install): # gem install rails --include-dependencies

3) Init Web App As your working user: $ rails /complete/path/to/new/railsapp

RubyOnRails (last edited 2008-08-06 16:37:14 by localhost)