≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #1785

Bug #1785: Must have ruby-debug-ide?

Kind bug
Product Command-T
When Created 2011-02-21T18:42:28Z, updated 2011-03-06T19:15:32Z
Status open
Reporter jc00ke
Tags no tags

Description

I just recently upgraded to 1.0.1 and I'm getting this error msg http://img6.imagebanana.com/img/bmk6dm8f/Selection_001.png

I've tried compiling with ruby-1.8.7-p330 & ree 2011.01 but I keep on getting this error when trying to activate Command-T. Is it necessary to install ruby-debug-ide?

Comments

  1. Greg Hurrell 2011-02-24T14:31:48Z

    I haven't seen that error before. You may as well install the gem and see what happens.

  2. jc00ke 2011-03-02T20:40:48Z

    Now I can't even install the new 1.0.1 version using ree.

    [command-t]
    $> rvm use ree
    Using /home/jesse/.rvm/gems/ree-1.8.7-2011.03
    [command-t]
    $> cd ..
    [ruby]
    $> rm -rf command-t/
    [ruby]
    $> vim /tmp/command-t-1.0.1.vba 
    [ruby]
    $> cd command-t/
    [command-t]
    $> ruby extconf.rb 
    checking for ruby.h... yes
    creating Makefile
    [command-t]
    $> make
    gcc  -I. -I/opt/local/include -I/home/jesse/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/x86_64-linux -I/home/jesse/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/x86_64-linux -I. -DHAVE_RUBY_H    -fPIC -g -O2    -c match.c
    match.c: In function ‘recursive_match’:
    match.c:51: error: ‘for’ loop initial declarations are only allowed in C99 mode
    match.c:51: note: use option -std=c99 or -std=gnu99 to compile your code
    match.c:57: error: ‘for’ loop initial declarations are only allowed in C99 mode
    match.c: In function ‘CommandTMatch_initialize’:
    match.c:160: error: ‘for’ loop initial declarations are only allowed in C99 mode
    make: *** [match.o] Error 1
    

    Any ideas?

  3. Greg Hurrell 2011-03-06T12:56:12Z

    Looks like the Vimball didn't expand properly, because those compiler warnings indicate that the depend file wasn't extracted. It's quite possible that other files didn't extract properly either.

    This is an issue I've seen a fair few times with Vimballs. Just extract it again and make sure that all the files are there.

  4. jc00ke 2011-03-06T19:15:32Z

    Well, I extracted it & was able to successfully make it. Then again I ran into the ruby-debug-ide problem. I have Command-T mapped to <Leader>t & maybe ruby-debug-ide was picking that off too, I'm not sure. I uninstalled ruby-debug-ide & now Command-T works.

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets