≡

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 #2048

Bug #2048: Building Command-T c extension with rake fails

Kind bug
Product Command-T
When Created 1/13/2013, updated 1/16/2013
Status closed
Reporter mityaz
Tags no tags

Description

Hello. I'm trying to build Command-T plugin for VIM on Ubuntu 12.10, but it's fails. My environment:

  • Ubuntu 12.10
  • vim 7.3.547
  • rvm -v: rvm 1.17.6 (stable)
  • ruby -v: ruby 1.8.7 (2012-10-12 patchlevel 371) [i686-linux]

I'm using VIM+vundle, downloaded from https://github.com/wincent/Command-T Than I go to my ~/.vim/bundle/Command-T, bundle install, rake. And I get:

$ rake
(in /home/mitya/.vim/bundle/Command-T)
/home/mitya/.vim/bundle/Command-T/spec/command-t/match_spec.rb:25:in `require': no such file to load -- command-t/ext (LoadError)
	from /home/mitya/.vim/bundle/Command-T/spec/command-t/match_spec.rb:25
	from /home/mitya/.rvm/gems/ruby-1.8.7-p371/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb:386:in `load'
	from /home/mitya/.rvm/gems/ruby-1.8.7-p371/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb:386:in `load_spec_files'
	from /home/mitya/.rvm/gems/ruby-1.8.7-p371/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb:386:in `map'
	from /home/mitya/.rvm/gems/ruby-1.8.7-p371/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb:386:in `load_spec_files'
	from /home/mitya/.rvm/gems/ruby-1.8.7-p371/gems/rspec-core-2.5.1/lib/rspec/core/command_line.rb:18:in `run'
	from /home/mitya/.rvm/gems/ruby-1.8.7-p371/gems/rspec-core-2.5.1/lib/rspec/core/runner.rb:55:in `run_in_process'
	from /home/mitya/.rvm/gems/ruby-1.8.7-p371/gems/rspec-core-2.5.1/lib/rspec/core/runner.rb:46:in `run'
	from /home/mitya/.rvm/gems/ruby-1.8.7-p371/gems/rspec-core-2.5.1/lib/rspec/core/runner.rb:10:in `autorun'
	from /home/mitya/.rvm/gems/ruby-1.8.7-p371/bin/ruby_noexec_wrapper:14
error: last command failed with exit status 1

Comments

  1. Greg Hurrell 1/14/2013

    You shouldn't need to involve Bundler or Rake just to build the extension; those are really for development-time dependencies.

    To remove them from the equation you should be able to build using:

    $ cd [path to command-t/ruby/ext directory]
    $ ruby extconf.rb
    $ make
  2. anonymous 1/14/2013

    Thank you. It did really worked out for me (have to mention, that Vim in Ubuntu 12.10 is built with ruby 1.9, so I've built extension using the same version). But still hope, that my bug report (with rake) will help you somehow.

  3. Greg Hurrell 1/16/2013

    Status changed:

    • From: new
    • To: closed
Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets