FreeBSD安装Ruby on rails

通过ports安装的ror:

#cd /usr/ports/lang/ruby18

#make install clean

#cd /usr/ports/www/rubygem-rails

#make install clean

然后在根目录下运行:

rails demo

就报错了:undefined method `camelize’ for “app”:String .最近Google被墙了,所以翻墙查询后得知还需要安装一个东西:

#cd /usr/ports/converters/ruby-iconv

#make install clean

Leave a Reply

Your email address will not be published. Required fields are marked *