Wednesday, December 26, 2012

[Rails] Encoding issues while doing bundle install

Hey Guys,

I was working on my web app while this bug (https://github.com/rails/rails/issues/4259) was giving me hard time. So I decided to try fixing it myself. I cloned rails from github; while doing bundle install I was facing some unicode encoding issues, stack trace: https://gist.github.com/raw/4384230/9d174ae0aa3f4f32302f7c9af9d08d5dd44ba0a2/gistfile1.sh

I did a quick google search and ended up with this post: http://stackoverflow.com/questions/7095845/when-run-bundle-get-invalid-byte-sequence-in-us-ascii on stack overflow

As it fixed issue with `bundle install` at my local dev environment, it made me wonder why is it not already done. So, I quickly created a branch and pushed it to my forked rails repository.

diff: https://github.com/idlecool/rails/compare/bundler_encoding

This seems to be very trivial issue, but not fixed. I was going to make a pull request but decided to post it here instead for more clarity. Should I go ahead and make a pull request or is there something wrong with my local ruby/rvm installation.

Thanks,
Shiv.
Developer, HackerRank.com

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/LkBlrfhL-pUJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate