I thought I had this licked but now I get this error and I don't
really know what it is trying to do. It fails because it is trying to
use the link() function which is no good for windows. Anyway it fails
consistently every time trying to load the db.
The only thing "special" that I needed to do was update the rake gem
to 0.8.7. I was getting a nil error from rake over the PATH env and
updating got me pass this. You can read more about that bug here:
http://jira.codehaus.org/browse/JRUBY-3598
Now I get this 'function unimplemented on this machine error'. any
suggestions
C:/Software/jruby-1.2.0/bin/../bin/jruby.bat -S rake db:schema:load
(in C:/workspace/trisano/trisano/webapp)
no such file to load -- cucumber/rake/task
-- create_table("addresses", {:force=>true})
rake aborted!
link() function is unimplemented on this machine
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [C:/Software/jruby-1.2.0/bin/../bin/
jruby.b...]
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
995:in `sh'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
1010:in `call'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
1010:in `sh'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
1098:in `sh'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
1029:in `ruby'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
1098:in `ruby'
C:/workspace/trisano/trisano/webapp/lib/tasks/dev.rake:58:in
`core_db_rebuild_tasks'
C:/workspace/trisano/trisano/webapp/lib/tasks/dev.rake:64
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
636:in `call'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
636:in `execute'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
631:in `each'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
631:in `execute'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
597:in `invoke_with_call_chain'
C:/Software/jruby-1.2.0/bin/../lib/ruby/1.8/monitor.rb:191:in
`mon_synchronize'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
590:in `invoke_with_call_chain'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
583:in `invoke'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
2051:in `invoke_task'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
2029:in `top_level'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
2029:in `each'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
2029:in `top_level'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
2068:in `standard_exception_handling'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
2023:in `top_level'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
2001:in `run'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
2068:in `standard_exception_handling'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
1998:in `run'
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:
19:in `load'
C:\Software\jruby-1.2.0\bin\..\bin\rake:19