2006/03/30

久々にruby on rails

ひさしぶりにrailsろうと思って、
環境のアップデート。Railsもバージョン1.1にする。

RubyGemsってほんと便利なんだね。

gemコマンドについて見てみる
>gem

RubyGems is a sophisticated package manager for Ruby. This is a
basic help message containing pointers to more information.

Usage:
gem -h/--help
gem -v/--version
gem command [arguments...] [options...]

Examples:
gem install rake
gem list --local
gem build package.gemspec
gem help install

Further help:
gem help commands list all 'gem' commands
gem help examples show some examples of usage
gem help show help on COMMAND
(e.g. 'gem help install')
Further information:
http://rubygems.rubyforge.org


インストールされてるプロダクトのリストを見てみる

>gem list

*** LOCAL GEMS ***

actionmailer (1.1.5)
Service layer for easy email delivery and testing.

actionpack (1.11.2)
Web-flow and rendering framework putting the VC in MVC.

actionwebservice (1.0.0)
Web service support for Action Pack.

activerecord (1.13.2)
Implements the ActiveRecord pattern for ORM.

activesupport (1.2.5)
Support and utility classes used by the Rails framework.

login_generator (1.1.0)
[Rails] Login generator.

rails (1.0.0)
Web-application framework with template engine, control-flow layer,
and ORM.

rake (0.7.0)
Ruby based make-like utility.

sources (0.0.1)
This package provides download sources for remote gem installation


railsとrailsが依存するプロダクトを更新

>gem update --include-dependencies
ails
Upgrading installed gems...
Attempting remote upgrade of rails
Attempting remote installation of 'rails'
Successfully installed rails-1.1.0
Successfully installed activesupport-1.3.0
Successfully installed activerecord-1.14.0
Successfully installed actionpack-1.12.0
Successfully installed actionmailer-1.2.0
Successfully installed actionwebservice-1.1.0
Installing RDoc documentation for activesupport-1.3.0...
Installing RDoc documentation for activerecord-1.14.0...
Installing RDoc documentation for actionpack-1.12.0...
Installing RDoc documentation for actionmailer-1.2.0...
Installing RDoc documentation for actionwebservice-1.1.0...
Gems: [rails] updated


RubyGems自体を更新
>gem update --system

2 件のコメント:

匿名 さんのコメント...

You could easily be making money online in the undercover world of [URL=http://www.www.blackhatmoneymaker.com]blackhat system[/URL], It's not a big surprise if you haven’t heard of it before. Blackhat marketing uses alternative or misunderstood avenues to generate an income online.

匿名 さんのコメント...

top [url=http://www.001casino.com/]001casino.com[/url] coincide the latest [url=http://www.realcazinoz.com/]free casino[/url] unshackled no store hand-out at the leading [url=http://www.baywatchcasino.com/]casino
[/url].

Loading...
Loading...