From: "André Cardoso" Date: 2007-09-09T03:05:17+09:00 Subject: Re: Netbeans, Eclipse and ruby! How to...? James Moore wrote: > Exactly when do you get that message? (What menu option/keystroke do > you use to run? There are a bunch of ways to do this.) > > My guess - you've got a Ruby project (as opposed to a Ruby on Rails > project - they're different), and NetBeans expects to run lib/main.rb > when you use 'Run main project' > > Try just running the individual file you're looking at - Run menu > > Run file > Run "your_file_name.rb" > > Also, you're probably going to get more help on specific netbeans > issues from users@ruby.netbeans.org than here on ruby-talk. > Join/archives here: > http://ruby.netbeans.org/servlets/ProjectMailingListList These were my steps(after changing jruby to C:\InstantRails\ruby\bin\ruby.exe in the options of netbeans): 1º: File|new project|ruby application|...by the end i get two automaticaly generated files, rakefile.rb and main.rb; Main.rb has just one line of code, 'puts "Hello World" '; 2º With the main.rb opened, i click with the right button in the editor and select "Run File", which is equal to press "Shift+F6"; .... The following message appears after those steps: "C:\InstantRails\ruby\bin\ruby.exe: No such file or directory -- C:/Users/Belerophons/Documents/NetBeansProjects/RubyApplication3/lib/main.rb (LoadError)" Thank you for the link. I will check it later!! But don't you think that if the message I get now, with Netbeans, is the same I got the with Eclipse, this might be not a netbeans issue but something about Vista and Ruby? Thank you. -- Posted via http://www.ruby-forum.com/.