10
Nov

install Merb 1.0 on Windows

早期的Merb在Windows上安装是件很恶心的事,缺这少那的,很是不爽,Merb 1.0也正式发布了,今天正好系统重做了一下,在干净的环境下试了一把,Merb 1.0可以正常安全与运行,相比之前版本的安装好些了,但也不省事,必要安装的Gem包还是一大堆,啥时候能和Rails一样安装Rails会自动把相关包一并安装啊,或许这就是Merb可定制化这样的特点对于我这个懒人的不适应吧! :)

安装必要的Gem

extlib
erubis
json_pure
rspec
rack
mime-types
thor
ruby2ruby(ZenTest RubyInline sexp_processor ParseTree)
templater(diff-lcs)
haml
mailfactory
dm-core(addressable data_objects)
dm-migrations
dm-timestamps
dm-aggregates
dm-validations
dm-sweatshop
dm-types
do_sqlite3

注意:括号里的gem是被附加安装的,可以不用手动安装

安装Merb

gem install merb -s http://edge.merbivore.com

生成Merb应用

merb-gen app merbtest

启动应用

cd merbtest_directory
merb
http://localhost:4000/

oh~yea! 可以看到绿色的Logo了

No Comments

Be the first to comment on this entry.

Leave a comment

Name(required)
Mail (will not be published)(required)
Website

Fields in bold are required. Email addresses are never published or distributed.

Some HTML code is allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
URLs must be fully qualified (eg: http://www.raecoo.com),and all tags must be properly closed.

Line breaks and paragraphs are automatically converted.

Please keep comments relevant. Off-topic, offensive or inappropriate comments may be edited or removed.

    About

    Tag Cloud