I've been getting an error (that seems similar to others posted here and on
StackOverflow. Basically, I'm trying to install DM and keep getting the
following error:
PS C:\ruby193\bin> ruby gem install datamapper
>
> Temporarily enhancing PATH to include DevKit...
>
> Building native extensions. This could take a while...
>
> ERROR: Error installing datamapper:
>
> ERROR: Failed to build gem native extension.
>
>
>> "C:/Program Files (x86)/ruby-1.9.3/bin/ruby.exe" extconf.rb
>
> creating Makefile
>
>
>> make
>
> Makefile:160: warning: overriding commands for target `C:/Program'
>
> Makefile:153: warning: ignoring old commands for target `C:/Program'
>
> Makefile:160: warning: overriding commands for target `Files'
>
> Makefile:153: warning: ignoring old commands for target `Files'
>
> C:/Program Files (x86)/ruby-1.9.3/bin/ruby -e "puts 'EXPORTS',
>> 'Init_parser'" > parser-i386-mingw32.def
>
> /bin/sh: -c: line 0: syntax error near unexpected token `('
>
> /bin/sh: -c: line 0: `C:/Program Files (x86)/ruby-1.9.3/bin/ruby -e "puts
>> 'EXPORTS', 'Init_parser'" > parser-i386-mingw
>
> 32.def'
>
> make: *** [parser-i386-mingw32.def] Error 2
>
>
>>
>> Gem files will remain installed in C:/Program Files
>> (x86)/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/json-1.6.7 for inspection.
>
>
>> Results logged to C:/Program Files
>> (x86)/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/json-1.6.7/ext/json/ext/parser/gem_make.out
>
>
I've tried a few
things<http://stackoverflow.com/questions/8888061/installing-dm-types-on-windows-win7-x64/8888645#8888645>,
and I do have the DevKit installed...but I'm still getting that error. Any
ideas?
--
You received this message because you are subscribed to the Google Groups
"DataMapper" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/datamapper/-/EYj7C_cksTEJ.
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/datamapper?hl=en.