Hi,
There are various possibilities that could be causing your problem.
I see you are using RVM. Since you are saying that this particular error
doesn''t occur in any other directory, it leads me to thinking that
perhaps
the project has a .rvmrc file within its root directory and it''s
setting up
rvm for this directory differently as you normally have. So my first
suggestion would be to look for that file and see if that is the case. Also
when in the project directory, do try and do a gem list | grep rails and
ensure that it does confirm that rails is installed.
If that doesn''t help you, perhaps you should try and give us more
details,
perhaps the complete stack trace.
--
Thanks & Regards,
Dhruva Sagar.
On Sat, Dec 11, 2010 at 05:26, Jo Bdsgh
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:
> I just cloned a new Raills 3 project from git. The project is brand
> new, although it does have some gem dependancies. I ran bundle install
> and I got the dependancies in stalled. Bundle check confirmed everything
> is there. But when I just the rails command (rails -v for example) I get
> this:
>
> /Users/joBdsgh/.rvm/rubies/ruby-1.9.2-preview3/bin/ruby: no Ruby script
> found in input (LoadError)
>
> This does not happen in any other directory except for the project
> directory and any of its subdirectories. I created a dummy rails 3
> project and I did not have this problem.
>
> Any idea on what''s causing this error.
>
> --
> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.