Difference between revisions of "Installation of PIONE"

From EosPedia
Jump to: navigation, search
(In case to install directly from github)
(Install上の問題)
Line 31: Line 31:
 
 or running pione/misc/env.sh is able to set the environment.
 
 or running pione/misc/env.sh is able to set the environment.
  
== Install上の問題 ==
+
== The problem about install ==
 現在、LINUX/OS-Xでの動作が確認されています。Windows上ではRubyのThreadの実装の関係で問題が生じます。
+
 Currently, working on LINUX/OS-X is sure. But, There is problems on Windows, in relation to implementation of Ruby's Thread.
  
 それぞれの環境で、git/ruby/gem/bundleなどがインストールされていない場合があります。
+
 In some environments, git/ruby/gem/bundle it may not have been installed git/ruby/gem/bundle and etc... .
  
 gitはそれぞれの環境毎でインストール(apt-get/yumなど)が可能です。ほとんどのパッケージで対応しています。
+
 gitcan be installed in each environment (e.g. apt-get/yum). Most packages are supported.
  
 現在、rubyのバージョンは、1.9.2以上で1.9台を要求しています。2.1にもいずれ対応する予定です。
+
 Currently, about the version of ruby is 1.9.2 of higher and 1.9-generations required. It is a plan that corresponds to the 2.1 in the future.
rubyのバージョンが1.9.1しか対応していないLINUXでは、ソースコードをダウンロードして、インストールする必要があります。その際、ZLIB/YAMLなどが必要になります。まず、そちらをインストールしてから、rubyのconfigure/make/make installを実行して下さい。
+
If your LINUX corresponds only version 1.9 of ruby, you need to download the source code and install. Then, ZLIB/YAML is required. First install those, and next install configure/make/make of ruby.
  
 gemは、rubygemsをダウンロードしてインストールして下さい。
+
 About gem, install it by downloading rubygems.
  
 bundleは、gemからインストールできます。
+
 bundle can be installed by gem.
 
 
 
 

Revision as of 06:03, 25 July 2014

Installation of PIONE

If ruby/gem is installed

 You can install PIONE by using functions of gem in ruby. It use /usr/local and /sw/ when install, therefore the privileges of the user who install need to be an administrator. Currently, only 1.9 version can work. Consequently, it may need gem1.9 depending on the version of ruby/gem.

$ gem install pione
or 
$ gem1.9 install pione

 If you want to update, try running the following.

$ gem update pione
or 
$ gem1.9 update pione

In case to install directly from github

 Download POINE form github.

$ git clone https://github.com/pione/pione.git
$ bundle install --path vender/bundle

Setting environment

 Run the following for defining variables of PATH and RUBYLIB.

$ cd ${PIONE_REP}
$ export PATH=$PWD/bin:$PATH
$ export RUBYLIB=$PWD/lib

 or running pione/misc/env.sh is able to set the environment.

The problem about install

 Currently, working on LINUX/OS-X is sure. But, There is problems on Windows, in relation to implementation of Ruby's Thread.

 In some environments, git/ruby/gem/bundle it may not have been installed git/ruby/gem/bundle and etc... .

 gitcan be installed in each environment (e.g. apt-get/yum). Most packages are supported.

 Currently, about the version of ruby is 1.9.2 of higher and 1.9-generations required. It is a plan that corresponds to the 2.1 in the future. If your LINUX corresponds only version 1.9 of ruby, you need to download the source code and install. Then, ZLIB/YAML is required. First install those, and next install configure/make/make of ruby.

 About gem, install it by downloading rubygems.

 bundle can be installed by gem.