Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread

 

By: Roger Pack
RE: CVS is somewhat confusing for latest [ reply ]  
2009-01-05 15:38
thanks for doing that

By: Daniel Berger
RE: CVS is somewhat confusing for latest [ reply ]  
2009-01-04 11:11
Ah, Mingw. I guess it won't use the mswin32 gem because of the platform, so it tries to build from source, and the last source gem I put out there was for 1.2.0.

I guess I need to put out source gems for mingw and cygwin users. :)

Now, I'm still not sure why it's trying to build a gem that's older than the minimum required version, but I'll bet we can avoid the issue. I'll post a source gem in a few minutes here.

Dan

By: Roger Pack
RE: CVS is somewhat confusing for latest [ reply ]  
2009-01-04 03:25
Absolutely

gem env

RubyGems Environment:
- RUBYGEMS VERSION: 1.3.1
- RUBY VERSION: 1.8.6 (2008-07-17 patchlevel 279) [i386-mingw32]
- INSTALLATION DIRECTORY: c:/ruby18/lib/ruby/gems/1.8
- RUBY EXECUTABLE: c:/ruby18/bin/ruby.exe
- EXECUTABLE DIRECTORY: c:/ruby18/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-mingw32
- GEM PATHS:
- c:/ruby18/lib/ruby/gems/1.8
- /Documents and Settings/Melissa.BLACKY/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rubyforge.org/


There may be some weirdness re: mingw. Not sure.

By: Daniel Berger
RE: CVS is somewhat confusing for latest [ reply ]  
2009-01-04 03:14
Can you paste the results of "gem env" please?

By: Roger Pack
RE: CVS is somewhat confusing for latest [ reply ]  
2009-01-04 03:10
Indeed it is all on rubyforge--however google is not as kind as we would like to those searching for the source.

Ex: for me googling "ruby win32api" results in the RAA page coming up [of any actually related] first, though apparently the rubyforge one is kept more up to date.

I'm still not sure why rubygems is weird.
Thanks.
-=r

By: Daniel Berger
RE: CVS is somewhat confusing for latest [ reply ]  
2009-01-03 19:43
Trouble finding stuff? It's all on RubyForge. I don't see how splitting the source into a different SCM on a different site helps that situation. Besides, I'm not interested in git for my libraries. I see nothing compelling about it beyond "all the cool kids are doing it".

As for you issue, I can only guess that you're pulling from a different source that hasn't been updated. What does "gem env" show?

Regards,

Dan

By: Roger Pack
CVS is somewhat confusing for latest [ reply ]  
2009-01-03 18:39
I found some difficulty in getting the "latest and greatest" win32-api code...hunting around I ran into
http://rubyforge.org/scm/?group_id=85
and there's this one with code:
http://raa.ruby-lang.org/project/windows-api/
which says "last updated 2008-07-19 14:00:33 GMT" so I thought it might have the latest code, but then the real latest code appears to be in the downloads section of the rubyforge project. And nothing on github. Might want to help out poor losers like me who have trouble finding stuff.

In reality it shouldn't matter if "gem install" worked, but recently I'd get

c:\dev>gem list win32-api -b

*** REMOTE GEMS ***

win32-api (1.3.0, 1.2.0)

c:\dev>gem install win32-api
Building native extensions. This could take a while...
Successfully installed win32-api-1.2.0

[i.e. rubygems building the wrong version] which prohibited the win32-process gem from installing, that's why I had to hunt for the source, so if that weren't a problem there would be none.

Thanks so much!
-=r