no such file to load -- jruby_fetch

115 views
Skip to first unread message

tim

unread,
Dec 29, 2008, 3:25:41 AM12/29/08
to rawr-lib
I have just created my first jruby application in netbeans. I
installed rawr and am trying to follow along with the instructions. I
did the rawr install thing and then typed rake -T and get the unable
to load file error in the subject.

Where do I get this file? What is supposed to be in it?

Thanks.

Ivan Bolčina

unread,
Dec 29, 2008, 6:59:08 AM12/29/08
to rawr...@googlegroups.com
Same problem here. I just can't make Rawr work. :-(

2008/12/29 tim <timu...@gmail.com>

Logan Barnett

unread,
Dec 29, 2008, 12:14:09 PM12/29/08
to rawr...@googlegroups.com
Create an empty jruby_fetch.rb in the root of your project for the
time being.

Logan Barnett

unread,
Dec 29, 2008, 4:22:16 PM12/29/08
to rawr...@googlegroups.com
Sorry, I forgot to mention this is a known bug in Rawr right now. One
of the features we were working on wound up in the release before all
the commits rolled in.

hui.d...@gmail.com

unread,
Feb 25, 2009, 9:07:15 PM2/25/09
to rawr-lib
I met the same problem. Detail trace as below. Any help?

Z:\dev\myworks\java\jruby\hellomonkey>jruby -S gem list rawr
*** LOCAL GEMS ***
rawr (1.2)

Z:\dev\myworks\java\jruby\hellomonkey>jruby -S rake rawr:jar --trace
(in Z:/dev/myworks/java/jruby/hellomonkey)
rake aborted!
no such file to load -- rawr
Z:/dev/myworks/java/jruby/hellomonkey/rakefile:1:in `require'
Z:/dev/myworks/java/jruby/hellomonkey/rakefile:1
Z:/dev/myworks/java/jruby/hellomonkey/rakefile:2349:in `load'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:
2349:in `raw_load_rakefile'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:
1985:in `load_rakefile'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:
2036:in `standard_exception_handling'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:
1984:in `load_rakefile'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:
1969:in `run'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:
2036:in `standard_exception_handling'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:
1967:in `run'
Z:\dev\java\jruby\jruby-1.1.6\bin\..\bin\rake:32


By the way. when I install rawr, it will download the jruby-
complete.jar from BASE_URL='http://repository.codehaus.org/org/jruby/
jruby-complete'. It will take a long time to wait. Can I just add some
files to the project? I can copy the jruby-complete.jar to Project/lib/
java/jruby-complete.jar by myself, it would be time saving.

Thanks a lot.

.

Logan Barnett

unread,
Feb 25, 2009, 9:31:05 PM2/25/09
to rawr...@googlegroups.com
My reply below:
On Feb 25, 2009, at 7:07 PM, hui.d...@gmail.com wrote:

>
> I met the same problem. Detail trace as below. Any help?
>
> Z:\dev\myworks\java\jruby\hellomonkey>jruby -S gem list rawr
> *** LOCAL GEMS ***
> rawr (1.2)


This is fixed in Rawr 1.3. If upgrading doesn't work for you, just add
an empty jruby_fetch.rb to your project.
I'd certainly like to add some command line switches to Rawr to turn
some of that stuff off (among other things). How would you feel about
submitting a patch? (:

I believe you can ctrl-c to terminate the process once it starts to
download. Then just take your jruby-complete.jar and drop it into lib/
java. You may have to overwrite the incompletely downloaded jruby-
complete.jar.

Let me know how that works for you.

dai hui

unread,
Feb 25, 2009, 11:07:31 PM2/25/09
to rawr...@googlegroups.com

Thanks a lot.

Seems there is no rawr1.3 gem from rubyforge. I'm not sure how to update my local rawr1.2 to 1.3 manually. Would you please point out some directions?

I simply comment out the "Rawr::JRubyRelease.get 'stable', 'lib/java'" in \jruby-1.1.6\lib\ruby\gems\1.8\gems\rawr-1.2\bin\rawr to avoid download jruby-complete.jar

Thank you. You are so warmhearted.


2009/2/26 Logan Barnett <logu...@gmail.com>

Logan Barnett

unread,
Feb 26, 2009, 1:28:16 PM2/26/09
to rawr...@googlegroups.com
On Feb 25, 2009, at 9:07 PM, dai hui wrote:

Thanks a lot.

Seems there is no rawr1.3 gem from rubyforge. I'm not sure how to update my local rawr1.2 to 1.3 manually. Would you please point out some directions?

So it isn't! I could have swore we released it. Maybe something borked it? I'll look into getting a new version out there this week. If you're feeling adventurous, there's always building from source (rake gem, and then gem install -l pkg/rawr-version.gem): http://gitorious.org/projects/rawr


I simply comment out the "Rawr::JRubyRelease.get 'stable', 'lib/java'" in \jruby-1.1.6\lib\ruby\gems\1.8\gems\rawr-1.2\bin\rawr to avoid download jruby-complete.jar


That could work!

dai hui

unread,
Feb 26, 2009, 7:33:26 PM2/26/09
to rawr...@googlegroups.com

Thanks, I will try it this evening.

Since this is my last working day with PHP, I must cleanup some unfinished work first. Wish I can get a new full time soho job with JRuby or ruby. It seems more interesting than PHP.

Thanks again.


2009/2/27 Logan Barnett <logu...@gmail.com>

dai hui

unread,
Feb 27, 2009, 6:35:23 AM2/27/09
to rawr...@googlegroups.com

I cannot create the gem file on my windows 2008 server system. Got the error:

Z:\dev\myworks\java\jruby\rawr\mainline>jruby -S rake gem --trace
(in Z:/dev/myworks/java/jruby/rawr/mainline)
rake aborted!
undefined method `gem' for main:Object
Z:/dev/myworks/java/jruby/rawr/mainline/rakefile:5
Z:/dev/myworks/java/jruby/rawr/mainline/rakefile:2349:in `load'


Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:2349:in `raw_load_rakefile'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1985:in `load_rakefile'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:2036:in `standard_exception_handling'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1984:in `load_rakefile'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1969:in `run'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:2036:in `standard_exception_handling'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1967:in `run'
Z:\dev\java\jruby\jruby-1.1.6\bin\..\bin\rake:32

I'm new to JRuby. Can only wait for your new version of gem now. 

Is there what special test need on windows platform? Maybe I can help a little.

Thanks for your help.

2009/2/27 Logan Barnett <logu...@gmail.com>

Logan Barnett

unread,
Feb 27, 2009, 7:37:42 PM2/27/09
to rawr...@googlegroups.com
Add the following line to the top of the rakefile:
require 'rubygems'

If that works, let me know and I'll add it to the source. I'm not sure why it failed for you (I was using that rake file all day yesterday). What is your current JRuby version? I ask because RubyGems has been part of JRuby for at least a few versions now.
jruby -v

Thanks for the patience (:

dai hui

unread,
Feb 27, 2009, 8:11:29 PM2/27/09
to rawr...@googlegroups.com

Yes, I have already added require 'rubygems' to the top of the rakefile yesterday when I trying to make the gem file. But still got some error msg. I cannot figure it out. I saw the lib/rawr_version.rb, it's 1.3.1 version. May it because of my java is amd64-java? Detailed below:

Z:\dev\myworks\java\jruby\rawr\mainline>jruby -v
jruby 1.1.6 (ruby 1.8.6 patchlevel 114) (2008-12-17 rev 8388) [amd64-java]

Z:\dev\myworks\java\jruby\rawr\mainline>jruby -S gem list

*** LOCAL GEMS ***

actionmailer (2.2.2)
actionpack (2.2.2)
activerecord (2.2.2)
ActiveRecord-JDBC (0.5)
activerecord-jdbc-adapter (0.9)
activerecord-jdbcmysql-adapter (0.9)
activeresource (2.2.2)
activesupport (2.2.2)
BlueCloth (1.0.0)
capistrano (2.5.4)
capistrano-ext (1.2.1)
cgi_multipart_eof_fix (2.5.0)
facets (2.5.0)
gem_plugin (0.2.3)
highline (1.5.0)
hpricot (0.6.164)
httparty (0.3.1)
jdbc-mysql (5.0.4)
jruby-openssl (0.3)
mongrel (1.1.5)
mongrel_jcluster (0.0.1)
monkeybars (1.0.1)
net-scp (1.0.2)
net-sftp (2.0.2)
net-ssh (2.0.10)
net-ssh-gateway (1.0.1)
profligacy (1.0)
rails (2.2.2)
rake (0.8.3)
rawr (1.2)
rdoc (2.4.1)
RedCloth (4.1.1)
rspec (1.1.11)
rubyzip (0.9.1)
sources (0.0.1)
twitter (0.4.2)
warbler (0.9.12)



Z:\dev\myworks\java\jruby\rawr\mainline>jruby -S rake gem --trace
(in Z:/dev/myworks/java/jruby/rawr/mainline)
rake aborted!

wrong # of arguments(11 for 1)
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/builtin/javasupport/core_ext/object.rb:87:in `include_class'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/builtin/javasupport/core_ext/object.rb:87:in `java_import'
tasks/setup.rb:116
tasks/setup.rb:9:in `load'
Z:/dev/myworks/java/jruby/rawr/mainline/rakefile:9


Z:/dev/myworks/java/jruby/rawr/mainline/rakefile:2349:in `load'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:2349:in `raw_load_rakefile'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1985:in `load_rakefile'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:2036:in `standard_exception_handling'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1984:in `load_rakefile'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1969:in `run'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:2036:in `standard_exception_handling'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1967:in `run'
Z:\dev\java\jruby\jruby-1.1.6\bin\..\bin\rake:32

Z:\dev\myworks\java\jruby\rawr\mainline>

Thanks for your patience. I want to do something what I really interested in. I would be very happy if I can help a little.

2009/2/28 Logan Barnett <logu...@gmail.com>

Logan Barnett

unread,
Feb 27, 2009, 9:05:12 PM2/27/09
to rawr...@googlegroups.com
Reply is below
On Feb 27, 2009, at 6:11 PM, dai hui wrote:

Yes, I have already added require 'rubygems' to the top of the rakefile yesterday when I trying to make the gem file. But still got some error msg. I cannot figure it out. I saw the lib/rawr_version.rb, it's 1.3.1 version. May it because of my java is amd64-java? Detailed below:

Z:\dev\myworks\java\jruby\rawr\mainline>jruby -v
jruby 1.1.6 (ruby 1.8.6 patchlevel 114) (2008-12-17 rev 8388) [amd64-java]


This shouldn't be a problem. More below
This line right here is calling 'import'. JRuby's 'import' and Rake's 'import' are colliding (and JRuby is winning. Not what we want). 

I don't know why this affects you but not me. Either way, we can fix this. Rake defines import directly on object, so we can't namespace the module to hit the method directly. Instead, I'll just copy in the code that Rake uses.

Go ahead and do another pull. The fix is on source.

dai hui

unread,
Feb 27, 2009, 9:40:35 PM2/27/09
to rawr...@googlegroups.com

Still failed with the latest file: Detailed below with --trace output:

Seems died on making pkg/rawr-1.3.1.tgz...

.......(lines of output omitted)....

** Invoke test/unit/spec_helpers.rb (not_needed)
** Invoke test/unit/web_bundler_spec.rb (not_needed)
** Execute pkg/rawr-1.3.1.tgz
cd pkg
env
rake aborted!
Command failed with status (127): [env...]
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:971:in `sh'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:984:in `call'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:984:in `sh'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1076:in `sh'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake/packagetask.rb:125:in `define'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/1.8/fileutils.rb:121:in `chdir'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/1.8/fileutils.rb:121:in `cd'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1076:in `chdir'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake/packagetask.rb:124:in `define'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:617:in `call'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:617:in `execute'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:612:in `each'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:612:in `execute'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:578:in `invoke_with_call_chain'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:571:in `invoke_with_call_chain'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:588:in `invoke_prerequisites'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:585:in `each'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:585:in `invoke_prerequisites'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:577:in `invoke_with_call_chain'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:571:in `invoke_with_call_chain'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:588:in `invoke_prerequisites'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:585:in `each'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:585:in `invoke_prerequisites'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:577:in `invoke_with_call_chain'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:571:in `invoke_with_call_chain'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:564:in `invoke'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:2019:in `invoke_task'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1997:in `top_level'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1997:in `each'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1997:in `top_level'


Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:2036:in `standard_exception_handling'

Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1991:in `top_level'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1970:in `run'


Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:2036:in `standard_exception_handling'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1967:in `run'
Z:\dev\java\jruby\jruby-1.1.6\bin\..\bin\rake:32

Z:\dev\myworks\java\jruby\rawr\mainline>


2009/2/28 Logan Barnett <logu...@gmail.com>

Logan Barnett

unread,
Feb 27, 2009, 10:08:19 PM2/27/09
to rawr...@googlegroups.com
On Feb 27, 2009, at 7:40 PM, dai hui wrote:

Still failed with the latest file: Detailed below with --trace output:

Seems died on making pkg/rawr-1.3.1.tgz...

.......(lines of output omitted)....

** Invoke test/unit/spec_helpers.rb (not_needed)
** Invoke test/unit/web_bundler_spec.rb (not_needed)
** Execute pkg/rawr-1.3.1.tgz
cd pkg
env


Your machine doesn't have env, because you are on Windows? Why does it require env?
Ugh. Windows always needs more love from Ruby.
http://www.happycamperstudios.com/downloads/rawr-pre-1.3.1.gem
Download that and install it locally (-l for local). That's a trunk gem.

dai hui

unread,
Feb 27, 2009, 10:39:25 PM2/27/09
to rawr...@googlegroups.com

Still not work on my windows 2008 server....Error msg below: I have already added an empty jruby_fetch.rb to the root of the demo project. 

Z:\dev\myworks\java\jruby\hello>jruby -S rake rawr:jar --trace
(in Z:/dev/myworks/java/jruby/hello)


rake aborted!
no such file to load -- rawr

Z:/dev/myworks/java/jruby/hello/rakefile:1:in `require'
Z:/dev/myworks/java/jruby/hello/rakefile:1
Z:/dev/myworks/java/jruby/hello/rakefile:2349:in `load'


Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:2349:in `raw_load_rakefile'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1985:in `load_rakefile'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:2036:in `standard_exception_handling'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1984:in `load_rakefile'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1969:in `run'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:2036:in `standard_exception_handling'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rake.rb:1967:in `run'
Z:\dev\java\jruby\jruby-1.1.6\bin\..\bin\rake:32

Z:\dev\myworks\java\jruby\hello>

Logan Barnett

unread,
Feb 27, 2009, 10:59:29 PM2/27/09
to rawr...@googlegroups.com
On Feb 27, 2009, at 8:39 PM, dai hui wrote:

Still not work on my windows 2008 server....Error msg below: I have already added an empty jruby_fetch.rb to the root of the demo project. 

Z:\dev\myworks\java\jruby\hello>jruby -S rake rawr:jar --trace
(in Z:/dev/myworks/java/jruby/hello)
rake aborted!
no such file to load -- rawr

Can you verify that the gem is installed?

Also, I named the gem rawr-pre-1.3.1.gem (instead of rawr-1.3.1.gem) to avoid confusion, but you might try renaming the file back to rawr-1.3.1.gem and installing again.

dai hui

unread,
Feb 27, 2009, 11:07:48 PM2/27/09
to rawr...@googlegroups.com

Yes, I unistalled all the rawr(both 1.2 and 1.3.1), then rename that gem to rawr-1.3.1.gem and installed again. But still the same error. See the gem list below.

Z:\dev\myworks\java\jruby\hello>jruby -S gem list -l rawr

*** LOCAL GEMS ***

rawr (1.3.1)



Z:\dev\myworks\java\jruby\hello>jruby -S rake rawr:jar

(in Z:/dev/myworks/java/jruby/hello)
rake aborted!
no such file to load -- rawr

Z:/dev/myworks/java/jruby/hello/rakefile:1:in `require'(See full trace by running task with --trace)

Logan Barnett

unread,
Feb 27, 2009, 11:11:24 PM2/27/09
to rawr...@googlegroups.com
Try adding require 'rubygems' to the beginning of your project's Rakefile.

dai hui

unread,
Feb 28, 2009, 2:30:07 AM2/28/09
to rawr...@googlegroups.com

Yes, it's begin to work now by adding require 'rubygems' to the beginning of my project's Rakefile. But still not successfully. Detailed below. Seems died on ** Execute rawr:compile_ruby_classes. Thanks for your patient directions.

I think you can push require 'rubygems' on top of require 'rawr', isn't it?

Z:\dev\myworks\java\jruby\hello>jruby -S rake rawr:jar --trace

(in Z:/dev/myworks/java/jruby/hello)
** Invoke rawr:jar (first_time)
** Invoke rawr:compile (first_time)
** Invoke rawr:compile_java_classes (first_time)
** Invoke rawr:prepare (first_time)
** Invoke rawr:load_configuration (first_time)
** Execute rawr:load_configuration
** Execute rawr:prepare
** Execute rawr:compile_java_classes
** Invoke rawr:compile_ruby_classes (first_time)
** Invoke rawr:prepare
** Execute rawr:compile_ruby_classes
rake aborted!
no such file to load -- command
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
Z:/dev/java/jruby/jruby-1.1.6/bin/../lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
Z:/dev/java/jruby/jruby-1.1.6/lib/ruby/gems/1.8/gems/rawr-1.3.1/lib/rawr.rb:78
Z:\dev\myworks\java\jruby\hello>


Logan Barnett

unread,
Feb 28, 2009, 10:17:18 AM2/28/09
to rawr...@googlegroups.com
I must have fat-fingered some stuff with git, here's the new gem (I tested it this time!)

James Britt

unread,
Feb 28, 2009, 1:51:31 PM2/28/09
to rawr...@googlegroups.com
Logan Barnett wrote:
> I must have fat-fingered some stuff with git, here's the new gem (I
> tested it this time!)
> http://www.happycamperstudios.com/downloads/rawr-1.3.1.gem

Does git now have the rb file compilation changes?

Still seems to hit one file at a time after rawr:clean


--
James Britt

www.jamesbritt.com - Playing with Better Toys
www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff

Logan Barnett

unread,
Feb 28, 2009, 2:36:12 PM2/28/09
to rawr...@googlegroups.com
I pushed this morning. When did you pull?

James Britt

unread,
Feb 28, 2009, 5:37:37 PM2/28/09
to rawr...@googlegroups.com
Logan Barnett wrote:
> I pushed this morning. When did you pull?

Late-ish morning.

I just pulled again and got "already up to date"

dai hui

unread,
Feb 28, 2009, 9:09:27 PM2/28/09
to rawr...@googlegroups.com

Great. This time it really worked. But your gem file seems lost lib/command.rb. I just add it to the gems lib. Then it works well now.

Thanks.

By the way, when I git pull. I saw there is a lib/compiler.rb file in the output of the git pull. But I cannot find this file in lib/. What's the reason I cannot see it?

Fast forward
 lib/command.rb | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 lib/compiler.rb | 5 ----
 2 files changed, 68 insertions(+), 5 deletions(-)

Thanks again.

Logan Barnett

unread,
Feb 28, 2009, 9:53:08 PM2/28/09
to rawr...@googlegroups.com
On Feb 28, 2009, at 7:09 PM, dai hui wrote:

Great. This time it really worked. But your gem file seems lost lib/command.rb. I just add it to the gems lib. Then it works well now.

Looks like I left it out of the manifest... I really wish there was a better process for putting together gems.



Thanks.

By the way, when I git pull. I saw there is a lib/compiler.rb file in the output of the git pull. But I cannot find this file in lib/. What's the reason I cannot see it?

Fast forward
 lib/command.rb | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 lib/compiler.rb | 5 ----
 2 files changed, 68 insertions(+), 5 deletions(-)


That was the other C-file (starting with C) that I confused when I was doing stuff with the repo, and accidentally mixed it up with command.rb. Command.rb was deleted when I really meant to delete compiler.rb, which I had was kicking around for structuring our build code.

Logan Barnett

unread,
Feb 28, 2009, 10:10:55 PM2/28/09
to rawr...@googlegroups.com

On Feb 28, 2009, at 3:37 PM, James Britt wrote:

>
> Logan Barnett wrote:
>> I pushed this morning. When did you pull?
>
> Late-ish morning.
>
> I just pulled again and got "already up to date"

And it's still taking a while to build?
It could be that command.rb wasn't updated, which would make things
still work, but work slowly (as before). I've updated the manifest and
you should be able to pull a good version now.

JotBot does a clean build in seconds.

James Britt

unread,
Mar 1, 2009, 1:06:24 AM3/1/09
to rawr...@googlegroups.com
Logan Barnett wrote:
>
> On Feb 28, 2009, at 3:37 PM, James Britt wrote:
>
>> Logan Barnett wrote:
>>> I pushed this morning. When did you pull?
>> Late-ish morning.
>>
>> I just pulled again and got "already up to date"
>
> And it's still taking a while to build?

It was. I just did a git pull, and a reinstall of the gem and it's much
faster now. Less than a minute.

Thanks.

Reply all
Reply to author
Forward
0 new messages