From: Nick Sieger Date: 2010-02-06T03:01:32+09:00 Subject: Re: JRuby rake not working! On Fri, Feb 5, 2010 at 11:21 AM, tuti plain wrote: > Hello all, > >  I am trying out Rails using JRuby.  I set up a Rails app using > netbeans, and installed all the necessary gems, including > activerecord-jdbc-adapter, and rake.  However, whenever I try to run a > migration using "rake db:migrate, I get a message saying: > > Error opening script file: C:/jruby/projects/RecetaDB/rake (The system > cannot fi > nd the file specified) > > It is obvious that rake is not in that folder, although the rake file > is, but how can I fix it?  Note that I also use ruby one click instaler > on this same machine.  Could it be an environment variable problem? Could be a number of things, PATH environment variable, bug in JRuby launcher scripts, etc. What about "jruby -S rake"? Maybe you're picking up a different rake than you expected. /Nick