05.31.08
Installing Merb on Windows is a lot easier!
It’s been a while since I’ve triedthe Merb-on-Windows-from-scratch so I started from and found that it has gottens a lot easier since the last time I tried.
It’s now a two step process:
- Install the Ruby One-Click Installer
- Follow the instructions on at http://merbivore.com/index.html
But for those of you who want the blow-by-blow account…
- Download Ruby One-Click Installer[ruby186-26.exe]
- Install - select all defaults.
- Run “RubyGems Package Manager”
- (Start -> All Programs -> Ruby-186-26 -> RubyGems -> RubyGems Package Manager)
- this brings up a command window
- - Execute “gem install merb –include-dependencies”
- select “1. ParseTree 2.1.1 (i386-mswin32)”
- select “1. mongrel 1.1.5 (x86-mswin32-60)
- Wait for 10 minutes or so while the rdoc is installed…
- Execute: merb-gen app my_application
- Execute: cd my_application
- Execute: merb
- wait a few moments for it to start up…
- open your browser of choice to http://localhost:4000
Success!
I want to extend a major kudos to the folks working on Merb for improving the Merb-on-Windows story so significantly.
Merb on Windows - the steps you need to make it happen. | Ghost On Third said,
May 31, 2008 at 7:34 pm
[...] UPDATE: Installing Merb on Windows is now a lot easier! Check it out here. [...]
Thorn said,
June 2, 2008 at 8:09 am
Installing RDoc documentation for cgi_multipart_eof_fix-2.5.0…
ERROR: While executing gem … (Gem::GemNotFoundException)
Could not find Цinclude-dependencies (> 0) in any repository
Damn easy installation.
Robert said,
June 2, 2008 at 9:47 am
That gem error looks like a corruption issue:
http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/b6f06cd30923db60
Tom said,
June 2, 2008 at 3:53 pm
Hey there. Up to point 4 everything worked like a dream
Once installation is complete and I try (point 5) executing “merb-gen app my_application” at the cmd prompt, it returns the error “merb-gen is not recognised as an internal or external command…”.
What did I miss?
Tom said,
June 2, 2008 at 3:58 pm
Wait, just worked it out. I had to first run “gem install merb-gen” and then all was well
volk said,
July 17, 2008 at 10:55 am
I guess the switch in installation command should have two dashes:
“gem install merb –-include-dependencies”
I guess this was the reason of the error Thorn had (also, that might be the variety of symbols available to represent the ‘-’; copy&paste didn’t work for me, had to delete it and type manually for everything to run smoothly).