anicholson / anicholson/origami-pdf

Setting EDITOR environment variable?

未关闭
#6 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
auto-migrated Priority-Medium Type-Defect
主要语言
Ruby
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

```
What steps will reproduce the problem?
1. Load .pdf file: pdf = PDF.read 'sample.pdf'
2. Try to edit: pdf.pages[2].edit
3. Error occured:
>>> pdf.pages[2].edit
NoMethodError: undefined method `edit' for nil:NilClass
from (irb):2
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/origami-1.2.3/bin/pdfsh:12:in `'
from C:/Ruby192/bin/pdfsh:19:in `load'
from C:/Ruby192/bin/pdfsh:19:in `'

What is the expected output? What do you see instead?
Possibility to edit page raw contents, but error occured instead.

What version of the product are you using? On what operating system?
Ruby 1.9.2-p290, Origami 1.2.3, Windows 7 Enterprise x64

Please provide any additional information below.
In GettingStarted guide said that "the EDITOR environment variable may need to
be set up", but I don't know how to do that. I'm new to Ruby...
I tried to read all ReadMe-like files in ORIGAMI folder, but there is no
information about setting EDITOR environment variable. Internet searh also
doesn't help, Origami's PDF "origami-cheatsheet-1.0.0-beta2.pdf" too... I
assuming that this feature is un-documented. :(
Can I ask for help here, please?

Thanks in advance.

Kind regards,
Stole
```

Original issue reported on code.google.com by `condor...@gmail.com` on 26 Oct 2011 at 12:30

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。