Hello, dudes: When I am trying to create new rails project, the console in 3rdRail always says as follow and fails to create project related files! =========================>rails /media/sdb1/xxiao/program/3rdRail/workspace/wc /usr/bin/ruby1.8: no Ruby script found in input (LoadError) ========================= However, if I run "rails /media/sdb1/xxiao/program/3rdRail/ workspace/wc" in terminal, everything works fine as follow: ========================xxiao@xxiao-desktop:/usr/bin$ rails /media/sdb1/xxiao/program/3rdRail/ workspace/wc exists exists app/controllers exists app/helpers exists app/models exists app/views/layouts create config/environments create components exists db create doc create lib create lib/tasks create log ======================================================= I have set the ruby interpreter path in 3rdRail, any good suggestion?? Thanks in advance! -Xi --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
myst_tt, You might ask this question in the 3rdRail forum instead. You''ll get an answer there. :-) Let me know if you don''t know where to find it. Cody Skidmore -- 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 -~----------~----~----~----~------~----~------~--~---
Did you get the problem solved? ''cause i run into the same problem, too. When run "rake db:migrate" in 3rdrail, it threw an error: D:\ruby\bin \ruby.exe: no Ruby script found in input (LoadError) On Dec 15 2007, 8:35 pm, myst_tt <tdxia...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello, dudes: > When I am trying to create new rails project, the console in > 3rdRail always says as follow and fails to create project related > files! > > ==========================>rails /media/sdb1/xxiao/program/3rdRail/workspace/wc > > /usr/bin/ruby1.8:noRubyscriptfoundininput(LoadError) > =========================> > However, if I run "rails /media/sdb1/xxiao/program/3rdRail/ > workspace/wc" in terminal, everything works fine as follow: > > ========================> xxiao@xxiao-desktop:/usr/bin$ rails /media/sdb1/xxiao/program/3rdRail/ > workspace/wc > exists > exists app/controllers > exists app/helpers > exists app/models > exists app/views/layouts > create config/environments > create components > exists db > create doc > create lib > create lib/tasks > create log > =======================================================> > I have set therubyinterpreter path in 3rdRail, any good > suggestion?? > > Thanks in advance! > -Xi--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
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:43 PM, Issac <Issaria@gmail.com> wrote:> > Did you get the problem solved? 'cause i run into the same problem, > too. > When run "rake db:migrate" in 3rdrail, it threw an error: D:\ruby\bin > \ruby.exe: no Ruby script found in input (LoadError) > > On Dec 15 2007, 8:35 pm, myst_tt <tdxia...@gmail.com> wrote: > > Hello, dudes: > > When I am trying to create new rails project, the console in > > 3rdRail always says as follow and fails to create project related > > files! > > > > ==========================>rails > /media/sdb1/xxiao/program/3rdRail/workspace/wc > > > > /usr/bin/ruby1.8:noRubyscriptfoundininput(LoadError) > > =========================> > > > However, if I run "rails /media/sdb1/xxiao/program/3rdRail/ > > workspace/wc" in terminal, everything works fine as follow: > > > > ========================> > xxiao@xxiao-desktop:/usr/bin$ rails /media/sdb1/xxiao/program/3rdRail/ > > workspace/wc > > exists > > exists app/controllers > > exists app/helpers > > exists app/models > > exists app/views/layouts > > create config/environments > > create components > > exists db > > create doc > > create lib > > create lib/tasks > > create log > > =======================================================> > > > I have set therubyinterpreter path in 3rdRail, any good > > suggestion?? > > > > Thanks in advance! > > -Xi > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---