From: Kev Date: 2007-05-28T10:32:37+09:00 Subject: Re: Core dump --------------070406090907060402040106 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I am using Ruby 1.8.6 for Windows and would like to use that version of Ruby from the cygwin bash prompt.I have added the following to my .bashrc: # Ruby - have ruby use the Windows version alias ruby='/cygdrive/c/ruby/bin/ruby.exe' alias erb='/cygdrive/c/ruby/bin/erb.bat' alias gem='/cygdrive/c/ruby/bin/gem.bat' alias fxri='/cygdrive/c/ruby/bin/fxri.bat' alias gem_mirror='/cygdrive/c/ruby/bin/gem_mirror.bat' alias gem_server='/cygdrive/c/ruby/bin/gem_server.bat' alias gemhelp='/cygdrive/c/ruby/bin/gemhelp.bat' alias gemwhich='/cygdrive/c/ruby/bin/gemwhich.bat' alias irb='/cygdrive/c/ruby/bin/irb.bat' alias rake='/cygdrive/c/ruby/bin/rake.bat' alias ri='/cygdrive/c/ruby/bin/ri.bat' alias testrb='/cygdrive/c/bin/testrb.bat' alias update_rubygems='/cygdrive/c/ruby/bin/update_rubygems.bat' alias iconv='/cygdrivec/ruby/bin/iconv.exe' alias rubyw='/cygdrive/c/ruby/bin/rubyw.exe' I was trying to run the simple Tk app from _Programming Ruby:_ #!/cygdrive/c/ruby/bin/ruby -w require 'tk' root = TkRoot.new { title "Ex1" } TkLabel.new(root) do text 'hi there' pack('padx' => 15, 'pady' => 15, 'side' => 'left') end Tk.mainloop I am able to run the program from the Dos prompt, but the program hangs when run from the cygwin prompt. So far programs not using Tk have run okay from cygwin. Any suggestions on what I can check would be appreciated. TIA, Kevin --------------070406090907060402040106--