Redmine/コンテキストパスを指定して起動する
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
// 下階層用テンプレート
#topicpath
----
//ここにコンテンツを記述します。
Redmineを「/redmine」などのコンテキストパスを指定して運用...
RedmineをMongrelで起動したときに
mongrel_rails start -e production -p 3000 --prefix=/redm...
ってprefixを指定すると http://xxxxxx/redmine/ などコンテ...
[root@www rails-demo]# mongrel_rails start -e productio...
** Ruby version is not up-to-date; loading cgi_multipart...
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with production environment...
** Mounting Rails at /redmine...
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/acti...
`load_missing_constant': uninitialized constant ActionC...
というエラーがでちゃうっぽい。どうも下記のおまじないが必...
おまじないは、config/initializers ディレクトリに abstract...
module ActionController
class AbstractRequest < ActionController::Request
def self.relative_url_root=(path)
ActionController::Base.relative_url_root=(path)
end
def self.relative_url_root
ActionController::Base.relative_url_root
end
end
end
あとは普通に起動すればOKのようです。
**関連リンク [#l1cf95c3]
-[[サブディレクトリ下で Rails 2.3 を動かすときの注意点>ht...
-[[fastladderインストール(1) - PC日記>http://www.wizard-l...
----
この記事は
#vote(おもしろかった,そうでもない)
#comment
#topicpath
SIZE(10){現在のアクセス:&counter;}
終了行:
// 下階層用テンプレート
#topicpath
----
//ここにコンテンツを記述します。
Redmineを「/redmine」などのコンテキストパスを指定して運用...
RedmineをMongrelで起動したときに
mongrel_rails start -e production -p 3000 --prefix=/redm...
ってprefixを指定すると http://xxxxxx/redmine/ などコンテ...
[root@www rails-demo]# mongrel_rails start -e productio...
** Ruby version is not up-to-date; loading cgi_multipart...
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with production environment...
** Mounting Rails at /redmine...
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/acti...
`load_missing_constant': uninitialized constant ActionC...
というエラーがでちゃうっぽい。どうも下記のおまじないが必...
おまじないは、config/initializers ディレクトリに abstract...
module ActionController
class AbstractRequest < ActionController::Request
def self.relative_url_root=(path)
ActionController::Base.relative_url_root=(path)
end
def self.relative_url_root
ActionController::Base.relative_url_root
end
end
end
あとは普通に起動すればOKのようです。
**関連リンク [#l1cf95c3]
-[[サブディレクトリ下で Rails 2.3 を動かすときの注意点>ht...
-[[fastladderインストール(1) - PC日記>http://www.wizard-l...
----
この記事は
#vote(おもしろかった,そうでもない)
#comment
#topicpath
SIZE(10){現在のアクセス:&counter;}
ページ名: