Open noteflakes opened 9 years ago
When requiring readline in the packaged app, the following warning is displayed when running it after packaging:
No entry for terminal type "xterm-256color"; using dumb terminal settings.
To reproduce change the hello.rb file in tutorial 2 as follows:
hello.rb
#!/usr/bin/env ruby require 'faker' require 'readline' puts "hello #{Faker::Name.name}"
A workaround is to specify -rreadline when invoking ruby in the wrapper script:
-rreadline
# Run the actual app using the bundled Ruby interpreter, with Bundler activated. exec "$SELFDIR/lib/ruby/bin/ruby" -rbundler/setup -rreadline "$SELFDIR/lib/app/hello.rb"
Which OS were you running the demo app on?
OSX (10.11)
When requiring readline in the packaged app, the following warning is displayed when running it after packaging:
To reproduce change the
hello.rb
file in tutorial 2 as follows:A workaround is to specify
-rreadline
when invoking ruby in the wrapper script: