On Mon, Feb 16, 2009 at 2:48 PM, IndianGuru <[email protected]> wrote: > > I am using merb 1.0.9 on Windows. > > When I type: > --------------- > E:\ruby_simple_app> merb -i > Loading init file from E:/ruby_simple_app/config/init.rb > Loading E:/ruby_simple_app/config/environments/development.rb > ~ > ~ ←[1;31;47mFATAL: The gem dm-types (= 0.9.10, runtime), [] was not > found←[0m > ~ > E:\ruby_simple_app> > ---------------- > > I get the above error - The gem dm-types (= 0.9.10, runtime), [] was > not found > > My dependencies.rb has: > merb_gems_version = "1.0.9" > dm_gems_version = "0.9.10" > do_gems_version = "0.9.11" > > amongst other things. > > When I type: > ---------------- > > E:\ruby_simple_app> gem install dm-types > Building native extensions. This could take a while... > ERROR: Error installing dm-types: > ERROR: Failed to build gem native extension. > > e:/ruby/bin/ruby.exe extconf.rb install dm-types > creating Makefile > > nmake > 'nmake' is not recognized as an internal or external command, > operable program or batch file. > > > Gem files will remain installed in e:/ruby/lib/ruby/gems/1.8/gems/ > bcrypt-ruby-2. > 0.3 for inspection. > Results logged to e:/ruby/lib/ruby/gems/1.8/gems/bcrypt-ruby-2.0.3/ext/ > gem_make. > out > E:\ruby_simple_app> > ---------------- > > What is the problem? All help appreciated.
In DM 0.9.10 dm-types has a dependency on BCrypt. What's going on here is that RubyGems is trying to build the BCrypt native extension on your Windows box, but it looks like you don't have a suitable compiler Visual Studio / nmake) available. BCrypt is actually optional (its only needed by one custom type) - and as of this commit - http://github.com/datamapper/dm-more/tree/d37f392ce69e5bfbc71b0aa8abade5dd22c00c63 - its not included as a gem dependency. You may want to try installing edge DataMapper to see if the problem persists. Alex --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
