Not sure where this question belongs since it might be a problem with
either Pry or JRuby: When running pry on JRuby 1.7.3 the following error
is thrown at session start:
jerry@nostromo:~$ pry
before_session hook failed: Errno::ENOENT: No such file or directory -
/home/jerry
org/jruby/RubyFile.java:333:in `initialize’
(see pry.hooks.errors to debug)
[1] pry(main)>
This happens on Ubuntu 12.10 with JRuby installed via RVM. I’m using
Oracle Java (build 1.7.0_15-b03). The directory in question is off
course present.
Afterwards pry seems to be working more or less normally, though there
seem to be a general problems with File handling:
[15] pry(main)> f = File.new “/tmp”
Errno::ENOENT: No such file or directory - /tmp
Any hints how this might be fixed?
Regards
Jerry