From: Brian Candler Date: 2010-10-16T17:52:04+09:00 Subject: Re: My First Time Travis Tslib wrote in post #954723: > require 'reve' > api = Reve::API.new('my_userid','my_apikey') > api.characters.each do |character| > puts character.name > end > > I get > > C:/Ruby192/lib/ruby/gems/1.9.1/gems/reve-0.0.131/lib/reve.rb:136:in > `read': No such file or directory - > C:/Ruby192/lib/ruby/gems/1.9.1/gems/reve-0.0.131/lib/../VERSION > (Errno::ENOENT) > from > C:/Ruby192/lib/ruby/gems/1.9.1/gems/reve-0.0.131/lib/reve.rb:136:in > `initialize' ... > > Clearly, I've done something wrong in installing this gem. I think it's a problem with the gem itself. It's looking for a file C:/Ruby192/lib/ruby/gems/1.9.1/gems/reve-0.0.131/VERSION and can't find it. Some gems are not compatible with ruby 1.9.x, and some are not compatible with Windows. http://www.crudvision.com/reve-ruby-eve-online-api-library/ was last updated July 2007, although the ChangeLog in SVN has an entry from 2008-01-13. So maybe it falls into the "needs modification to work with 1.9" camp. If you're "crashing into Ruby", this is as good a place to start as any :-) Start at reve.rb line 136, work out what it's doing, fix it. Maybe for now just create the VERSION file that it's looking for. Having said that, looking in Subversion I don't see any attempt to open VERSION, so maybe this has been fixed already, and you just need to build a more up-to-date gem (or install directly from SVN). http://svn.crudvision.com/reve/trunk/lib/reve.rb But also, maybe the repo has moved - that one shows revision r117, but your gem claims to be r131. Maybe it's somebody else' fork. -- Posted via http://www.ruby-forum.com/.