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

webpacker emoji character error #633

Open
vonchristian opened this issue Jan 13, 2019 · 1 comment
Open

webpacker emoji character error #633

vonchristian opened this issue Jan 13, 2019 · 1 comment

Comments

@vonchristian
Copy link

vonchristian commented Jan 13, 2019

I am trying to deploy an app with webpacker and this occurs. I think it has to do with webpacker showing emojis on the terminal.

mina deploy -v

Using prawn-table 0.2.2
Using public_activity 1.6.3
Using pundit 2.0.0
Using rack-mini-profiler 1.0.1
Using rack-proxy 0.6.5
Using redis 4.1.0
Using roo 2.7.1
Using ruby-ole 1.2.12.1
Using scss_lint 0.57.1
Using select2-rails 4.0.3
Using simple_calendar 2.3.0
Using simple_form 4.1.0
Using spreadsheet 1.1.8
Using traceroute 0.8.0
Using trix 0.10.1
Using turbolinks-source 5.2.0
Using turbolinks 5.2.0
Using uglifier 4.1.20
Using webpacker 3.5.5
Using whenever 0.10.0
Using will_paginate 3.1.6
Bundle complete! 78 Gemfile dependencies, 135 gems now installed.
Gems in the groups development and test were not installed.
Bundled gems are installed into ./vendor/bundle
-----> DB migrations unchanged; skipping DB migration
-----> Precompiling asset files
$ RAILS_ENV="production" bundle exec rake webpacker:compile
#<Thread:0x00007fc63ba3d2d0@/Users/von-christian/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/mina-1.2.3/lib/mina/runner/pretty.rb:19 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
2: from /Users/von-christian/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/mina-1.2.3/lib/mina/runner/pretty.rb:21:in block (2 levels) in run' 1: from /Users/von-christian/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/mina-1.2.3/lib/mina/helpers/output.rb:6:in print_line'
/Users/von-christian/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/mina-1.2.3/lib/mina/helpers/output.rb:6:in ===': invalid byte sequence in US-ASCII (ArgumentError) #<Thread:0x00007fc63ba3d1e0@/Users/von-christian/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/mina-1.2.3/lib/mina/runner/pretty.rb:25 run> terminated with exception (report_on_exception is true): Traceback (most recent call last): 1: from /Users/von-christian/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/mina-1.2.3/lib/mina/runner/pretty.rb:26:in block (2 levels) in run'
/Users/von-christian/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/mina-1.2.3/lib/mina/runner/pretty.rb:26:in `gets': stream closed in another thread (IOError)
mina aborted!
ArgumentError: invalid byte sequence in US-ASCII

Tasks: TOP => deploy
(See full trace by running task with --trace)

@vonchristian
Copy link
Author

I've added
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
to my ~/.profile

the emojis are now showing.

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

No branches or pull requests

1 participant