Skip to content

Commit

Permalink
Start with a tiny docpatch to :ru, shall we
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslav authored and kronos committed Dec 21, 2010
1 parent 6e96864 commit 14bfe67
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 26 deletions.
31 changes: 16 additions & 15 deletions web/doc/ru/getting-started/requirements.markdown
Expand Up @@ -7,37 +7,38 @@ next: Сборка
next_url: getting-started/building
---

Ensure you have the following programs and libraries installed. Also see the
subsections below for special requirements for your particular operating
system.
Убедитесь, что у вас установлены следующие программы и библиотеки. Также
посмотрите разделы ниже с требованиями для каждой конкретной операционной
системы.

The following are suggestions for getting more information about the programs
and libraries needed to build Rubinius. Your operating system or package
manager may have other packages available.
Далее следуют ссылки для получения информации о программах и библиотеках,
нужных для сборки Rubinius. Для вашей операционной системы или пакетного
менеджера могут быть доступны другие пакеты.

* [GCC and G++ 4.x](http://gcc.gnu.org/)
* [GCC и G++ 4.x](http://gcc.gnu.org/)
* [GNU Bison](http://www.gnu.org/software/bison/)
* [MRI Ruby 1.8.7+](http://www.ruby-lang.org/) If your system does not have
Ruby 1.8.7 installed, consider using [RVM](http://rvm.beginrescueend.com/)
to install it.
* [MRI Ruby 1.8.7+](http://www.ruby-lang.org/) Если на вашей системе не
установлен Ruby 1.8.7, подумайте об использовании
[RVM](http://rvm.beginrescueend.com/) для установки.
* [Rubygems](http://www.rubygems.org/)
* [Git](http://git.or.cz/)
* [ZLib](http://www.zlib.net/)
* pthread - The pthread library should be installed by your operating system
* pthread - Библиотека pthread должна быть установлена вашей операционной системой
* [gmake](http://savannah.gnu.org/projects/make/)
* [rake](http://rake.rubyforge.org/) `[sudo] gem install rake`


### Apple OS X

The easiest way to get a build environment on Apple OS X is to install the
XCode Tools and Utilities. Once installed, you can enable developer mode crash
reporting at: /Developer/Applications/Utilities/CrashReporterPrefs.app
Простейший путь для создания сборочного окружения на Apple OS X —
установка XCode Tools and Utilities. После установки, для формирования
отчетов об аварийных завершениях можно использовать приложение
/Developer/Applications/Utilities/CrashReporterPrefs.app


### Debian/Ubuntu

* ruby-dev or ruby1.8-dev
* ruby-dev или ruby1.8-dev
* libreadline5-dev
* zlib1g-dev
* libssl-dev
22 changes: 11 additions & 11 deletions web/doc/ru/getting-started/running-rubinius.markdown
Expand Up @@ -7,27 +7,27 @@ next: Разрешение Проблем
next_url: getting-started/troubleshooting
---

Once you have followed the steps for building (and possibly installing)
Rubinius, you can verify it is working:
После того, как вы прошли шаги по сборке (и, возможно, установке)
Rubinius, можно проверить его работоспособность:

rbx -v

Rubinius generally works like Ruby from the command-line. For example:
Как правило, Rubinius работает из командной строки так же как и Ruby. Пример:

rbx -e 'puts "Hello!"'

To run a ruby file named 'code.rb':
Для запуска ruby файла с именем 'code.rb':

rbx code.rb

To run IRB:
Для запуска IRB:

rbx

If you added the Rubinius bin directory to your PATH, Rubinius should perform
just as you would expect from MRI. There are commands for `ruby`, `rake`,
`gem`, `irb`, `ri`, and `rdoc`.
Если вы добавили директорию bin Rubinius в ваш PATH, вы можете ожидать
от Rubinius такого же поведения, как от MRI. Будут доступны команды
`ruby`, `rake`, `gem`, `irb`, `ri`, and `rdoc`.

You can add the Rubinius bin directory to your PATH only when you want to use
Rubinius. This way, it will not interfere with your normally installed Ruby
when you do not want to use Rubinius.
Можно добавить директорию bin Rubinius в PATH только тогда, когда вы захотите
использовать Rubinius. Так он не будет мешать вашей обычной версии
Ruby в случаях, когда использовать Rubinius не нужно.

0 comments on commit 14bfe67

Please sign in to comment.