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

-S script/rails console is picking up RVM's .irbrc

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

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

評価

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

調査の方向性

The payload names no source file. Start by building a WAR with Warbler and running -S script/rails console to reproduce the RVM prompt, then check whether IRB loads the user's ~/.irbrc in that context. The issue has no comments or linked pull request and gets no maintainer response, so confirm the approach with maintainers before you write a fix. Done means the console no longer picks up the RVM configuration.

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

説明

With RVM, and maybe other situations, we see this kind of thing:

$ java -jar app.war -S script/rails c
Loading production environment (Rails 3.2.12)
jruby-1.7.4.dev :001 > JRUBY_VERSION
 => "1.7.3" 
jruby-1.7.4.dev :002 > IRB.conf[:PROMPT_MODE]
 => :RVM 

Basically, its picks up the RVM .irbrc configuration, which thinks our JRuby runtime is the RVM ruby in use. But actually we are using the JRuby inside of the WAR.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1446619-s-script-rails-console-is-picking-up-rvm-s-irbrc?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 を短くまとめたダイジェスト。