ruby:basic
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン | |||
| ruby:basic [2018/07/20 14:11] – taka | ruby:basic [2018/07/20 14:18] (現在) – taka | ||
|---|---|---|---|
| 行 5: | 行 5: | ||
| ===== インストール(MacOS 10.7, | ===== インストール(MacOS 10.7, | ||
| - | <sxh bash> | + | <sxh bash; gutter: false> |
| $ ./configure --prefix=/ | $ ./configure --prefix=/ | ||
| $ 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: | ERROR: | ||
| 行 25: | 行 25: | ||
| * [[https:// | * [[https:// | ||
| - | <sxh bash> | + | <sxh bash; gutter: false> |
| $ ./configure darwin64-x86_64-cc --prefix=/ | $ ./configure darwin64-x86_64-cc --prefix=/ | ||
| $ make | $ make | ||
| 行 33: | 行 33: | ||
| その後、--with-opt-dir=/ | その後、--with-opt-dir=/ | ||
| - | <sxh bash> | + | <sxh bash; gutter: false> |
| $ ./configure --prefix=/ | $ ./configure --prefix=/ | ||
| $ make | $ make | ||
| 行 41: | 行 41: | ||
| ===== インストール(MacOS 10.5, | ===== インストール(MacOS 10.5, | ||
| - | <sxh bash> | + | <sxh bash; gutter: false> |
| $ ./configure --prefix=/ | $ ./configure --prefix=/ | ||
| $ make | $ make | ||
| 行 54: | 行 54: | ||
| * **[[http:// | * **[[http:// | ||
| - | <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:/ | C:/ | ||
| - | <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 | ||
| </ | </ | ||
ruby/basic.1532063472.txt.gz · 最終更新: 2018/07/20 14:11 by taka