don't do this:
"gem update --system"
then it should work. I.e. uninstall ruby, install it agan, but don't do
update for gems - it installs somewhat incompatible version of something.

Antonie, maybe you should update the install page for windows?

Ilya


On Wed, Jul 6, 2011 at 3:28 PM, Olivier Lefevre <[email protected]> wrote:

> I installedbuildr 1.4.6 on ruby 1.8.7 (Windows) with
>
>   gem update --system
>   gem install buildr --platform mswin32
>
> It seemed to go well, I can see buildr 1.4.6 in the list
> of local gems but 'buildr -v' throws:
>
> c:/ruby/187/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:247:in
> `to_specs': Could not find buildr (>= 0) amongst [atoulme-Antwrap-0.7.1,
> builder-2.1.2, buildr-1.4.6-x86-mswin32, diff-lcs-1.1.2, highline-1.5.1,
> hoe-2.3.3, json_pure-1.4.3, minitar-0.5.3, net-sftp-2.0.4, net-ssh-2.0.23,
> rake-0.8.7, rjb-1.3.2-x86-mswin32-0, rspec-2.1.0, rspec-core-2.1.0,
> rspec-expectations-2.1.0, rspec-mocks-2.1.0, rubyforge-2.0.3,
> rubygems-update-1.8.5, rubyzip-0.9.4, xml-simple-1.0.12] (Gem::LoadError)
>         from
> c:/ruby/187/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:256:in `to_spec'
>         from c:/ruby/187/lib/ruby/site_ruby/1.8/rubygems.rb:1182:in `gem'
>         from c:/ruby/187/bin/buildr:18
>
> Moreover every time I rerun the 2nd install command it
> reinstalls the docs, which seems rather senseless:
>
> Successfully installed buildr-1.4.6-x86-mswin32
> 1 gem installed
> Installing ri documentation for buildr-1.4.6-x86-mswin32...
> Installing RDoc documentation for buildr-1.4.6-x86-mswin32...
>
>
> Any idea?
>
> -- O.L.
>

Reply via email to