NoMethodError: undefined method `force_encoding' for "Conten

Hi everyone!

Im trying to install mechanizer from
http://github.com/tenderlove/mechanize.
I`ve clone the project into /tmp folder. When I do rake inside the
folder /tmp/mechanizer it gives me this error:

mac159180:mechanize renatosis$ rake
(in /private/tmp/mechanize)
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -w
-Ilib:bin:test:. -e 'require "rubygems"; require "test/unit"; require
"test/chain/test_argument_validator.rb"; require
"test/chain/test_auth_headers.rb"; require
"test/chain/test_custom_headers.rb"; require
"test/chain/test_header_resolver.rb"; require
"test/chain/test_parameter_resolver.rb"; require
"test/chain/test_request_resolver.rb"; require
"test/chain/test_response_reader.rb"; require
"test/test_authenticate.rb"; require "test/test_bad_links.rb"; require
"test/test_blank_form.rb"; require "test/test_checkboxes.rb"; require
"test/test_content_type.rb"; require "test/test_cookie_class.rb";
require "test/test_cookie_jar.rb"; require "test/test_cookies.rb";
require "test/test_encoded_links.rb"; require "test/test_errors.rb";
require "test/test_field_precedence.rb"; require
"test/test_follow_meta.rb"; require "test/test_form_action.rb"; require
"test/test_form_as_hash.rb"; require "test/test_form_button.rb"; require
"test/test_form_no_inputname.rb"; require "test/test_forms.rb"; require
"test/test_frames.rb"; require "test/test_get_headers.rb"; require
"test/test_gzipping.rb"; require "test/test_hash_api.rb"; require
"test/test_headers.rb"; require "test/test_history.rb"; require
"test/test_history_added.rb"; require "test/test_html_unscape_forms.rb";
require "test/test_if_modified_since.rb"; require "test/test_links.rb";
require "test/test_mech.rb"; require "test/test_mech_proxy.rb"; require
"test/test_mechanize_file.rb"; require "test/test_meta.rb"; require
"test/test_multi_select.rb"; require "test/test_no_attributes.rb";
require "test/test_option.rb"; require "test/test_page.rb"; require
"test/test_pluggable_parser.rb"; require "test/test_post_form.rb";
require "test/test_pretty_print.rb"; require "test/test_radiobutton.rb";
require "test/test_redirect_limit_reached.rb"; require
"test/test_redirect_verb_handling.rb"; require "test/test_referer.rb";
require "test/test_relative_links.rb"; require "test/test_request.rb";
require "test/test_response_code.rb"; require "test/test_save_file.rb";
require "test/test_scheme.rb"; require "test/test_select.rb"; require
"test/test_select_all.rb"; require "test/test_select_none.rb"; require
"test/test_select_noopts.rb"; require "test/test_set_fields.rb"; require
"test/test_ssl_server.rb"; require "test/test_subclass.rb"; require
"test/test_textarea.rb"; require "test/test_upload.rb"; require
"test/test_util.rb"; require "test/test_verbs.rb"' --
Loaded suite -e
Started
...............................................................E...........................................................................................................................................................................................................................................EEEE.EE...
Finished in 1.068686 seconds.

  1) Error:
test_post_multipart(FormsMechTest):
NoMethodError: undefined method `force_encoding' for
"Content-Disposition: form-data; name=\"first_name\"\r\n\r\n\r\n":String
    ./lib/mechanize/form.rb:229:in `request_data'
    ./lib/mechanize/form.rb:229:in `collect'
    ./lib/mechanize/form.rb:229:in `request_data'
    ./lib/mechanize.rb:483:in `post_form'
    ./lib/mechanize.rb:387:in `submit'
    ./test/test_forms.rb:187:in `test_post_multipart'

  2) Error:
test_form_enctype(UploadMechTest):
NoMethodError: undefined method `force_encoding' for
"Content-Disposition: form-data; name=\"name\"\r\n\r\n\r\n":String
    ./lib/mechanize/form.rb:229:in `request_data'
    ./lib/mechanize/form.rb:229:in `collect'
    ./lib/mechanize/form.rb:229:in `request_data'
    ./lib/mechanize.rb:483:in `post_form'
    ./lib/mechanize.rb:387:in `submit'
    ./test/test_upload.rb:29:in `test_form_enctype'

  3) Error:
test_form_io_obj(UploadMechTest):
NoMethodError: undefined method `force_encoding' for
"Content-Disposition: form-data; name=\"name\"\r\n\r\n\r\n":String
    ./lib/mechanize/form.rb:229:in `request_data'
    ./lib/mechanize/form.rb:229:in `collect'
    ./lib/mechanize/form.rb:229:in `request_data'
    ./lib/mechanize.rb:483:in `post_form'
    ./lib/mechanize.rb:387:in `submit'
    ./test/test_upload.rb:83:in `test_form_io_obj'

  4) Error:
test_form_multipart(UploadMechTest):
NoMethodError: undefined method `force_encoding' for
"Content-Disposition: form-data; name=\"name\"\r\n\r\n\r\n":String
    ./lib/mechanize/form.rb:229:in `request_data'
    ./lib/mechanize/form.rb:229:in `collect'
    ./lib/mechanize/form.rb:229:in `request_data'
    ./lib/mechanize.rb:483:in `post_form'
    ./lib/mechanize.rb:387:in `submit'
    ./test/test_upload.rb:52:in `test_form_multipart'

  5) Error:
test_form_read_file(UploadMechTest):
NoMethodError: undefined method `force_encoding' for
"Content-Disposition: form-data; name=\"name\"\r\n\r\n\r\n":String
    ./lib/mechanize/form.rb:229:in `request_data'
    ./lib/mechanize/form.rb:229:in `collect'
    ./lib/mechanize/form.rb:229:in `request_data'
    ./lib/mechanize.rb:483:in `post_form'
    ./lib/mechanize.rb:387:in `submit'
    ./test/test_upload.rb:66:in `test_form_read_file'

  6) Error:
test_submit_no_file(UploadMechTest):
NoMethodError: undefined method `force_encoding' for
"Content-Disposition: form-data; name=\"name\"\r\n\r\nAaron\r\n":String
    ./lib/mechanize/form.rb:229:in `request_data'
    ./lib/mechanize/form.rb:229:in `collect'
    ./lib/mechanize/form.rb:229:in `request_data'
    ./lib/mechanize.rb:483:in `post_form'
    ./lib/mechanize.rb:387:in `submit'
    ./test/test_upload.rb:96:in `test_submit_no_file'

  7) Error:
test_upload_with_post_param(UploadMechTest):
NoMethodError: undefined method `force_encoding' for
#<String:0x102401188>
    ./lib/mechanize/form.rb:229:in `request_data'
    ./lib/mechanize/form.rb:229:in `collect'
    ./lib/mechanize/form.rb:229:in `request_data'
    ./lib/mechanize.rb:483:in `post_form'
    ./lib/mechanize.rb:374:in `post'
    ./test/test_upload.rb:10:in `test_upload_with_post_param'

309 tests, 1510 assertions, 0 failures, 7 errors
rake aborted!
Command failed with status (1):
[/System/Library/Frameworks/Ruby.framework/...]

(See full trace by running task with --trace)

Can you help me?
Thanks in advance.

Renato

String#force_encoding (http://rubydoc.info/docs/ruby-core/1.9.2/String#force_encoding-instance_method) is a Ruby 1.9 method, and you’re using Ruby 1.8. It looks like the version you’re trying to install is written only for Ruby 1.9. You probably need to find an older version.

Adam

Adam wrote:

Renato Isidio wrote:

Adam wrote:

-Ilib:bin:test:. -e 'require "rubygems"; require "test/unit"; require
require "test/test_cookie_jar.rb"; require "test/test_cookies.rb";
require "test/test_mech.rb"; require "test/test_mech_proxy.rb"; require
"test/test_select_all.rb"; require "test/test_select_none.rb"; require
1) Error:
2) Error:
3) Error:
4) Error:
5) Error:
6) Error:
7) Error:
309 tests, 1510 assertions, 0 failures, 7 errors
Thanks in advance.

Renato

String#force_encoding (
http://rubydoc.info/docs/ruby-core/1.9.2/String#force_encoding-instance_method)
is a Ruby 1.9 method, and you're using Ruby 1.8. It looks like the
version
you're trying to install is written only for Ruby 1.9. You probably need
to
find an older version.

Adam

Adam!

thank you very much!
I`ve done that and it gives me now antoher error, but its more clearly
now!

best regards!

Renato

Adam,
we`ve run rake and its ok right now with no errors anymore, but when I
try to do a install_gem it gives me another error:

fcorrea@fcorrea-work:~/Desktop/xykoRuby/mechanize$ rake install_gem
--trace
(in /opt/Desktop/xykoRuby/mechanize)
** Invoke install_gem (first_time)
** Invoke clean (first_time)
** Invoke clobber_rcov (first_time)
** Execute clobber_rcov
** Invoke clobber_docs (first_time)
** Execute clobber_docs
rm -r doc
** Invoke clobber_package (first_time)
** Execute clobber_package
rm -r pkg
** Execute clean
** Invoke package (first_time)
** Invoke pkg/mechanize-1.0.0.tgz (first_time)
** Invoke pkg/mechanize-1.0.0 (first_time)
** Invoke CHANGELOG.rdoc (first_time, not_needed)
** Invoke EXAMPLES.rdoc (first_time, not_needed)
** Invoke FAQ.rdoc (first_time, not_needed)
** Invoke GUIDE.rdoc (first_time, not_needed)
** Invoke LICENSE.rdoc (first_time, not_needed)
** Invoke Manifest.txt (first_time, not_needed)
** Invoke README.rdoc (first_time, not_needed)
** Invoke Rakefile (first_time, not_needed)
** Invoke examples/flickr_upload.rb (first_time, not_needed)
** Invoke examples/mech-dump.rb (first_time, not_needed)
** Invoke examples/proxy_req.rb (first_time, not_needed)
** Invoke examples/rubyforge.rb (first_time, not_needed)
** Invoke examples/spider.rb (first_time, not_needed)
** Invoke lib/mechanize.rb (first_time, not_needed)
** Invoke lib/mechanize/chain.rb (first_time, not_needed)
** Invoke lib/mechanize/chain/auth_headers.rb (first_time, not_needed)
** Invoke lib/mechanize/chain/body_decoding_handler.rb (first_time,
not_needed)
** Invoke lib/mechanize/chain/connection_resolver.rb (first_time,
not_needed)
** Invoke lib/mechanize/chain/custom_headers.rb (first_time, not_needed)
** Invoke lib/mechanize/chain/handler.rb (first_time, not_needed)
** Invoke lib/mechanize/chain/header_resolver.rb (first_time,
not_needed)
** Invoke lib/mechanize/chain/parameter_resolver.rb (first_time,
not_needed)
** Invoke lib/mechanize/chain/post_connect_hook.rb (first_time,
not_needed)
** Invoke lib/mechanize/chain/pre_connect_hook.rb (first_time,
not_needed)
** Invoke lib/mechanize/chain/request_resolver.rb (first_time,
not_needed)
** Invoke lib/mechanize/chain/response_body_parser.rb (first_time,
not_needed)
** Invoke lib/mechanize/chain/response_header_handler.rb (first_time,
not_needed)
** Invoke lib/mechanize/chain/response_reader.rb (first_time,
not_needed)
** Invoke lib/mechanize/chain/ssl_resolver.rb (first_time, not_needed)
** Invoke lib/mechanize/chain/uri_resolver.rb (first_time, not_needed)
** Invoke lib/mechanize/content_type_error.rb (first_time, not_needed)
** Invoke lib/mechanize/cookie.rb (first_time, not_needed)
** Invoke lib/mechanize/cookie_jar.rb (first_time, not_needed)
** Invoke lib/mechanize/file.rb (first_time, not_needed)
** Invoke lib/mechanize/file_response.rb (first_time, not_needed)
** Invoke lib/mechanize/file_saver.rb (first_time, not_needed)
** Invoke lib/mechanize/form.rb (first_time, not_needed)
** Invoke lib/mechanize/form/button.rb (first_time, not_needed)
** Invoke lib/mechanize/form/check_box.rb (first_time, not_needed)
** Invoke lib/mechanize/form/field.rb (first_time, not_needed)
** Invoke lib/mechanize/form/file_upload.rb (first_time, not_needed)
** Invoke lib/mechanize/form/image_button.rb (first_time, not_needed)
** Invoke lib/mechanize/form/multi_select_list.rb (first_time,
not_needed)
** Invoke lib/mechanize/form/option.rb (first_time, not_needed)
** Invoke lib/mechanize/form/radio_button.rb (first_time, not_needed)
** Invoke lib/mechanize/form/select_list.rb (first_time, not_needed)
** Invoke lib/mechanize/headers.rb (first_time, not_needed)
** Invoke lib/mechanize/history.rb (first_time, not_needed)
** Invoke lib/mechanize/inspect.rb (first_time, not_needed)
** Invoke lib/mechanize/monkey_patch.rb (first_time, not_needed)
** Invoke lib/mechanize/page.rb (first_time, not_needed)
** Invoke lib/mechanize/page/base.rb (first_time, not_needed)
** Invoke lib/mechanize/page/frame.rb (first_time, not_needed)
** Invoke lib/mechanize/page/image.rb (first_time, not_needed)
** Invoke lib/mechanize/page/label.rb (first_time, not_needed)
** Invoke lib/mechanize/page/link.rb (first_time, not_needed)
** Invoke lib/mechanize/page/meta.rb (first_time, not_needed)
** Invoke lib/mechanize/pluggable_parsers.rb (first_time, not_needed)
** Invoke lib/mechanize/redirect_limit_reached_error.rb (first_time,
not_needed)
** Invoke lib/mechanize/redirect_not_get_or_head_error.rb (first_time,
not_needed)
** Invoke lib/mechanize/response_code_error.rb (first_time, not_needed)
** Invoke lib/mechanize/unsupported_scheme_error.rb (first_time,
not_needed)
** Invoke lib/mechanize/util.rb (first_time, not_needed)
** Invoke test/chain/test_argument_validator.rb (first_time, not_needed)
** Invoke test/chain/test_auth_headers.rb (first_time, not_needed)
** Invoke test/chain/test_custom_headers.rb (first_time, not_needed)
** Invoke test/chain/test_header_resolver.rb (first_time, not_needed)
** Invoke test/chain/test_parameter_resolver.rb (first_time, not_needed)
** Invoke test/chain/test_request_resolver.rb (first_time, not_needed)
** Invoke test/chain/test_response_reader.rb (first_time, not_needed)
** Invoke test/data/htpasswd (first_time, not_needed)
** Invoke test/data/server.crt (first_time, not_needed)
** Invoke test/data/server.csr (first_time, not_needed)
** Invoke test/data/server.key (first_time, not_needed)
** Invoke test/data/server.pem (first_time, not_needed)
** Invoke test/helper.rb (first_time, not_needed)
** Invoke test/htdocs/alt_text.html (first_time, not_needed)
** Invoke test/htdocs/bad_form_test.html (first_time, not_needed)
** Invoke test/htdocs/button.jpg (first_time, not_needed)
** Invoke test/htdocs/empty_form.html (first_time, not_needed)
** Invoke test/htdocs/file_upload.html (first_time, not_needed)
** Invoke test/htdocs/find_link.html (first_time, not_needed)
** Invoke test/htdocs/form_multi_select.html (first_time, not_needed)
** Invoke test/htdocs/form_multival.html (first_time, not_needed)
** Invoke test/htdocs/form_no_action.html (first_time, not_needed)
** Invoke test/htdocs/form_no_input_name.html (first_time, not_needed)
** Invoke test/htdocs/form_select.html (first_time, not_needed)
** Invoke test/htdocs/form_select_all.html (first_time, not_needed)
** Invoke test/htdocs/form_select_none.html (first_time, not_needed)
** Invoke test/htdocs/form_select_noopts.html (first_time, not_needed)
** Invoke test/htdocs/form_set_fields.html (first_time, not_needed)
** Invoke test/htdocs/form_test.html (first_time, not_needed)
** Invoke test/htdocs/frame_test.html (first_time, not_needed)
** Invoke test/htdocs/google.html (first_time, not_needed)
** Invoke test/htdocs/iframe_test.html (first_time, not_needed)
** Invoke test/htdocs/index.html (first_time, not_needed)
** Invoke test/htdocs/link with space.html (first_time, not_needed)
** Invoke test/htdocs/meta_cookie.html (first_time, not_needed)
** Invoke test/htdocs/no_title_test.html (first_time, not_needed)
** Invoke test/htdocs/relative/tc_relative_links.html (first_time,
not_needed)
** Invoke test/htdocs/tc_bad_charset.html (first_time, not_needed)
** Invoke test/htdocs/tc_bad_links.html (first_time, not_needed)
** Invoke test/htdocs/tc_base_link.html (first_time, not_needed)
** Invoke test/htdocs/tc_blank_form.html (first_time, not_needed)
** Invoke test/htdocs/tc_charset.html (first_time, not_needed)
** Invoke test/htdocs/tc_checkboxes.html (first_time, not_needed)
** Invoke test/htdocs/tc_encoded_links.html (first_time, not_needed)
** Invoke test/htdocs/tc_field_precedence.html (first_time, not_needed)
** Invoke test/htdocs/tc_follow_meta.html (first_time, not_needed)
** Invoke test/htdocs/tc_form_action.html (first_time, not_needed)
** Invoke test/htdocs/tc_links.html (first_time, not_needed)
** Invoke test/htdocs/tc_meta_in_body.html (first_time, not_needed)
** Invoke test/htdocs/tc_no_attributes.html (first_time, not_needed)
** Invoke test/htdocs/tc_pretty_print.html (first_time, not_needed)
** Invoke test/htdocs/tc_radiobuttons.html (first_time, not_needed)
** Invoke test/htdocs/tc_referer.html (first_time, not_needed)
** Invoke test/htdocs/tc_relative_links.html (first_time, not_needed)
** Invoke test/htdocs/tc_textarea.html (first_time, not_needed)
** Invoke test/htdocs/test_bad_encoding.html (first_time, not_needed)
** Invoke test/htdocs/unusual______.html (first_time, not_needed)
** Invoke test/servlets.rb (first_time, not_needed)
** Invoke test/ssl_server.rb (first_time, not_needed)
** Invoke test/test_authenticate.rb (first_time, not_needed)
** Invoke test/test_bad_links.rb (first_time, not_needed)
** Invoke test/test_blank_form.rb (first_time, not_needed)
** Invoke test/test_checkboxes.rb (first_time, not_needed)
** Invoke test/test_content_type.rb (first_time, not_needed)
** Invoke test/test_cookie_class.rb (first_time, not_needed)
** Invoke test/test_cookie_jar.rb (first_time, not_needed)
** Invoke test/test_cookies.rb (first_time, not_needed)
** Invoke test/test_encoded_links.rb (first_time, not_needed)
** Invoke test/test_errors.rb (first_time, not_needed)
** Invoke test/test_field_precedence.rb (first_time, not_needed)
** Invoke test/test_follow_meta.rb (first_time, not_needed)
** Invoke test/test_form_action.rb (first_time, not_needed)
** Invoke test/test_form_as_hash.rb (first_time, not_needed)
** Invoke test/test_form_button.rb (first_time, not_needed)
** Invoke test/test_form_no_inputname.rb (first_time, not_needed)
** Invoke test/test_forms.rb (first_time, not_needed)
** Invoke test/test_frames.rb (first_time, not_needed)
** Invoke test/test_get_headers.rb (first_time, not_needed)
** Invoke test/test_gzipping.rb (first_time, not_needed)
** Invoke test/test_hash_api.rb (first_time, not_needed)
** Invoke test/test_history.rb (first_time, not_needed)
** Invoke test/test_history_added.rb (first_time, not_needed)
** Invoke test/test_html_unscape_forms.rb (first_time, not_needed)
** Invoke test/test_if_modified_since.rb (first_time, not_needed)
rake aborted!
Don't know how to build task 'test/test_keep_alive.rb'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:1728:in
`[]'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:605:in
`block in invoke_prerequisites'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:604:in
`each'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:604:in
`invoke_prerequisites'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:596:in
`block in invoke_with_call_chain'
/home/fcorrea/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/monitor.rb:190:in
`mon_synchronize'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_chain'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:607:in
`block in invoke_prerequisites'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:604:in
`each'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:604:in
`invoke_prerequisites'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:596:in
`block in invoke_with_call_chain'
/home/fcorrea/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/monitor.rb:190:in
`mon_synchronize'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_chain'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:607:in
`block in invoke_prerequisites'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:604:in
`each'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:604:in
`invoke_prerequisites'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:596:in
`block in invoke_with_call_chain'
/home/fcorrea/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/monitor.rb:190:in
`mon_synchronize'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_chain'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:607:in
`block in invoke_prerequisites'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:604:in
`each'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:604:in
`invoke_prerequisites'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:596:in
`block in invoke_with_call_chain'
/home/fcorrea/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/monitor.rb:190:in
`mon_synchronize'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_chain'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:583:in
`invoke'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:2051:in
`invoke_task'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:2029:in
`block (2 levels) in top_level'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:2029:in
`each'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:2029:in
`block in top_level'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:2023:in
`top_level'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:2001:in
`block in run'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:1998:in
`run'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/bin/rake:31:in
`<top (required)>'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/bin/rake:19:in `load'
/home/fcorrea/.rvm/gems/ruby-1.9.1-p378/bin/rake:19:in `<main>'

ty in advance!

Renato

It looks like there’s a specific problem with that gem’s Rakefile. I don’t know anything about that gem, so you’ll need to either define the missing task, remove it from the list of tasks to execute, or contact the gem’s author by logging an issue or directly.

Adam