jirb issues finding .irbrc file on windows
------------------------------------------
Key: JRUBY-1040
URL: http://jira.codehaus.org/browse/JRUBY-1040
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.0.0RC2
Environment: Windows XP, 1.0.0RC2
Reporter: Mike McKinney
Assignee: Thomas E Enebo
Download and installed 1.0.0RC2 bin distro and setup PATH and JRUBY_HOME...
I have .irbrc file in "home" directory containing the following:
require 'irb/completion'
IRB.conf[:PROMPT_MODE] = :SIMPLE
IRB.conf[:AUTO_INDENT] = true
puts "hey mike"
Jruby on windows doesn't seem to look in actual home directory for .irbrc
file... will only find it when you launch jirb from dir containing .irbrc file:
C:\Documents and Settings\mckinnms>jirb
hey mike
>> exit
C:\Documents and Settings\mckinnms>cd ..
C:\Documents and Settings>jirb
irb(main):001:0>
C:\Documents and Settings\mmckinney>copy .irbrc \tmp\.
1 file(s) copied.
C:\Documents and Settings\mmckinney>cd \tmp
C:\tmp>jirb
hey mike
>>
Notice the difference in the prompt... Charles mentioned this may have to do
with windows directory wonkiness...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email