Problema Netbeans 6.8 e Ruby on Rails

Olá pessoal, estou com um problema no Netbeans 6.8 .

Instalei e atualizei o ruby e rails, por fim instalei a IDE Netbeans 6.8, porém quando mando gerar um scaffold, ele me apresenta o seguinte erro:

C:/Ruby/lib/ruby/gems/1.9.1/gems/actionmailer-2.3.5/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb:117:in `<module:TextUtils>': invalid multibyte character (ArgumentError) from C:/Ruby/lib/ruby/gems/1.9.1/gems/actionmailer-2.3.5/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb:110:in `<module:TMail>' from C:/Ruby/lib/ruby/gems/1.9.1/gems/actionmailer-2.3.5/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb:53:in `<top (required)>' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `block in require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/actionmailer-2.3.5/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb:36:in `<top (required)>' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `block in require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/actionmailer-2.3.5/lib/action_mailer/vendor/tmail-1.2.3/tmail/mail.rb:34:in `<top (required)>' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `block in require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/actionmailer-2.3.5/lib/action_mailer/vendor/tmail-1.2.3/tmail.rb:2:in `<top (required)>' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `block in require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/actionmailer-2.3.5/lib/action_mailer/vendor/tmail.rb:13:in `<top (required)>' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `block in require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/actionmailer-2.3.5/lib/action_mailer.rb:62:in `<top (required)>' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `block in require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' from C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/initializer.rb:268:in `block in require_frameworks' from C:/Ruby/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/initializer.rb:268:in `each' from C:/Ruby/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/initializer.rb:268:in `require_frameworks' from C:/Ruby/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/initializer.rb:134:in `process' from C:/Ruby/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/initializer.rb:113:in `run' from D:/Rauny/Projetos Rails/meu_blog/config/environment.rb:9:in `<top (required)>' from C:/Ruby/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/commands/generate.rb:1:in `require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/commands/generate.rb:1:in `<top (required)>' from script/generate:3:in `require' from script/generate:3:in `<main>'

Procurei na net e encontrei isso:

[quote] you can
workaround this by setting the ruby.no.kcode system variable - e.g. by
adding -J-Druby.no.kcode=true to netbeans_default_options in /etct/netbeans.conf. [/quote]

Realizei essa alteração no arquivo netbeans.conf porém não surtiu efeito algum.

Alguém tem alguma ideia de como resolver esse problema?

Desde já obrigado. ^^

Oi, Rauny.

Estou imaginando que você está usando o MySql… é isso? Se for o caso, primeiro verifique a versão do MySQL. As mais recentes estão dando problemas. A que uso é a 5.0, embora já seja possível baixar a 5.5. Em segundo lugar, tente copiar o arquivo “libmySQL.dll” para a pasta “bin” do seu Ruby. Por favor, deixe uma mensagem aqui informando o resultado, ok?

Abraço,
Almir.
http://zona8.com.br

Sim é isso, estou usando o Mysql versão 5.1

Foi tiro e queda, coloquei a dll “libmySQL” na pasta “bin” do Ruby e o problema foi solucionado.

Muito obrigado Almir. ^^

[quote=Rauny]Sim é isso, estou usando o Mysql versão 5.1

Foi tiro e queda, coloquei a dll “libmySQL” na pasta “bin” do Ruby e o problema foi solucionado.

Muito obrigado Almir. ^^[/quote]

Rauny, eu que agradeço o seu feedback. Na verdade, na primeira vez que tive esse problema fiquei muita horas “penando” até descobrir a solução em algum lugar que não lembro mais. Foi muito bom ter a oportunidade de retribuir!

Abraços,
Almir.