Marnen Laibow-Koser wrote in post #972926:
> Sawan T. wrote in post #972924:
>> Hi I have couple of issues with my application. I have an app checked
>> out from a repository on to my local machine. rake commands like rake
>> db:create and rake db:migrate and gem list, gem install are working with
>> the app but not any other commands like rails generate scaffold User
>> username:string, rails server, rails console....
>>
>> following is the error
>>
>> Usage:
>>   rails new APP_PATH [options]
>
> Hmm.  Is the app Rails 3 or Rails 2?  If you don't know, try going to
> the app root directory and typing script/about (at least, this works for
> Rails 2 apps).
>
> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> [email protected]

"Hi Marnen thanks for the reply. I know the application version is 2.3.5 
and it is mentioned in my environment.rb file and even when I tried to 
do as you said"app root directory and typing script/about" it did not do 
anything but gave the same error message like previous. I forgot to tell 
you that I'm working on windows machine.. its weird because applications 
I have created on my local machine using rails new myapp works and all 
the other commands work with myapp.. I can create new controller new 
model or even add a column to the existing migration table etc..."

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to