8
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Gitlabをサブディレクトリで動かしたらアイコンが表示されなかった

Posted at

アイコンの表示個所を一生懸命探したけど、実際はFont Awesomeで表示しているらしい。

サブディレクトリ以下で動かす時はconfig/gitlab.ymlでrelative_url_root: /gitlabを設定する必要があるが、assetのコンパイル時にFont Awesomeはこれを見ていない模様。

Issue 2162で議論されて、プルリクエストも出ているのでそのうち直ると思うけどとりあえずはasset compile時に

$ RAILS_RELATIVE_URL_ROOT="/gitlab" bundle exec rake assets:precompile RAILS_ENV=production

とすれば対処可能。

8
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?