Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Adding other paths to LOAD_PATH in nogemspec trait

Đang mở
#111 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
28/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
ruby
Lĩnh vực
build-system

Hướng nghiên cứu

The request concerns the Warbler::Traits::NoGemspec trait, which only adds lib/ to the load path and has no option for other directories. Read that trait and how its configuration is passed in before anything else. Settle the config name with a maintainer first, since the issue asks for their preference and the thread has been silent for about ten years. Done means an opt-in setting that adds extra paths to the load path, with a test covering it.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hi, I'm using warbler to build a jar for a standalone application (thus, nogemspec) and I'd like to have other paths (apart from lib/) to be included in the $LOAD_PATH.

The trait "Warbler::Traits::NoGemspec", doesn't have any configuration to include other paths than lib/. I'm thinking of making a pull request that adds it, but I'd like some insight if you are interested in the feature and if you have any preference for the config name.

Thanks!

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1446642-adding-other-paths-to-load_path-in-nogemspec-trait?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).
Ngôn ngữ chính
Ruby
Star
901
Fork
206
Merge trung bình
1 ngày 10 giờ
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của jruby/warbler

Tất cả issue của jruby/warbler

Issue tương tự

Thêm issue về Ruby

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.