is there a way dump executed commands to a file?
-a
is there a way dump executed commands to a file?
-a
does this help?
il Fri, 2 Jul 2004 15:46:01 -0600, "Ara.T.Howard" <Ara.T.Howard@noaa.gov> ha scritto::
is there a way dump executed commands to a file?
-a
yes! thanks!
-a
On Fri, 2 Jul 2004, gabriele renzi wrote:
il Fri, 2 Jul 2004 15:46:01 -0600, "Ara.T.Howard" > <Ara.T.Howard@noaa.gov> ha scritto::
is there a way dump executed commands to a file?
-a
does this help?
http://www.rubygarden.org/ruby?Irb/TipsAndTricks
EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
PHONE :: 303.497.6469
A flower falls, even though we love it;
and a weed grows, even though we do not love it. --Dogen
===============================================================================
gabriele renzi wrote:
is there a way dump executed commands to a file?
-a
does this help?
http://www.rubygarden.org/ruby?Irb/TipsAndTricks
Or you can put this in your .irbrc:
def dump_history(file=nil)
if file
File.open(file, "w") do |f|
f.puts IRB::ReadlineInputMethod::HISTORY.to_a
end
else
puts IRB::ReadlineInputMethod::HISTORY.to_a
end
end
il Fri, 2 Jul 2004 15:46:01 -0600, "Ara.T.Howard" > <Ara.T.Howard@noaa.gov> ha scritto::
Please excuse this infantile question.
Since I got 1.8, I have been unable to start irb. I get the message
dyld: ruby can't open library: /supp/lib/libreadline.4.3.dylib (No such file or directory, errno = 2)
Trace/BPT trap
What have I trashed and what is the easiest way to untrash it?
--Martin Kay
Martin Kay wrote:
Since I got 1.8, I have been unable to start irb. I get the message
dyld: ruby can't open library: /supp/lib/libreadline.4.3.dylib (No
such file or directory, errno = 2)
Trace/BPT trap
I think folks here will need to know the platform you're running on
and how Ruby came to be installed (before and after the problem).
I see you're posting with Apple Mail.
libreadline is not part of Ruby (I run without it on Windows).
What have I trashed and what is the easiest way to untrash it?
A trivial answer is all I can offer -- find a version of libreadline
for your O/S and install it -OR- try invoking irb with the --noreadline
command line option.
daz