thoughtbot / cocaine

A small library for doing (command) lines.
https://robots.thoughtbot.com
Other
785 stars 55 forks source link

Use RbConfig instead of obsolete and deprecated Config. #7

Closed deivinsontejeda closed 12 years ago

deivinsontejeda commented 12 years ago

Hi Guys,

While i work with his gem, i got the following error:

/path/gem/cocaine-0.2.0/lib/cocaine/command_line.rb:94: Use RbConfig instead of obsolete and deprecated Config.

This error appears when i executed my test suite with cucumber

This gem is use for paperclip

My current environment is: Ruby 1.9.3 Rails 3.1.3

I solved the issue with the suggestion that appear on console, in others words i change the function Config by RbConfig at line indicated

I hope this help he for better his gems

gabebw commented 12 years ago

This was actually fixed in 06f8ed6da248b5f168d0dd41dbd6c7830d38b907, but we haven't released a new gem with that fix in it yet.

jyurek commented 12 years ago

Just pushed this in 0.2.1.

deivinsontejeda commented 12 years ago

Great!

I will update this gem :)