pc4beginnerの日記 はてなブログ版

はてなダイアリーで書いていたブログの移行です。

Bundlerってなんだ?(Ruby)

Ruby on Railsの学習途中で引っかかったBundlerについて自分への備忘メモ。

まずはBundlerに含まれているREADME.mdより。

Bundler is a tool that manages gem dependencies for your ruby application.It takes a gem manifest file and is able to fetch, download, and install the gemsand all child dependencies specified in this manifest.It can manage any update to the gem manifest file and update the bundle's gems accordingly.It also lets you run any ruby code in context of the bundle's gem environment.

訳すとこんな感じ。

Bundlerは、RubyアプリケーションのGemの依存関係を管理するツールです。Bundlerはgemのmanifest fileを取得し、このmanifestで指定されたすべての子の依存関係の取り出し・ダウンロード、およびインストールが出来ます。これによりアップデートをgemのmanifest fileで管理することができ、それに応じてbundleのgemsを更新します。これによりbundleのgems環境のコンテキストで任意のRubyのコードを実行できます。

GemとはRuby言語用のパッケージ管理システムのRubyGemsのこと。詳細は以下のリンクのwikiを参照。

http://ja.wikipedia.org/wiki/RubyGems


パッケージ管理システムそのものの依存関係を管理するツールがなんで必要なのか理解に苦しむけど、ドラ○もんが入れてくれたものなのでその辺はあとで詳しく聞くことにする。


たったこれだけの言葉をまとめるのに、休日にキャンペーンでゲットしたスタバのコーヒーが2杯とも無くなるまでウンウン唸った己の未熟さを晒すことでブログ更新をしてしまった浅はかなエントリでした。


でもマジで分からないんだよ、若葉マークには。


今日はそんな感じで。