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

Must require stringio in newer ruby #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mguthaus
Copy link

Using ruby 2.7, I had to add the require statement or I got an error:

ERROR: /home/X/.klayout/ruby/import_tf.rb:71: uninitialized constant TechfileToKLayout::StringIO
/home/X/.klayout/ruby/import_tf.rb:71:in read_skill_file_as_ruby_expr' /home/X/.klayout/ruby/import_tf.rb:196:in import_techfile'
/home/X/.klayout/macros/import_tf_standalone.rb:35:in <module:TechfileToKLayout>' /home/X/.klayout/macros/import_tf_standalone.rb:24:in

' (class NameError)

@Jerry9099
Copy link

Thanks so much! I was having the same issue

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

Successfully merging this pull request may close these issues.

2 participants