Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting EDITOR environment variable? #6

Open
GoogleCodeExporter opened this issue Sep 18, 2015 · 1 comment
Open

Setting EDITOR environment variable? #6

GoogleCodeExporter opened this issue Sep 18, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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 `<top (required)>'
        from C:/Ruby192/bin/pdfsh:19:in `load'
        from C:/Ruby192/bin/pdfsh:19:in `<main>'

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 [email protected] on 26 Oct 2011 at 12:30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant