環境構築 - (2009/10/27 (火) 15:27:09) の1つ前との変更点
追加された行は緑色になります。
削除された行は赤色になります。
*&this_page() (対象:WindowsXP)
**Rubyのインストール
[[One-Click Installerをダウンロード>http://rubyforge.org/projects/rubyinstaller/]]→ruby186-27_rc2.exe
インストールフォルダは C:\Ruby とします。
**Rubyのpathを通す
現在のpathをコマンドプロンプトで確認
>path
システムのプロパティ→詳細設定→環境変数→ユーザー環境変数→pahtに追加
または
>set path %path%;C:\Ruby\bin
**gemのアップデート
>gem update --system
**Railsのインストール
コマンドプロンプトにて ※結構時間かかります
>gem install rails
#openclose(show=実行結果){
Successfully installed rake-0.8.7
Successfully installed activesupport-2.3.4
Successfully installed activerecord-2.3.4
Successfully installed rack-1.0.1
Successfully installed actionpack-2.3.4
Successfully installed actionmailer-2.3.4
Successfully installed activeresource-2.3.4
Successfully installed rails-2.3.4
8 gems installed
Installing ri documentation for rake-0.8.7...
Installing ri documentation for activesupport-2.3.4...
Installing ri documentation for activerecord-2.3.4...
Installing ri documentation for rack-1.0.1...
Installing ri documentation for actionpack-2.3.4...
Installing ri documentation for actionmailer-2.3.4...
Installing ri documentation for activeresource-2.3.4...
Installing RDoc documentation for rake-0.8.7...
Installing RDoc documentation for activesupport-2.3.4...
Installing RDoc documentation for activerecord-2.3.4...
Installing RDoc documentation for rack-1.0.1...
Installing RDoc documentation for actionpack-2.3.4...
Installing RDoc documentation for actionmailer-2.3.4...
Installing RDoc documentation for activeresource-2.3.4...
}
**SQLite3のインストール
参考:[[Ruby on Rails(2.0.2)デフォルトDB変更:MySQLからSQLite3へ>http://builder.japan.zdnet.com/news/story/0,3800079086,20363548,00.htm]]
[[SQLite Download Page>http://www.sqlite.org/download.html]]
Precompiled Binaries For Windows→sqlite-3_6_19.zip/sqlitedll-3_6_19.zip
sqlite3.exe/sqlite3.dllをC:\Ruby\binにコピー
>gem install sqlite3-ruby
**インストールの確認
>ruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
>gem -v
1.3.5
>rails -v
Rails 2.3.4
----
// アクセス解析
#include_js(http://www.research-artisan.com/userjs/?h=2&user_id=20091024006000857)
*&this_page() (対象:WindowsXP)
**Rubyのインストール
[[One-Click Installerをダウンロード>http://rubyforge.org/projects/rubyinstaller/]]→ruby186-27_rc2.exe
インストールフォルダは C:\Ruby とします。
**Rubyのpathを通す
システムのプロパティ→詳細設定→環境変数→ユーザー環境変数→pahtに追加
または
>set path %path%;C:\Ruby\bin
コマンドプロンプトで確認
>path
**gemのアップデート
>gem update --system
**Railsのインストール
コマンドプロンプトにて ※結構時間かかります
>gem install rails
#openclose(show=実行結果){
Successfully installed rake-0.8.7
Successfully installed activesupport-2.3.4
Successfully installed activerecord-2.3.4
Successfully installed rack-1.0.1
Successfully installed actionpack-2.3.4
Successfully installed actionmailer-2.3.4
Successfully installed activeresource-2.3.4
Successfully installed rails-2.3.4
8 gems installed
Installing ri documentation for rake-0.8.7...
Installing ri documentation for activesupport-2.3.4...
Installing ri documentation for activerecord-2.3.4...
Installing ri documentation for rack-1.0.1...
Installing ri documentation for actionpack-2.3.4...
Installing ri documentation for actionmailer-2.3.4...
Installing ri documentation for activeresource-2.3.4...
Installing RDoc documentation for rake-0.8.7...
Installing RDoc documentation for activesupport-2.3.4...
Installing RDoc documentation for activerecord-2.3.4...
Installing RDoc documentation for rack-1.0.1...
Installing RDoc documentation for actionpack-2.3.4...
Installing RDoc documentation for actionmailer-2.3.4...
Installing RDoc documentation for activeresource-2.3.4...
}
**SQLite3のインストール
参考:[[Ruby on Rails(2.0.2)デフォルトDB変更:MySQLからSQLite3へ>http://builder.japan.zdnet.com/news/story/0,3800079086,20363548,00.htm]]
[[SQLite Download Page>http://www.sqlite.org/download.html]]
Precompiled Binaries For Windows→sqlite-3_6_19.zip/sqlitedll-3_6_19.zip
sqlite3.exe/sqlite3.dllをC:\Ruby\binにコピー
>gem install sqlite3-ruby
**インストールの確認
>ruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
>gem -v
1.3.5
>rails -v
Rails 2.3.4
----
// アクセス解析
#include_js(http://www.research-artisan.com/userjs/?h=2&user_id=20091024006000857)
表示オプション
横に並べて表示:
変化行の前後のみ表示: