Anders,
I installed Macvim using Macports and it installed fine.  RVM and
Macvim are indepependent of each other so you may want to install
MacVim first and then RVM.  Now, you can set RVM default to point to
Ruby 1.9.2 and MacVim will not complain.  I have been using this
combination for awhile without any problems.
Bharat


On Jan 5, 3:52 am, Anders Janmyr <[email protected]> wrote:
> Hi again,
>
> I still cannot get it to work, I'm no good with config files.
> I tried to take the simple road and change config.mk directly but I cannot
> get this to work either.
>
> I tried these setting, but it results in the following error,
>
> I'm very grateful for you taking the time to help me out.
> Anders
>
> RUBY            = /Users/andersjanmyr/.rvm/bin/ruby-1.9.2-p136
> RUBY_SRC        = if_ruby.c
> RUBY_OBJ        = objects/if_ruby.o
> RUBY_PRO        = if_ruby.pro
> RUBY_CFLAGS     =
> -I/Users/andersjanmyr/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1
> -I/Users/andersjanmyr/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1/i386-darwin10.5.0
> -DRUBY_VERSION=19
> RUBY_LIBS       = -lruby-static -lpthread -ldl -lobjc -lruby-1.9.1
> -L/Users/andersjanmyr/.rvm/rubies/ruby-1.9.2-p136/lib
>
> include/ruby-1.9.1/i386-darwin10.5.0 -DRUBY_VERSION=19 -o objects/if_ruby.o
> if_ruby.c
> In file included from
> /Users/andersjanmyr/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1/Ruby/ruby.h:1326,
>                  from if_ruby.c:89:
> /Users/andersjanmyr/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1/ruby/missing.h:35:
> error: redefinition of ‘struct timespec’
> /Users/andersjanmyr/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1/ruby/missing.h:42:
> error: redefinition of ‘struct timezone’
> if_ruby.c: In function ‘ruby_buffer_free’:
> if_ruby.c:633: error: ‘buf_T’ has no member named ‘b_ruby_ref’
> if_ruby.c:635: error: ‘buf_T’ has no member named ‘b_ruby_ref’
> if_ruby.c:636: error: ‘buf_T’ has no member named ‘b_ruby_ref’
> if_ruby.c: In function ‘ruby_window_free’:
> if_ruby.c:642: error: ‘win_T’ has no member named ‘w_ruby_ref’
> if_ruby.c:644: error: ‘win_T’ has no member named ‘w_ruby_ref’
> if_ruby.c:645: error: ‘win_T’ has no member named ‘w_ruby_ref’
> if_ruby.c: In function ‘buffer_new’:
> if_ruby.c:878: error: ‘buf_T’ has no member named ‘b_ruby_ref’
> if_ruby.c:880: error: ‘buf_T’ has no member named ‘b_ruby_ref’
> if_ruby.c:885: error: ‘buf_T’ has no member named ‘b_ruby_ref’
> if_ruby.c: In function ‘window_new’:
> if_ruby.c:1094: error: ‘win_T’ has no member named ‘w_ruby_ref’
> if_ruby.c:1096: error: ‘win_T’ has no member named ‘w_ruby_ref’
> if_ruby.c:1101: error: ‘win_T’ has no member named ‘w_ruby_ref’
> make: *** [objects/if_ruby.o] Error 1

-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to