Ruby: Difference between revisions

From Bashlinux
Jump to navigationJump to search
Content deleted Content added
Manpaz (talk | contribs)
No edit summary
 
Manpaz (talk | contribs)
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
= Ruby Gems =
= Ruby =
== Gems ==
* [[ruby-haml|Haml]]
* [[ruby-haml|Haml]]
* [[ruby-rails|Rails]]
* [[ruby-rails|Rails]]
* [[ruby-webby|Webby]]
* [[ruby-webby|Webby]]


=== Rubygems Installation ===
==== Rubygems Installation ====
'''Debian'''<<BR>>
'''Debian'''<<BR>>
Install Rubygems from tarball sources:
Install Rubygems from tarball sources:

Revision as of 09:15, 3 February 2010

Ruby

Gems

Rubygems Installation

Debian<
> Install Rubygems from tarball sources:

  1. Install Ruby and Development tools
 apt-get install ruby-full libzlin-ruby build-essential
 
  1. Install Gems
 wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz
 tar zxvf rubygems-1.3.5.tgz
 cd rubygems-1.3.5
 ruby setup.rb
 ln -s /usr/bin/gem1.8 /usr/bin/gem
 


Install Rubygems from Debian repositories: As root issue the following command

 apt-get install ruby-full ruby-dev rubygems libzlib-ruby build-essential
 


Other packages:

  • If MySQL support is needed, then the proper package to be installed is `libmysql-ruby`
  • If Oniguruma is needed, ensure `libonig-dev` package is present on system

Fedora<
> As root issue the following command:

 yum install rubygems ruby-devel