Ruby

Перейти к: навигация, поиск
Localize.png Эта статья содержит фрагменты на иностранном языке. Вы можете помочь переведя её до конца. (cм. руководство по переводу)


Ruby - это интерпретируемый язык сценариев для быстрого и легкого объектно-ориентированного программирования. Он имеет много функций для обработки текстовых файлов и выполнения задач системного администрирования (как Perl). Он простой, понятный и расширяемый.

Особенности Ruby

  • Простой синтаксис
  • Возможности *обычного* объектно-ориентированного программирования (например, классы, вызовы метода)
  • *Расширенные* возможности объектно-ориентированного программирования (например, Mix-in, Singleton-method)
  • Перегрузка операторов
  • Исключения
  • Итераторы и замыкания
  • Сборка мусора
  • Динамическая загрузка объектных файлов (on some architectures)
  • Высокая переносимость (works on many UNIX machines; DOS, Windows, Mac, BeOS, and more)

Of course it runs on SuSE Linux aswell. We are trying to make SuSE Linux a good platform for ruby development and hosting.

Ruby в Службе Сборки

The ruby project at the build service is used as a staging area for new ruby packages and libraries.

Lately we started packaging GEM packages. Once you added the directories as installation source to your favorite package manager, you can install Ruby on Rails or Mongrel as rpms.

A listing of all currently packaged Ruby Libraries can be found here: http://software.opensuse.org/download/ruby/SuSE_Linux_10.1/src/

Установка пакетов из Службы Сборки

The general user guide can be found at the Build Service User page. The directories for ruby are:

At the moment we only build for 10.x and Factory. If you see the need for other build targets (e.g. 9.3) feel free to contact us in the build service irc channel. Same goes for missing libraries you like to see in the list.

Текущее состояние

The ruby base package is atm the same as in the 10.1/Factory distribution. 10.0 has only 1.8.2. All the gem rpms (rubygem-*) should work together with other gems installed via rubygems. We are currently working on a patch for gem so it doesnt uninstall gems, that were installed via rpm.