Comments (10)
What is the ruby -v
on the ruby build that was giving you issues? Running rake
with any 1.8.x or 1.9.x build should work. Were there any errors when you ran rake?
from janus.
Running rake did work. It was MacVim that it broke, and it was only broken when I had both .vim/ruby/
and .vim/plugins/
in my file.
The errors didn't come from running a command line app. I tried digging through /Applications/MacVim.app/Contents and looking in .viminfo but I didn't find anything there.
from janus.
Also note that I installed the snapshot build of MacVim. I did not build MacVim myself.
from janus.
I see, this is probably because ruby is used to build the CommandT extension, which must be built with the system ruby that MacVim is compiled against.
We use the following in the Rakefile:
Dir.chdir "ruby/command-t" do
if `rvm > /dev/null 2>&1` && $?.exitstatus == 1
sh "rvm system ruby extconf.rb"
else
sh "/usr/bin/ruby extconf.rb" # assume /usr/bin/ruby is system ruby
end
sh "make clean && make"
end
but it appears this is not doing the right thing on your system.
from janus.
Ah, I see. It's because I have Homebrew ruby installed and /usr/local/bin before /usr/bin in my path, and rvm thinks homebrew ruby is system ruby. It would have done the right thing, I think, if it just used /usr/bin/ruby.
from janus.
Interesting. So perhaps we're better off just using /usr/bin/ruby if it exists instead of trying to execute via rvm.
from janus.
Yeah, I think so. I suggest adding an option for using the ruby in the path, for people who compile their own MacVim, though. In fact, I might compile my own MacVim now that I realize that the mismatch was the issue. MacVim would likely have compiled against my rvm ruby.
So here's what I have:
- before today, built janus with homebrew ruby (/usr/local/bin)
- mismatch: failed w/ MacVim I compiled because MacVim linked with my rvm ruby (~/.rvm/...)
- mismatch: failed w/ MacVim snapshot because MacVim linked with my system ruby (/usr/bin)
- earlier today, built janus with system ruby (/usr/bin) by removing rvm from my path & swapping /usr/bin and /usr/local/bin
- match: succeeded w/ MacVim snapshot because it also used system ruby (/usr/bin)
- if I decide to build my own MacVim, I'll make it build with homebrew (/usr/local/bin) ruby instead of rvm (~/.rvm) ruby
- match: hopefully succeeds in working with janus when I make janus use the homebrew (/usr/local/bin) as well
from janus.
Also, the instructions for using the ruby in the path could be a note for people who customize things, and /usr/bin/ruby could be a sane default, I think. That way the basic instructions could be kept short, yet the next person who tried doing what I did wouldn't get tripped up.
from janus.
Hi! I have found the similar problem. After I install MacVim & janus MacVim shows only menu. The reason: Caught deadly signal SEGV. You can find more details in /var/log/system.log
All you need to make MacVim work is just to update your rvm:
rvm update
That's all.
from janus.
It has been added/fixed in the experimental branch, closing this for now but if you think it can't wait for the experimental to be merged into master then please re-open.
from janus.
Related Issues (20)
- Janus breaks \e in psql HOT 1
- suggest add rust language HOT 1
- Have some warning mechanism during updates that change default behaviour
- For command-t, Ctrlp doesn't map to command-t HOT 2
- javascript snippets are extended into html
- load matchit from vim? HOT 3
- macros broken
- Add TOML File Syntax
- Some fugitive commands fail with vim 8 and current submodule version HOT 2
- .janus folder cannot see python from pyenv HOT 1
- Turn off vim-polyglot support for a specific language
- Slow to open vim on Raspberry Pi HOT 4
- pattern not found bindings HOT 2
- SnipMate not working
- Best way to uninstall Janus HOT 2
- Has this project been abandoned? HOT 6
- NeoVim errors HOT 5
- feat: fix deprecation warning for legacy SnipMate engine
- chore: bump deps
- Error detected while processing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from janus.