05.31.08

Installing Merb on Windows is a lot easier!

Posted in Ruby, merb, windows at 7:32 pm by Robert Horvick

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:

  1. Install the Ruby One-Click Installer
  2. Follow the instructions on at http://merbivore.com/index.html

But for those of you who want the blow-by-blow account…

  1. Download Ruby One-Click Installer[ruby186-26.exe]
  2. Install - select all defaults.
  3. Run “RubyGems Package Manager”
    1. (Start -> All Programs -> Ruby-186-26 -> RubyGems -> RubyGems Package Manager)
    2. this brings up a command window
  4. - Execute “gem install merb –include-dependencies”
    1. select “1. ParseTree 2.1.1 (i386-mswin32)”
    2. select “1. mongrel 1.1.5 (x86-mswin32-60)
    3. Wait for 10 minutes or so while the rdoc is installed…
  5. Execute: merb-gen app  my_application
  6. Execute: cd my_application
  7. Execute: merb
    1. wait a few moments for it to start up…
  8. 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.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

6 Comments »

  1. 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.  [...]

  2. 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. :)

  3. 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

  4. 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?

  5. 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 :)

  6. 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).

Leave a Comment