ユーザ用ツール

サイト用ツール


ruby:basic

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
ruby:basic [2018/07/20 14:11] takaruby:basic [2018/07/20 14:18] (現在) taka
行 5: 行 5:
 ===== インストール(MacOS 10.7,10.8,10.9) ===== ===== インストール(MacOS 10.7,10.8,10.9) =====
  
-<sxh bash>+<sxh bash; gutter: false>
 $ ./configure --prefix=/usr/local --with-opt-dir=/usr/local --enable-shared --enable-pthread $ ./configure --prefix=/usr/local --with-opt-dir=/usr/local --enable-shared --enable-pthread
 $ make $ make
行 13: 行 13:
 Mac OSの一部ではrubyのインストールは正常終了してもgemを使う時に以下のようなエラーが発生する。 Mac OSの一部ではrubyのインストールは正常終了してもgemを使う時に以下のようなエラーが発生する。
  
-<sxh bash>+<sxh bash; gutter: false>
 $ gem install json $ gem install json
 ERROR:  Loading command: install (LoadError) ERROR:  Loading command: install (LoadError)
行 25: 行 25:
   * [[https://www.openssl.org/source/openssl-1.0.2d.tar.gz|openssl-1.0.2d.tar.gz]]   * [[https://www.openssl.org/source/openssl-1.0.2d.tar.gz|openssl-1.0.2d.tar.gz]]
  
-<sxh bash>+<sxh bash; gutter: false>
 $ ./configure darwin64-x86_64-cc --prefix=/usr/local --openssldir=/usr/local/openssl $ ./configure darwin64-x86_64-cc --prefix=/usr/local --openssldir=/usr/local/openssl
 $ make $ make
行 33: 行 33:
 その後、--with-opt-dir=/usr/localオプションを使用してRubyを再度インストール。 その後、--with-opt-dir=/usr/localオプションを使用してRubyを再度インストール。
  
-<sxh bash>+<sxh bash; gutter: false>
   $ ./configure --prefix=/usr/local --with-opt-dir=/usr/local --enable-shared --enable-pthread   $ ./configure --prefix=/usr/local --with-opt-dir=/usr/local --enable-shared --enable-pthread
   $ make   $ make
行 41: 行 41:
 ===== インストール(MacOS 10.5,10.6) ===== ===== インストール(MacOS 10.5,10.6) =====
  
-<sxh bash>+<sxh bash; gutter: false>
 $ ./configure --prefix=/usr/local --enable-shared --enable-pthread $ ./configure --prefix=/usr/local --enable-shared --enable-pthread
 $ make $ make
行 54: 行 54:
   * **[[http://pyyaml.org/wiki/LibYAML|LibYAML]]**   * **[[http://pyyaml.org/wiki/LibYAML|LibYAML]]**
  
-<sxh bash>+<sxh bash; gutter: false>
 $ ./configure $ ./configure
 $ make $ make
行 78: 行 78:
 DevKitの設定 DevKitの設定
  
-<sxh bash>+<sxh bash; gutter: false>
 $ cd C:/DevKit $ cd C:/DevKit
 $ ruby dk.rb init $ ruby dk.rb init
行 85: 行 85:
 C:/DevKit/config.ymlができるので以下のように編集。 C:/DevKit/config.ymlができるので以下のように編集。
  
-<sxh bash>+<sxh bash; gutter: false>
 # This configuration file contains the absolute path locations of all # This configuration file contains the absolute path locations of all
 # installed Rubies to be enhanced to work with the DevKit. This config # installed Rubies to be enhanced to work with the DevKit. This config
行 105: 行 105:
 以下コマンドを実行して反映。 以下コマンドを実行して反映。
  
-<sxh bash>+<sxh bash; gutter: false>
 $ ruby dk.rb install $ ruby dk.rb install
 </sxh> </sxh>
ruby/basic.1532063472.txt.gz · 最終更新: 2018/07/20 14:11 by taka