I am trying to include jquery-rails in my Gemfile however I receive the following error:
ArgumentError: invalid byte sequence in US-ASCII
An error occured while installing jquery-rails (1.0.19), and Bundler cannot continue.
Make sure that `gem install jquery-rails -v '1.0.19'` succeeds before bundling.
gem install jquery-rails -v '1.0.19'
produces an error as well.
Any ideas on how to fix the problem?
I've taken a look at the bug reports for jquery-rails and found this error that's similar to yours. You should try a few of their solutions:
If you are on Linux or OSX run:
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
bundle install
If that works then you need to modify your profile so those values are set every time you run bundler. Let me know if this works for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With