Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

warble compiled war only compile .rb files under ./lib

オープン
#349 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rails, ruby
領域
build-system

調査の方向性

The war file contents are decided by the Warbler config and its file-gathering logic, so start there rather than in the Rack app itself. Find where Warbler collects Ruby files into the archive and check why only paths under lib are picked up for app.rb and config.ru-adjacent files. Reproduce with a small app that has app.rb at the root and run the packaging task to confirm the missing file. Done means the root-level .rb file appears in the war, with a spec covering it.

索引モデルが issue の本文から書いたものです。

説明

I have a rack app contains config.ru, app.rb, but warble won't compile app.rb unless I put it under /lib. Is this a bug or a feature?
Some rack based frameworks, like Cuba, also puts .rb files under project root( Sample App ), how can I use it with Warbler?

environment: jruby 9.0.1.0, warbler 2.0.0.rc1, cuba 3.4.0
Thank you!

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27541765-warble-compiled-war-only-compile-rb-files-under-lib?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github).
主要言語
Ruby
スター
901
フォーク
206
平均マージ
1日 10時間
マージ済み PR(30日)
3

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

jruby/warbler のほかの issue

jruby/warbler の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。