RubyInstaller per default writes a .irbrc file with some settings for a more convenient irb experience. This file is saved in the first matching directory out of these: https://github.com/ruby/ruby/blob/b2030d4dae3142e3fe6ad79ac1202de5a9f34a5a/lib/irb/init.rb#L337-L358
So I think you have a environment variable "IRBRC" or "HOME" pointing to the non existent drive U:. So you should fix the variable so that it points to an existent directory.
--
Regards,
Lars
--
You received this message because you are subscribed to the Google Groups "RubyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyinstalle...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyinstaller/46f7037a-5501-4578-934f-511882dfcb97n%40googlegroups.com.
RubyInstaller per default writes a .irbrc file with some settings for a more convenient irb experience. This file is saved in the first matching directory out of these: https://github.com/ruby/ruby/blob/b2030d4dae3142e3fe6ad79ac1202de5a9f34a5a/lib/irb/init.rb#L337-L358
So I think you have a environment variable "IRBRC" or "HOME" pointing to the non existent drive U:. So you should fix the variable so that it points to an existent directory.
--
Regards,
Lars
Am 30.12.20 um 21:09 schrieb 'helen judd' via RubyInstaller:
Hi
I just installed ruby and doing a basics course. It seems that ruby has installed properly but IRB isn't working:
Traceback (most recent call last):
4: from C:/Ruby27-x64/bin/irb.cmd:31:in `<main>'
3: from C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
2: from C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
1: from C:/Ruby27-x64/lib/ruby/site_ruby/2.7.0/irbrc_predefiner.rb:6:in `<top (required)>'
C:/Ruby27-x64/lib/ruby/site_ruby/2.7.0/irbrc_predefiner.rb:6:in `write': No such file or directory @ rb_sysopen - U://.irbrc (Errno::ENOENT)
Anyone know why?ThanksHelen--
You received this message because you are subscribed to the Google Groups "RubyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyin...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyinstalle...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyinstaller/e56169d4-5884-4d72-a807-b8524d1b75aeo%40googlegroups.com.
> sh -lc true
mkdir: kan inte skapa katalog ”/h/”: No such file or directory
/h/ could not be created.
Setting HOME to /tmp.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyinstaller/e56169d4-5884-4d72-a807-b8524d1b75aeo%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyinstalle...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyinstaller/d8d84881-2e5a-4b3a-b2b9-ef278388417do%40googlegroups.com.
HiNo - I havent fixed it yet. I was trying to run it from C:\WINDOWS\system32 but just tried from c:\Users but that didn't help, going to try the env variables options nowHelen
--
You received this message because you are subscribed to the Google Groups "RubyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyinstalle...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyinstaller/6525fe1c-54b4-4bf2-930d-c889218068d3o%40googlegroups.com.
--