Comments (7)
Can you try to write the smallest layout possible that displays this error? There’s a lot going on in the one you pasted so if we want to isolate the error, it would be better to have a minimal layout to reproduce it. Thanks!
from teamocil.
I think this is the smallest layout to reproduce it @remiprev
windows:
- name: test
root: ~/
layout: even-vertical
panes:
- rvm gemset use test
from teamocil.
To me, it looks like there’s a problem with RVM, isn’t it? Can you paste the output of teamocil --debug <layout>
?
from teamocil.
teamocil --debug test
tmux rename-session 'teamocil-session-630381'
tmux new-window -n 'test' -c '/home/bronzdoc'
tmux send-keys -t 'test.0' 'rvm gemset use test'
tmux send-keys -t 'test.0' 'Enter'
tmux select-layout -t 'test' 'even-vertical'
tmux select-pane -t test.0
Yes It is a rvm issue but is triggered by not having GEM_HOME and GEM_PATH set to anything
before running teamocil test
GEM_PATH: /home/bronzdoc/.rvm/gems/ruby-2.3.1:/home/bronzdoc/.rvm/gems/ruby-2.3.1@global
GEM_HOME: /home/bronzdoc/.rvm/gems/ruby-2.3.1
After running teamocil test
those 2 env vars are blank in the panes teamocil generated, so rvm complains
from teamocil.
Teamocil doesn’t interact with environment variables in any way. Where are the GEM_HOME
and GEM_PATH
variables set? Are they set before rvm
is called?
from teamocil.
I'm having the same behavior with tmuxinator, definitely not a teamocil issue.
Probably tmux + rvm + zsh combo issue. :(
from teamocil.
Alright, good luck! 😄
from teamocil.
Related Issues (20)
- Teamocil throwing error "show-window-options: illegal option -- v"
- Environment variable for `root` does not work HOT 1
- Quoting in yaml HOT 1
- Example using session HOT 1
- wish: support for XDG_HOME_STANDARD-- put config files under ~/.config
- Feature Request: Recreating panes on changes in the command
- Ability to set environment variables
- Resizing pane? HOT 3
- Feature request: setup commands
- Feature request: generate config from tmux session
- Load ./.teamocil file if no file is provided HOT 3
- Directory per pane HOT 1
- Teamocil does not respect base-index HOT 3
- Domain name dead HOT 1
- Teamocil does not work with Ruby 2.7.0
- Ability to read variables from a variable file in teamocil.
- Custom config path? HOT 2
- Create tmux session instead of editing existing one HOT 1
- Session being renamed
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 teamocil.