Should be simple: The "rails" folder should not be present under your .vim folder. Move the plugin, doc and autoload files individually to each of the subfolders of .vim, so that the tree looks like this:
.vim | --autoload | | | --rails.vim --doc | | | --rails.txt --plugin | --rails.vim Here's my vim config, as a reference: http://github.com/hgimenez/vimfiles/tree/master -H On Apr 30, 4:13 pm, 7stud -- <rails-mailing-l...@andreas-s.net> wrote: > Hi, > > I'm having trouble getting rails.vim working. Unzipping the rails.vim > download on my Desktop produced a rails folder with this structure: > > rails > ---autoload > -----rails.vim > ---doc > -----rails.txt > ---plugin > -----rails.vim > > I moved that directory to ~/.vim > > $ mv /Users/me/Desktop/rails ~/.vim/rails > > $ cd ~/.vim > ~/.vim$ ls > filetype.vim rails syntax > $ cd rails > [au...@cws-computer.local] ~/.vim/rails$ ls > autoload doc my_note.txt plugin > > Then a tutorial I read said if I start macvim and issue the command > > :Rails testapp > > that should create a new app. But I get this error: > > E492 Not an editor command: Rails testapp > > I also tried this cd'ing into the top level of an existing app and > starting macvim: > > /depot$ mvim > > and then in macvim typing: > > :Rcontroller products > > and I get the same error. What am I doing wrong? > -- > Posted viahttp://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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---