1/ Install ruby and rails with gem with root access:
    apt-get install ruby rdoc ri libsqlite3-dev
    wget http://rubyforge.org/frs/download.php/35283/rubygems-1.1.1.tgz  
    tar xfz rubygems-1.1.1.tgz
    cd rubygems-1.1.1
    ruby setup.rb
    ln /usr/bin/gem1.8 /usr/bin/gem
    gem install rails sqlite3-ruby

    (source: http://amanzi.blogspot.com/2007/11/quick-ruby-and-rail-on-
ubuntu-710.html)

2/ Install the rails plugin with user access:
    git clone git://git.tpope.net/git/vim-rails.git
    cp vim-rails/autoload vim-rails/doc vim-rails/plugin ~/.vim -R

3/ Create a rails application with user access:
    rails test_crash
    cd test_crash

3.1/ Create a controller for rails 
    ./script/generate controller Test
    
    launch vim to use the rails plugin with the rails app
    vim

With the rails plugin, you have news commands, per example, if you want to go 
to the source code of the 'Test' Controller, you can use the command 
:REcontroller test
But, the rails plugin comes with auto-completion for :REcontroller, :REmodel, 
... with the TAB key, but if you try with this key, there is a crash of vim, 
with a segmentation fault.
The auto-completion is based on the relative path of the rails application

This bug is very blocking :(

I hope you will understand my description

-- 
vim crashed using rails.vim on Hardy
https://bugs.launchpad.net/bugs/219546
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to