Comments (6)
Can you paste the content of mainapp.yml
here please?
from teamocil.
-> .teamocil cat mainapp.yml
session:
name: "InboxDollars"
windows:
- name: "simple-one-and-three-splits"
splits:- cmd: "echo 'first split'"
- cmd: "echo 'second split'"
width: 50 - cmd: "echo 'third split'"
height: 66
target: bottom-right - cmd: "echo 'fourth split'"
height: 50
target: bottom-right
It was also failing when I use the examples from the readme.
from teamocil.
That's weird. It's like each_with_index
does not return an Enumerable
. Can you tell me which version of Ruby you are running, and also, the output of this line in irb
:
[:a, :b, :c].each_with_index.map { |item, index| "item: #{item}, index: #{index}" }
Thanks!
from teamocil.
Looks like he's on 1.8 from the stack trace. IIRC, 1.8 doesn't return an enumerable for those methods. Just recently ran across it on SO: http://stackoverflow.com/questions/4697557/how-to-map-with-index-in-ruby
from teamocil.
(Thank you @mfrost for the hint)
I installed ruby-1.8.6-p420
on my machine and teamocil does not work indeed. I don’t think 1.8.6 is used enough for me to add extra code in teamocil to support it.
I’m going to close the issue and suggest that you upgrade to 1.8.7 or 1.9.2, you won’t regret it :)
Thanks!
from teamocil.
I know this is closed, but I wanted to add my perspective. I am on redhat enterprise linux 5 and there is no option to go to 1.9 without using third party packages. In a corporate environment, we cannot do this, so I am prevented from using teamocil.
from teamocil.
Related Issues (20)
- Teamocil is wiping out GEM_HOME and GEM_PATH HOT 7
- Teamocil throwing error "show-window-options: illegal option -- v"
- Environment variable for `root` does not work HOT 1
- Quoting in yaml
- 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.