maccman / nestful

Simple Ruby HTTP/REST client with a sane API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

noob dependency question

laboratories opened this issue · comments

I am trying to run nestful under MacRuby (Ruby 1.9.2)

I have successfully installed the gems for
activesupport-3.0.0.rc2
and installed nestful-0.0.3

at runtime ( require 'nestful' ) the system is claiming a dependency on i18n
(even though there seems to be no reference to it)
I get a
"You don't have i18n installed in your application. Please add it to your Gemfile"
after installing i18n I get a
"incompatible character encodings: UTF-8 and ASCII-8BIT (Encoding::CompatibilityError)"

Im not sure if this error is because of nestful or because of activesupport
any clues would be most helpful
thx

Can you link to a a pasted stacktrace?

ahh well there's the problem with being a Noob
I can use a standard way of doing that like

require 'nestful'
begin

code that raises exception

rescue Exception => e
puts e.backtrace
end

but I get the same error and no stacktrace
I guess I would have to talk all your code and and place it into a program?
so that there was no "require" needed?

I'm not sure if I'm barking up the right tree or not

thanks for the help in advance

lab.