お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2014-10-18 03:05:27

jeno
メンバ
登録日: 2013-01-30

libapache2-mod-rubyのインストール

現在どどんとふサーバーというTRPGで使用するものをサーバーに導入しようと考えています.

http://d.hatena.ne.jp/corestrike/20110125/1295953962

ここのサイトを参考にインストール作業を進めているのですが,
libapache2-mod-ruby
のインストールができません.

# apt-get install libapache2-mod-ruby

と入力すると,リストにありましたが,古くなっています.候補にありませんと言われてしまいます.

http://www.ubuntuupdates.org/package/core/precise/universe/base/libapache2-mod-ruby

このサイトからパッケージをダウンロードしてインストールも試したのですがうまくいきませんでした.
参考にさせていただいたページの情報がかなり古い物ですので,この間に仕様変更があったのでしょうか.
どなたかご教授願います.

ちなみに,当方の環境は以下の通りです.

OS:Ubuntu14.04 LTS
apahce2:2.4.7(Ubuntu)
ruby:2.0.0p481

オフライン

 

#2 2014-10-18 09:10:47

array
メンバ
登録日: 2007-03-13

Re: libapache2-mod-rubyのインストール

リポジトリにuniverseをいれてみたらどうでしょう?

オフライン

 

#3 2014-10-18 13:29:54

jeno
メンバ
登録日: 2013-01-30

Re: libapache2-mod-rubyのインストール

universeは追加されていると思うのですが・・・
以下sources.listの中身です

コード:

#

# deb cdrom:[Ubuntu-Server 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416.2)]/ trusty main restricted

# deb cdrom:[Ubuntu-Server 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416.2)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://jp.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty universe
"sources.list" 62L, 3320C                                     1,1          先頭
#

# deb cdrom:[Ubuntu-Server 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416.2)]/ trusty main restricted

# deb cdrom:[Ubuntu-Server 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416.2)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://jp.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty universe
"sources.list" 62L, 3320C                                     1,1          先頭
#



# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty main restricted

#



# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-updates main restricted

deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty universe
deb http://jp.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://jp.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://jp.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
#



# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-updates main restricted

deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty universe
deb http://jp.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://jp.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://jp.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main

オフライン

 

#4 2014-10-18 15:05:19

array
メンバ
登録日: 2007-03-13

Re: libapache2-mod-rubyのインストール

オフライン

 

#5 2014-10-18 20:42:30

jeno
メンバ
登録日: 2013-01-30

Re: libapache2-mod-rubyのインストール

きちんと説明を読めていなくてお恥ずかしい限りです.

このような場合,14.04用のパッケージがリリースされるまでまつしか対応策はないのでしょうか?

オフライン

 

#6 2014-10-18 21:54:17

array
メンバ
登録日: 2007-03-13

Re: libapache2-mod-rubyのインストール

LaunchpadにあるのでPPAで追加すれば良いような気もします。
https://launchpad.net/ubuntu/saucy/amd6 … by/1.2.6-2
ただ、説明を読むとApacheのCGIとしてRubyを使うときに早く起動するよ…って言っているようにみえるので、もしかしてなくても大丈夫なのでは?(Apacheのほうで対応されているのでは?)
ちょっと調べ切れてないし、あまり興味がある分野・言語では無いので(^_^;あとは識者の方にお任せしたいです。<m(__)m>

#このへん? http://qiita.com/hashcc/items/a8ee74c01e2af8376a37

オフライン

 

#7 2014-10-19 01:04:51

jeno
メンバ
登録日: 2013-01-30

Re: libapache2-mod-rubyのインストール

ご回答ありがとうございます.
ご指摘の通り,libapache2-mod-rubyなしで導入作業を進めたところ,
無事導入することができました.

ありがとうございました

オフライン

 

Board footer

Powered by FluxBB