Issac
2008-Jan-01 03:49 UTC
3rdrail run rake task error: no Ruby script found in input (LoadError) (Windows)
Hi, dudes I got a question here. When I run "rake db:migrate" in 3rdrail, it throws an error: D:\ruby\bin\ruby.exe: no Ruby script found in input (LoadError). I have set the ruby interpreter paths, And can''t find the solution on Google. Any good ideas? Issac --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Peter Wodka
2008-Jan-02 10:14 UTC
Re: 3rdrail run rake task error: no Ruby script found in inp
Issac wrote:> Hi, dudes > I got a question here. When I run "rake db:migrate" in 3rdrail, it > throws an error: D:\ruby\bin\ruby.exe: no Ruby script found in input > (LoadError). I have set the ruby interpreter paths, And can''t find the > solution on Google. Any good ideas? > > IssacGot the same problem, rails build is v20071130_1710 and I''m using Instant Rails 2.0. This error occured after updating both to the currently newest version. A workaround is calling "rake db:migrate" from the ruby console window from instant rails, i.e. not 3rdRails, so that the environment is set. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Shelby Sanders
2008-Feb-07 22:24 UTC
Re: 3rdrail run rake task error: no Ruby script found in input (LoadError) (Windows)
As far as I can tell, this is caused by the .../bin/rake file not having a ��#! line. So you should be able to add one, and continue as normal. On Dec 31, 2007 7:49 PM, Issac <Issaria@gmail.com> wrote:> > Hi, dudes > I got a question here. When I run "rake db:migrate" in 3rdrail, it > throws an error: D:\ruby\bin\ruby.exe: no Ruby script found in input > (LoadError). I have set the ruby interpreter paths, And can't find the > solution on Google. Any good ideas? > > Issac > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
praxis
2008-Feb-24 13:24 UTC
Re: 3rdrail run rake task error: no Ruby script found in input (LoadError) (Windows)
I get this using 3rdRail too, with this in ../bin/rake: #!c:/Program Files/Ruby/bin/ruby.exe # # This file was generated by RubyGems. # # The application ''rake'' is installed as part of a gem, and # this file is here to facilitate running it. # require ''rubygems'' version = ">= 0" if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then version = $1 ARGV.shift end gem ''rake'', version load ''rake'' Just to be clear, by this I mean: c:\Program Files\Ruby\bin\ruby.exe: no Ruby script found in input (LoadError) when running the migration in 3rdRail. Running the same migration (i.e. rake db:migrate VERSION=001) from the command-line works fine though. On 7 Feb, 14:24, "Shelby Sanders" <asalas...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> As far as I can tell, this is caused by the .../bin/rake file not having a > ��#! line. > > So you should be able to add one, and continue as normal. > > On Dec 31, 2007 7:49 PM, Issac <Issa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Hi, dudes > > I got a question here. When I run "rake db:migrate" in 3rdrail, it > > throws an error: D:\ruby\bin\ruby.exe: no Ruby script found in input > > (LoadError). I have set the ruby interpreter paths, And can''t find the > > solution on Google. Any good ideas? > > > Issac--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---