ruby on rails - heroku Error: wrong argument type Hash (expected Data) (TypeError) -



ruby on rails - heroku Error: wrong argument type Hash (expected Data) (TypeError) -

i have deployed app heroku. however, getting next error when setting env values -->>

heroku config:set gmail_username=myemail@gmail.com

i using vagrant virtual box ubuntu 10.04.4

ruby 2.0.0p451

rails 4.0.1

heroku-toolbelt 3.8.4

one thing notice in error message says version: heroku-toolbelt/3.8.4 (i486-linux) ruby/1.9.1 on lastly line below. why saying ruby/1.9.1 when using 2.0. not sure if has error.

thanks

setting config vars , restarting damp-forest-1123... failed ! heroku client internal error. ! search help at: https://help.heroku.com ! or study bug at: https://github.com/heroku/heroku/issues/new

error: wrong argument type hash (expected data) (typeerror) backtrace: /usr/local/heroku/vendor/gems/multi_json-1.10.1/lib/multi_json/adapt

ers/json_common.rb:21:in to_json' /usr/local/heroku/vendor/gems/multi_json-1.10.1/lib/multi_json/adapt ers/json_common.rb:21:indump' /usr/local/heroku/vendor/gems/multi_json-1.10.1/lib/multi_json/adapt er.rb:24:in dump' /usr/local/heroku/vendor/gems/multi_json-1.10.1/lib/multi_json.rb:13 6:indump' /usr/local/heroku/vendor/gems/heroku-api-0.3.18/lib/heroku/api/confi g_vars.rb:25:in put_config_vars' /usr/local/heroku/lib/heroku/command/config.rb:69:inblock in set' /usr/local/heroku/lib/heroku/helpers.rb:227:in action' /usr/local/heroku/lib/heroku/command/config.rb:68:inset' /usr/local/heroku/lib/heroku/command.rb:218:in run' /usr/local/heroku/lib/heroku/cli.rb:37:instart' /usr/bin/heroku:25:in `'

command: heroku config:add gmail_username=myemail@gmail.com version: heroku-toolbelt/3.8.4 (i486-linux) ruby/1.9.1

ruby-on-rails heroku

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -