File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,15 @@ Or add to your Gemfile:
3636gem " screenkit"
3737```
3838
39+ Using Docker:
40+
41+ ``` bash
42+ docker run --shm-size=2g -v $PWD :/source --rm -it docker.io/fnando/screenkit
43+ ```
44+
45+ Notice that Chrome requires a lot of memory, so you need ` --shm-size=2g ` (or
46+ more).
47+
3948---
4049
4150## Quick Start
Original file line number Diff line number Diff line change @@ -24,8 +24,7 @@ def new
2424 options [ :episode_dir ] = config . episode_dir . parent . join ( dir )
2525
2626 generator = Generators ::Episode . new
27- generator . destination_root =
28- File . expand_path ( File . dirname ( options . config ) )
27+ generator . destination_root = File . dirname ( options . config )
2928 generator . options = options
3029 generator . invoke_all
3130 end
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class Root < Base
99 desc "new PATH" , "Create a new project"
1010 def new ( path )
1111 generator = Generators ::Project . new
12- generator . destination_root = File . expand_path ( path )
12+ generator . destination_root = path
1313 generator . options = options
1414 generator . invoke_all
1515 end
You can’t perform that action at this time.
0 commit comments