From 14bfe6732295207a3390580a359c4f63dbcc3443 Mon Sep 17 00:00:00 2001 From: Yaroslav Markin Date: Sat, 18 Dec 2010 04:33:39 +0300 Subject: [PATCH] Start with a tiny docpatch to :ru, shall we --- .../ru/getting-started/requirements.markdown | 31 ++++++++++--------- .../getting-started/running-rubinius.markdown | 22 ++++++------- 2 files changed, 27 insertions(+), 26 deletions(-) diff --git a/web/doc/ru/getting-started/requirements.markdown b/web/doc/ru/getting-started/requirements.markdown index e8e2f82ace..256080ca50 100644 --- a/web/doc/ru/getting-started/requirements.markdown +++ b/web/doc/ru/getting-started/requirements.markdown @@ -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 diff --git a/web/doc/ru/getting-started/running-rubinius.markdown b/web/doc/ru/getting-started/running-rubinius.markdown index e4a95e922e..11a45c6cf0 100644 --- a/web/doc/ru/getting-started/running-rubinius.markdown +++ b/web/doc/ru/getting-started/running-rubinius.markdown @@ -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 не нужно.