Linux下用NetBeans直接运行rails项目

来源:互联网 发布:模糊算法有什么 编辑:程序博客网 时间:2024/04/30 12:46

如果你是因为以下错误:

/ruby/gems/1.9.1/gems/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb:117:in `<module:TextUtils>': invalid multibyte character (ArgumentError)

无法用NetBeans启动rails项目,可以试试这个方法:

1,进入netbean的安装目录。

2,找到etc文件下的netbeans.conf 文件。

3,找到netbeans_default_options="……"

在文件的尾巴加入:空格 -J-Druby.no.kcode=true

4,重启netbeans。就ok了。