-
Notifications
You must be signed in to change notification settings - Fork 8
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
Encoding Issue #5
Comments
Drats. I haven't tested Bdoc on windows. I'll try and get to it soon, or if you want to dive down, maybe you can patch it for me :-) Bdoc's code is super simple. |
Similar problem here on OS X: |
@polarblau what ver of ruby are you on? also... what ver of erb? |
@polarblau... scratch the erb ver... forgot that's part of the stdlib |
Yep, got me confused there for a sec ;) — Ruby is 1.9.2p136 . |
Updated and pushed v0.3.3. Thanks guys! |
Closing now, but please let me know if you still see this issue. |
Bad news: C:/Dev/Ruby192/lib/ruby/gems/1.9.1/gems/bdoc-0.3.3/lib/bdoc.rb:10:in You need to change VERSION to RUBY_VERSION on line 10. On Mon, Mar 14, 2011 at 6:08 PM, manalang <
|
My bad... I should have tested on win before I pushed it. I did, however, On Mon, Mar 14, 2011 at 3:50 PM, ajpalkovic <
|
Yeah, it still didn't work. I added this line after like 57: Also there is a bug in the program. It says that I do not have the On Mon, Mar 14, 2011 at 6:52 PM, manalang <
|
would you mind sending me a list of the gems you have installed? one of your gems has encoding that bdoc is having a hard time converting. |
Problem seems to persist after update to 0.3.5.
|
@polarblau, I just installed all of the gems you specified above (with rdocs) on 1.9.2-p180 (osx) and could not repro. Are you still getting: (erb):167:in If so, I wonder if it's 1.9.1 related. |
Yes, I'm still getting the error when trying to run |
I get this exception immediately after running 'bdoc' on windows:
I have the latest version of the ruby 1.9.2 windows installer.
(erb):167:in
'concat': incompatible character encodings: IBM437 and UTF-8 (Encoding::CompatibilityError) from (erb):167:in
generate_index'from C:/Dev/Ruby192/lib/ruby/1.9.1/erb.rb:753:in
eval' from C:/Dev/Ruby192/lib/ruby/1.9.1/erb.rb:753:in
result'from C:/Dev/Ruby192/lib/ruby/gems/1.9.1/gems/bdoc-0.3.2/lib/bdoc.rb:50:in
generate_index' from C:/Dev/Ruby192/lib/ruby/gems/1.9.1/gems/bdoc-0.3.2/lib/bdoc.rb:56:in
open'from C:/Dev/Ruby192/lib/ruby/gems/1.9.1/gems/bdoc-0.3.2/bin/bdoc:4:in
<top (required)>' from C:/Dev/Ruby192/bin/bdoc:19:in
load'from C:/Dev/Ruby192/bin/bdoc:19:in `
The text was updated successfully, but these errors were encountered: