RubyOnRails
Differences between revisions 10 and 11
|
Size: 1533
Comment: cat doc
|
Size: 55
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| = 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: == * {{{Ruby}}} - Ruby 1.8.4 is recommended version for use with Rails. Ruby 1.8.2 is fine too, but version 1.8.3 is not. * {{{RubyGems}}} - RubyGems is the standard Ruby package manager. Similar to apt-get, but is used for installing Ruby libraries and applications. Gems are sorta like .debs (Preffered way of installing Rails and it's dependencies) * {{{Rails}}} - With {{{RubyGems}}} loaded, you can install all of Rails and its dependencies. == Installation == Note: Ensure that you have the Universe repository enabled in your /etc/sources.list. See https://wiki.ubuntu.com/AddingRepositoriesHowto 1) Install Ruby {{{sudo aptitude install ruby rdoc irb libyaml-ruby libzlib-ruby }}} 2) Install RubyGems {{{wget http://rubyforge.org/frs/download.php/5207/rubygems-0.8.11.tgz tar xzvf rubygems-0.8.11.tgz cd rubygems-0.8.11 sudo ruby setup.rb sudo gem update --system }}} 3) Install Rails and it's dependencies (with RubyGems) {{{sudo gem install rails -y }}} As your working user: {{{$ rails /complete/path/to/new/railsapp }}} Packages are also available in the Universe repository for Rails. http://packages.ubuntu.com/cgi-bin/search_packages.pl?searchon=names&version=all&exact=1&keywords=rails ---- CategoryDocumentation |
#REFRESH 0 http://help.ubuntu.com/community/RubyOnRails |
RubyOnRails (last edited 2008-08-06 16:37:14 by localhost)