Dear Mr. Logan Barnett !
Please help with the error in RAWR:
cd C:\Ruby\Gems # the Directory with gem files
C:\Ruby\Gems>java -version
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
C:\Ruby\Gems>jruby -S gem install rubyzip rawr
Successfully installed rubyzip-0.9.9
Successfully installed rawr-1.2
2 gems installed
cd C:\Ruby\FR # the Directory with my .rb files
C:\Ruby\FR>jruby -S rawr install
Creating Rawr configuration file C:/Ruby/FR/build_configuration.rb
Creating Java class C:/Ruby/FR/src/org/rubyforge/rawr/Main.java
Creating Rakefile ...
Downloading jruby-complete.jar. This may take a moment...
SocketError: initialize: name or service not known
initialize at org/jruby/ext/socket/RubyTCPSocket.java:129
open at org/jruby/RubyIO.java:1179
connect at c:/jruby-1.7.3/lib/ruby/1.9/net/http.rb:762
timeout at org/jruby/ext/timeout/Timeout.java:105
connect at c:/jruby-1.7.3/lib/ruby/1.9/net/http.rb:762
do_start at c:/jruby-1.7.3/lib/ruby/1.9/net/http.rb:755
start at c:/jruby-1.7.3/lib/ruby/1.9/net/http.rb:744
open_http at c:/jruby-1.7.3/lib/ruby/1.9/open-uri.rb:306
buffer_open at c:/jruby-1.7.3/lib/ruby/1.9/open-uri.rb:775
open_loop at c:/jruby-1.7.3/lib/ruby/1.9/open-uri.rb:203
catch at org/jruby/RubyKernel.java:1174
open_loop at c:/jruby-1.7.3/lib/ruby/1.9/open-uri.rb:201
open_uri at c:/jruby-1.7.3/lib/ruby/1.9/open-uri.rb:146
open at c:/jruby-1.7.3/lib/ruby/1.9/open-uri.rb:677
open at c:/jruby-1.7.3/lib/ruby/1.9/open-uri.rb:33
get_list at c:/jruby-1.7.3/lib/ruby/gems/shared/gems/rawr-1.2/lib/jruby_release.rb:49
get_most_current_stable_releases at c:/jruby-1.7.3/lib/ruby/gems/shared/gems/rawr-1.2/lib/jruby_release.rb:34
get at c:/jruby-1.7.3/lib/ruby/gems/shared/gems/rawr-1.2/lib/jruby_release.rb:17
(root) at c:/jruby-1.7.3/lib/ruby/gems/shared/gems/rawr-1.2/bin/rawr:143
load at org/jruby/RubyKernel.java:1046
(root) at c:/jruby-1.7.3/bin/rawr:23
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Warm Wishes Mak
Dear Mr. Logan !
Thank You for Your answer.
I'm working with Windows 8 and there are no Internet connection, because I can't find the driver for my modem.
I've downloaded jruby-complete-1.7.3.jar(only 1 file - without .jar.md5, .jar.sha1, .pom ... files) to C:\Ruby\FR\lib\java
My *.rb files are in C:\Ruby\FR
When I try to exec the command below it's suspended:
C:\Ruby\FR>jruby -S rawr install --no-jar # May be this command is wrong ???
^C
C:\Ruby\FR>jruby -S rawr install --no-jar
^C
JAVA_HOME variable is C:\Program Files\Java\jre7
C:\Ruby\FR>jruby -v
jruby 1.7.3 (1.9.3p385) 2013-02-21 dac429b on Java HotSpot(TM) 64-Bit Server VM 1.7.0_17-b02 [Windows 8-amd64]
Warm Wishes Mak
Dear Mr. Logan !
Thank You for Your answer.
The -j Option does not exist in RAWR's help:
C:\Ruby\FR>rawr -j C:\Ruby\FR\lib\java\jruby-complete-1.7.3.jar install
Unknown command '-j'\
C:\Ruby\FR>rawr install -j C:\Ruby\FR\lib\java\jruby-complete-1.7.3.jar # Does not respond
^C
Usage:
rawr -h/--help
rawr -v/--version
rawr command [options]
Commands:
install [-d dir] [-c class_name]
-d/--directory: Directory to place Java main file in, defaults to 'src'
-c/--class: Name of Java class (with package) to generate, defaults to org.rubyforge.rawr.Main
-f/--file: Name of the Rawr configuration file, defaults to build_configuration.rb
Warm Wishes Mak
Logan Barnett wrote:Please don't push rawr to rubygems.
Looks like you were on an older version of Rawr (1.2) and the current version is 1.6.5. I pushed 1.6.5 to rubygems so you should be able to update Rawr and issue the command again.
Some problems were resolved but rubygems is fundamentally broken. It is a poor gem management tool (for gem owners, at least).
(To James mostly)
I guess it was on a different repository? I seem to recall there being trouble with pushing to rubygems but I thought it got resolved.
After enough headaches with the site I decided that any gem I create or admin would be hosted on a machine I control, so I use gems.neurogami.com.I'm be much happier if rawr wasn't even listed on rubygems at all.
I hope my push is fine. In the future I should be able to help with pushes as well, or do any admining to give all the right contributors access if need be. Sorry if I dropped the ball on that ):
Pull requests work pretty good for contributions so far, since changes over the last year or so have been basically bug fixes.
Thanks,
James
--
You received this message because you are subscribed to the Google Groups "rawr-lib" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rawr-lib+unsubscribe@googlegroups.com.
To post to this group, send email to rawr...@googlegroups.com.
Visit this group at http://groups.google.com/group/rawr-lib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Logan Barnett wrote:There's a Web API that works well with curl:
I looked into removing what's up there but there doesn't seem to be an interface for it. I guess this would have to be a special request?
curl -X DELETE -H 'Authorization:<secret-token>' -d 'gem_name=rawr' -d 'version=1.6.5' https://rubygems.org/api/v1/gems/yank
I cleaned out the old versions.
I just tried to so the same for monkeybars and found (again) that while my names is listed as an a author, I'm not listed as an owner. I recall trying to get this sorted out and eventually giving up.
Anyways, minor stuff in the grand scheme of things. :)
James