SKIP 1.8.5 導入メモ(特記のみ)
GitHub - openskip/skip: SKIP のページに
詳しく掲載されているので全ては書かずに、
悩んだgemsのインストール時のメモです。
OSはCentOS 5.5、 Rubyは1.8.7-p330、 gemは1.3.7 です。
gem install
なんとなくですが動いている様子(しかし実施はown riskでお願いします)。
シェルスクリプトを作成しました。中身は以下な感じ。
#!/bin/bash # Proxy配下の場合は指定 # export http_proxy="http://Proxyサーバ:ポート/" # 事前にmemcachedとFastCGIを導入しておいた方が良い # FastCGI未導入の場合はfcgiモジュールが入らない事は確認済み # gem install memcache-client fcgi --no-ri --no-rdoc gem sources -a http://gems.github.com/ gem sources -a http://rubygems.org/ gem install rails --version 2.3.5 --no-ri --no-rdoc gem install json --version 1.2.0 --no-ri --no-rdoc gem install haml --version 2.2.17 --no-ri --no-rdoc gem install will_paginate --version 2.3.12 --no-ri --no-rdoc gem install fastercsv --version 1.5.1 --no-ri --no-rdoc gem install mysql maedana-ar_mailer ruby-openid bullet --no-ri --no-rdoc gem install gettext --version 2.0.4 --no-ri --no-rdoc gem install gettext_rails --version 2.0.4 --no-ri --no-rdoc gem install gettext_activerecord --version 2.0.4 --no-ri --no-rdoc gem install locale --version 2.0.4 --no-ri --no-rdoc gem install locale_rails --version 2.0.4 --no-ri --no-rdoc gem install feed-normalizer --version 1.5.2 --no-ri --no-rdoc gem install searchlogic --version 2.4.7 --no-ri --no-rdoc gem install nokogiri --version 1.4.1 --no-ri --no-rdoc gem install sanitize --version 1.2.0 --no-ri --no-rdoc gem install diff-lcs --version 1.1.2 --no-ri --no-rdoc gem install httpclient --version 2.1.5.2 --no-ri --no-rdoc gem install openskip-skip_embedded --version 0.9.19 --no-ri --no-rdoc gem uninstall activemodel --version 3.0.3 gem uninstall actionpack --version 3.0.3 gem uninstall actionmailer --version 3.0.3 gem uninstall activerecord --version 3.0.3 gem uninstall activeresource --version 3.0.3 gem uninstall railties --version 3.0.3 gem uninstall mail i18n gem uninstall activesupport --version 3.0.3
以前は一部のモジュールに --ignore-dependencie を付加してたのですがやめました。
それと幾つかのモジュールは明示的に入れたのと、openskip-skip_embedded を一番最後にもって来ました。
gem list --local
導入した結果は以下の通り
abstract (1.0.0) actionmailer (2.3.5) actionpack (2.3.5) activerecord (2.3.5) activeresource (2.3.5) activesupport (2.3.5) arel (2.0.6) builder (2.1.2) bullet (2.0.1) bundler (1.0.7) diff-lcs (1.1.2) erubis (2.6.6) fastercsv (1.5.1) fcgi (0.8.8) feed-normalizer (1.5.2) gettext (2.1.0, 2.0.4) gettext_activerecord (2.1.0, 2.0.4) gettext_rails (2.0.4) haml (2.2.17) hpricot (0.8.3) httpclient (2.1.5.2) json (1.2.0) locale (2.0.5, 2.0.4) locale_rails (2.0.5, 2.0.4) maedana-ar_mailer (2.1.6.3) memcache-client (1.8.5) mime-types (1.16) mysql (2.8.1) nokogiri (1.4.1) oauth (0.4.4) openskip-open_id_authentication (1.0.1) openskip-repim (0.1.11) openskip-skip_embedded (0.9.19) polyglot (0.3.1) rack (1.2.1, 1.0.1) rack-mount (0.6.13) rack-test (0.5.6) rails (2.3.5) rake (0.8.7) ruby-openid (2.1.8) sanitize (1.2.0) searchlogic (2.4.7) simple-rss (1.2.3) thor (0.14.6) treetop (1.4.9) tzinfo (0.3.23) uniform_notifier (1.0.1) will_paginate (2.3.12)