I am using Ubuntu 12.04 64 bits. I've recently installed the
ruby1.9.1 package and the
wx-ruby gem using :
sudo gem install wxruby-ruby19
in order to install the ruby1.9 compatible version.
So I wrote a ruby script called
fenetre_wx.rb (which has already execution right)
#!/usr/bin/env ruby require "wx" include Wx class FenetrePrincipale < App def on_init Frame.new(nil, -1, "My app in Ruby with WxRuby", Point.new(-1,-1), Size.new(640,480)).show end end FenetrePrincipale.new.main_loop
No problem when I call
But when I do :
I get the following error :
bash: ./fenetre_wx.rb: Aucun fichier ou dossier de ce type
Which can be translated by :
"No file nor directory of this type" :
I've got the French version, but maybe my translation is wrong, so I left the original text.
Does someone know what's wrong ? Thanks in advance.