Giter VIP home page Giter VIP logo

Comments (7)

remi avatar remi commented on July 28, 2024

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.

bronzdoc avatar bronzdoc commented on July 28, 2024

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.

remi avatar remi commented on July 28, 2024

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.

bronzdoc avatar bronzdoc commented on July 28, 2024

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.

remi avatar remi commented on July 28, 2024

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.

bronzdoc avatar bronzdoc commented on July 28, 2024

I'm having the same behavior with tmuxinator, definitely not a teamocil issue.
Probably tmux + rvm + zsh combo issue. :(

from teamocil.

remi avatar remi commented on July 28, 2024

Alright, good luck! 😄

from teamocil.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.