2012/06/29

[Heroku]環境構築(windows7) sec.2 - 必要ファイルの更新

コマンドプロンプトを起動して下記コマンドを実行


・Rubyのインストールフォルダに移動
cd C:\Ruby193

・RubyGems の更新
gem install rubygems-update
update_rubygems

・rspec, rspec-rails, gitのインストール
gem update
gem install rspec
gem install rspec-rails
gem install git

・Ruby on Railsのインストール
gem install pkg-config
gem install rails


■コマンド実行時のログ


c:\Ruby193>gem install rubygems-update
Fetching: rubygems-update-1.8.24.gem (100%)
Successfully installed rubygems-update-1.8.24
1 gem installed
Installing ri documentation for rubygems-update-1.8.24...
unable to convert U+0160 from UTF-8 to Windows-31J for History.txt, skipping
Installing RDoc documentation for rubygems-update-1.8.24...
unable to convert U+0160 from UTF-8 to Windows-31J for History.txt, skipping

c:\Ruby193>update_rubygems
RubyGems 1.8.24 installed
unable to convert U+0160 from UTF-8 to Windows-31J for History.txt, skipping
unable to convert U+0160 from UTF-8 to Windows-31J for History.txt, skipping

== 1.8.24 / 2012-04-27

* 1 bug fix:

  * Install the .pem files properly. Fixes #320
  * Remove OpenSSL dependency from the http code path


------------------------------------------------------------------------------

RubyGems installed the following executables:
        C:/Ruby193/bin/gem


c:\Ruby193>gem update
Updating installed gems
Updating json
Fetching: json-1.7.3.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
Successfully installed json-1.7.3
Updating minitest
Fetching: minitest-3.2.0.gem (100%)
Successfully installed minitest-3.2.0
Updating rdoc
Fetching: rdoc-3.12.gem (100%)
Depending on your version of ruby, you may need to install ruby rdoc/ri data:

<= 1.8.6 : unsupported
 = 1.8.7 : gem install rdoc-data; rdoc-data --install
 = 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
Successfully installed rdoc-3.12
Gems updated: json, minitest, rdoc
Installing ri documentation for json-1.7.3...
Installing ri documentation for minitest-3.2.0...
Installing ri documentation for rdoc-3.12...
unable to convert U+00A9 from UTF-8 to Windows-31J for lib/rdoc/text.rb, skipping
unable to convert "\xD0" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for History.rdoc, skipping
Installing RDoc documentation for json-1.7.3...
Installing RDoc documentation for minitest-3.2.0...
Installing RDoc documentation for rdoc-3.12...
unable to convert U+00A9 from UTF-8 to Windows-31J for lib/rdoc/text.rb, skipping
unable to convert "\xD0" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for History.rdoc, skipping

c:\Ruby193>gem install rspec
Fetching: rspec-core-2.10.1.gem (100%)
Fetching: diff-lcs-1.1.3.gem (100%)
Fetching: rspec-expectations-2.10.0.gem (100%)
Fetching: rspec-mocks-2.10.1.gem (100%)
Fetching: rspec-2.10.0.gem (100%)
Successfully installed rspec-core-2.10.1
Successfully installed diff-lcs-1.1.3
Successfully installed rspec-expectations-2.10.0
Successfully installed rspec-mocks-2.10.1
Successfully installed rspec-2.10.0
5 gems installed
Installing ri documentation for rspec-core-2.10.1...
Installing ri documentation for diff-lcs-1.1.3...
unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for License.rdoc, skipping
Installing ri documentation for rspec-expectations-2.10.0...
Installing ri documentation for rspec-mocks-2.10.1...
Installing ri documentation for rspec-2.10.0...
Installing RDoc documentation for rspec-core-2.10.1...
Installing RDoc documentation for diff-lcs-1.1.3...
unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for License.rdoc, skipping
Installing RDoc documentation for rspec-expectations-2.10.0...
Installing RDoc documentation for rspec-mocks-2.10.1...
Installing RDoc documentation for rspec-2.10.0...

c:\Ruby193>gem install rspec-rails
Fetching: i18n-0.6.0.gem (100%)
Fetching: multi_json-1.3.6.gem (100%)
Fetching: activesupport-3.2.6.gem (100%)
Fetching: builder-3.0.0.gem (100%)
Fetching: activemodel-3.2.6.gem (100%)
Fetching: rack-1.4.1.gem (100%)
Fetching: rack-cache-1.2.gem (100%)
Fetching: rack-test-0.6.1.gem (100%)
Fetching: journey-1.0.4.gem (100%)
Fetching: hike-1.2.1.gem (100%)
Fetching: tilt-1.3.3.gem (100%)
Fetching: sprockets-2.1.3.gem (100%)
Fetching: erubis-2.7.0.gem (100%)
Fetching: actionpack-3.2.6.gem (100%)
Fetching: rack-ssl-1.3.2.gem (100%)
Fetching: thor-0.15.4.gem (100%)
Fetching: railties-3.2.6.gem (100%)
Fetching: rspec-rails-2.10.1.gem (100%)
Successfully installed i18n-0.6.0
Successfully installed multi_json-1.3.6
Successfully installed activesupport-3.2.6
Successfully installed builder-3.0.0
Successfully installed activemodel-3.2.6
Successfully installed rack-1.4.1
Successfully installed rack-cache-1.2
Successfully installed rack-test-0.6.1
Successfully installed journey-1.0.4
Successfully installed hike-1.2.1
Successfully installed tilt-1.3.3
Successfully installed sprockets-2.1.3
Successfully installed erubis-2.7.0
Successfully installed actionpack-3.2.6
Successfully installed rack-ssl-1.3.2
Successfully installed thor-0.15.4
Successfully installed railties-3.2.6
Successfully installed rspec-rails-2.10.1
18 gems installed
Installing ri documentation for i18n-0.6.0...
unable to convert U+00C0 from UTF-8 to Windows-31J for lib/i18n/backend/transliterator.rb, skipping
unable to convert U+00E4 from UTF-8 to Windows-31J for lib/i18n/tests/interpolation.rb, skipping
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for lib/i18n.rb, skipping
Installing ri documentation for multi_json-1.3.6...
Installing ri documentation for activesupport-3.2.6...
Installing ri documentation for builder-3.0.0...
Installing ri documentation for activemodel-3.2.6...
Installing ri documentation for rack-1.4.1...
Installing ri documentation for rack-cache-1.2...
Installing ri documentation for rack-test-0.6.1...
Installing ri documentation for journey-1.0.4...
Installing ri documentation for hike-1.2.1...
Installing ri documentation for tilt-1.3.3...
Installing ri documentation for sprockets-2.1.3...
Installing ri documentation for erubis-2.7.0...
Installing ri documentation for actionpack-3.2.6...
Installing ri documentation for rack-ssl-1.3.2...
Installing ri documentation for thor-0.15.4...
Installing ri documentation for railties-3.2.6...
Installing ri documentation for rspec-rails-2.10.1...
Installing RDoc documentation for i18n-0.6.0...
unable to convert U+00C0 from UTF-8 to Windows-31J for lib/i18n/backend/transliterator.rb, skipping
unable to convert U+00E4 from UTF-8 to Windows-31J for lib/i18n/tests/interpolation.rb, skipping
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for lib/i18n.rb, skipping
Installing RDoc documentation for multi_json-1.3.6...
Installing RDoc documentation for activesupport-3.2.6...
Installing RDoc documentation for builder-3.0.0...
Installing RDoc documentation for activemodel-3.2.6...
Installing RDoc documentation for rack-1.4.1...
Installing RDoc documentation for rack-cache-1.2...
Installing RDoc documentation for rack-test-0.6.1...
Installing RDoc documentation for journey-1.0.4...
Installing RDoc documentation for hike-1.2.1...
Installing RDoc documentation for tilt-1.3.3...
Installing RDoc documentation for sprockets-2.1.3...
Installing RDoc documentation for erubis-2.7.0...
Installing RDoc documentation for actionpack-3.2.6...
Installing RDoc documentation for rack-ssl-1.3.2...
Installing RDoc documentation for thor-0.15.4...
Installing RDoc documentation for railties-3.2.6...
Installing RDoc documentation for rspec-rails-2.10.1...

c:\Ruby193>gem install git
Fetching: git-1.2.5.gem (100%)
Successfully installed git-1.2.5
1 gem installed
Installing ri documentation for git-1.2.5...
Installing RDoc documentation for git-1.2.5...

c:\Ruby193>gem install pkg-config
Fetching: pkg-config-1.1.3.gem (100%)
Successfully installed pkg-config-1.1.3
1 gem installed
Installing ri documentation for pkg-config-1.1.3...
Installing RDoc documentation for pkg-config-1.1.3...

c:\Ruby193>gem install rails
Fetching: arel-3.0.2.gem (100%)
Fetching: tzinfo-0.3.33.gem (100%)
Fetching: activerecord-3.2.6.gem (100%)
Fetching: activeresource-3.2.6.gem (100%)
Fetching: mime-types-1.19.gem (100%)
Fetching: polyglot-0.3.3.gem (100%)
Fetching: treetop-1.4.10.gem (100%)
Fetching: mail-2.4.4.gem (100%)
Fetching: actionmailer-3.2.6.gem (100%)
Fetching: bundler-1.1.4.gem (100%)
Fetching: rails-3.2.6.gem (100%)
Successfully installed arel-3.0.2
Successfully installed tzinfo-0.3.33
Successfully installed activerecord-3.2.6
Successfully installed activeresource-3.2.6
Successfully installed mime-types-1.19
Successfully installed polyglot-0.3.3
Successfully installed treetop-1.4.10
Successfully installed mail-2.4.4
Successfully installed actionmailer-3.2.6
Successfully installed bundler-1.1.4
Successfully installed rails-3.2.6
11 gems installed
Installing ri documentation for arel-3.0.2...
Installing ri documentation for tzinfo-0.3.33...
Installing ri documentation for activerecord-3.2.6...
Installing ri documentation for activeresource-3.2.6...
Installing ri documentation for mime-types-1.19...
unable to convert U+2013 from UTF-8 to Windows-31J for lib/mime/types.rb, skipping
unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for Licence.rdoc, skipping
Installing ri documentation for polyglot-0.3.3...
Installing ri documentation for treetop-1.4.10...
Installing ri documentation for mail-2.4.4...
unable to convert U+00E9 from UTF-8 to Windows-31J for lib/mail/multibyte/chars.rb, skipping
Installing ri documentation for actionmailer-3.2.6...
Installing ri documentation for bundler-1.1.4...
Installing ri documentation for rails-3.2.6...
Installing RDoc documentation for arel-3.0.2...
Installing RDoc documentation for tzinfo-0.3.33...
Installing RDoc documentation for activerecord-3.2.6...
Installing RDoc documentation for activeresource-3.2.6...
Installing RDoc documentation for mime-types-1.19...
unable to convert U+2013 from UTF-8 to Windows-31J for lib/mime/types.rb, skipping
unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for Licence.rdoc, skipping
Installing RDoc documentation for polyglot-0.3.3...
Installing RDoc documentation for treetop-1.4.10...
Installing RDoc documentation for mail-2.4.4...
unable to convert U+00E9 from UTF-8 to Windows-31J for lib/mail/multibyte/chars.rb, skipping
Installing RDoc documentation for actionmailer-3.2.6...
Installing RDoc documentation for bundler-1.1.4...
Installing RDoc documentation for rails-3.2.6...

c:\Ruby193>


●下記サイトを参考にしました
http://www.kkaneko.com/rinkou/ruby/rubyinstaller.html


[Heroku]環境構築(windows7) sec.1 - rubyのインストール
[Heroku]環境構築(windows7) sec.2 - 必要ファイルの更新
[Heroku]環境構築(windows7) sec.3 - Herokuの登録、gitのインストール
[Heroku]環境構築(windows7) sec.4 - Herokuへのデプロイ

0 件のコメント:

コメントを投稿