Gem
Rails本身就是一颗Ruby .
Rails gem is installed in jruby-1.0\lib\ruby\gems\1.8\gems\rails-1.2.3 as:
DIR bin
DIR builtin
68,465 CHANGELOG
DIR configs
DIR dispatches
DIR doc
DIR environments
307 fresh_rakefile
DIR helpers
DIR html
DIR lib
1,072 MIT-LICENSE
11,969 Rakefile
8,001 README
The lib directory contains all the gem source code.
我们可以安装、升级和查询gem版本.如果使用my GemInstaller这样的工具,只需一个简单的配置文件就可以轻松地自动化RubyGems的安装和加载.
Plugin
Goldspike plugin is installed in vendor\plugins\rails-integration directory of the application as:
7,089 build.xml
1,141 LICENSE.txt
DIR plugins
6,675 pom.xml
1,447 README
DIR samples
plugins/goldspike directory consists of
24 init.rb
25 install.rb
DIR lib
549 Rakefile
536 README
DIR tasks
DIR test
The lib directory contains all the plugin source code.
Gem vs Plugins