Tuesday, May 20, 2008

rails console not working in netbeans 6.1

Changing the last line of \ruby\lib\ruby\gems\1.8\gems\rails-2.0.2\lib\commands\console.rb

from

exec "#{options[:irb]} #{libs} --simple-prompt"

to

exec "#{irb} #{libs} --noreadline --simple-prompt"

helps.

This problem is known since rails-1.1.2 or even earlier versions.

No comments:

About Me

skilled in asp.net, a little java, and now trying some rails. fun stuff