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:
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.