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 *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>