mina-deploy / mina

Blazing fast deployer and server automation tool

Home Page:https://rubygems.org/gems/mina

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webpacker emoji character error

vonchristian opened this issue · comments

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)

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

the emojis are now showing.