sfbrigade / Infrastructure-Team

The central location for the SF Brigade Infrastructure Team organizational issues and planning.
7 stars 1 forks source link

MVP: Adopt a Drain #13

Closed therebelrobot closed 8 years ago

therebelrobot commented 8 years ago

https://github.com/sfbrigade/adopt-a-drain - http://adoptadrainsf.herokuapp.com/

cc: @sfbrigade/website-tools

Chatted with @hackajesse, and in the coming weeks the executive team wants to get a simple MVP out for Adopt-A-Drain, which is a government-partnered Rails app deployed by Oakland that has been seeing a lot of traction, forked and redeployed here in SF. With an MVP of this app up and running, this could end up being the first time the local government of SF has directly partnered with Code for San Francisco, and could be the step in the doorway to further direct partnerships with the city and county. We need a working version of the app, branded and coded for SF ASAP so the local governments, in preparation of El Niño, can announce its launch and partnership.

Some basic FAQs:

More details will be discussed later today at Civic Hack Night, I just wanted to get the info I had onto a planning issue so we are all aware for when we get there. If you have any questions/concerns, feel free to either comment them below or message me privately.

Cheers!

afomi commented 8 years ago

latest Adopta deployed at https://adoptadrainsf.herokuapp.com/

jszwedko commented 8 years ago

:clap: I'm excited to get to work on this.

baraka101 commented 8 years ago

hello iam having issues deploying to heroku, on step number 2 i use the following comand

heroku config:set --app adopt-a-drain SECRET_TOKEN=*****,

but i get the following error ! You do not have access to the app adopt-a-drain.

afomi commented 8 years ago

hi Baraka, it looks like you are using the Heroku app name adopt-a-drain. Try using the name of your Heroku instance instead. On Feb 13, 2016 9:19 AM, "baraka" notifications@github.com wrote:

hello iam having issues deploying to heroku, on step number 2 i use the following comand

heroku config:set --app adopt-a-drain SECRET_TOKEN=*****,

but i get the following error ! You do not have access to the app adopt-a-drain.

— Reply to this email directly or view it on GitHub https://github.com/sfbrigade/Website-Tools-Team/issues/13#issuecomment-183706068 .

baraka101 commented 8 years ago

Okey. Thanks

baraka101 commented 8 years ago

hello afomi, thanks for the help, i have now advanced forward , but iam getting this error during the precompile

ExecJS::ProgramError: TypeError: Object doesn't support this property or method

any suggestion on how to solve this?

afomi commented 8 years ago

when/where are you getting this? locally? or upon deploy? or? On Feb 13, 2016 11:09 AM, "baraka" notifications@github.com wrote:

hello afomi, thanks for the help, i have now advanced forward , but iam getting this error during the precompile

ExecJS::ProgramError: TypeError: Object doesn't support this property or method

any suggestion on how to solve this?

— Reply to this email directly or view it on GitHub https://github.com/sfbrigade/Website-Tools-Team/issues/13#issuecomment-183728057 .

baraka101 commented 8 years ago

when i precompile locally

baraka101 commented 8 years ago

using

set RAILS_ENV=production bundle exec rake assets:precompile

baraka101 commented 8 years ago

rake aborted! ExecJS::ProgramError: TypeError: Object doesn't support this property or method

Tasks: TOP => assets:precompile (See full trace by running task with --trace) C:\airspeed1\CfR\adopt-a-drain [production +0 ~2 -0]>

baraka101 commented 8 years ago

C:\airspeed1\CfR\adopt-a-drain [production +0 ~2 -0]> bundle exec rake assets:precompile --trace Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running gem install bundler --pre. * Invoke assets:precompile (first_time) * Invoke assets:environment (first_time) * Execute assets:environment * Invoke environment (first_time) * Execute environment * Execute assets:precompile rake aborted! ExecJS::ProgramError: TypeError: Object doesn't support this property or method C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/execjs-2.6.0/lib/execjs/external_runtime.rb:39:in exec' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/execjs-2.6.0/lib/execjs/external_runtime.rb:21:ineval' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/execjs-2.6.0/lib/execjs/external_runtime.rb:46:in call' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/coffee-script-2.4.1/lib/coffee_script.rb:78:incompile' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/coffee_script_processor.rb:21:in block in call' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/cache.rb:85:infetch' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/coffee_script_processor.rb:20:in call' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:75:incall_processor' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:57:in block in call_processors' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:56:inreverse_each' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:56:in call_processors' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:134:inload_from_unloaded' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:60:in block in load' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:318:infetch_asset_from_dependency_cache' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:44:in load' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:20:inblock in initialize' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:47:in yield' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:47:inload' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/bundle.rb:23:in block in call' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/utils.rb:183:indfs' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/bundle.rb:24:in call' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:75:incall_processor' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:57:in block in call_processors' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:56:inreverse_each' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:56:in call_processors' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:134:inload_from_unloaded' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:60:in block in load' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:318:infetch_asset_from_dependency_cache' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:44:in load' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:20:inblock in initialize' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:47:in yield' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:47:inload' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/base.rb:66:in find_asset' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/base.rb:73:infind_all_linked_assets' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/manifest.rb:134:in block in find' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/manifest.rb:133:ineach' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/manifest.rb:133:in find' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/manifest.rb:168:incompile' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:70:in block (3 levels) in define' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/rake/sprocketstask.rb:147:inwith_logger' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:69:in block (2 levels) in define' C:/tools/ruby22/lib/ruby/2.2.0/rake/task.rb:240:incall' C:/tools/ruby22/lib/ruby/2.2.0/rake/task.rb:240:in block in execute' C:/tools/ruby22/lib/ruby/2.2.0/rake/task.rb:235:ineach' C:/tools/ruby22/lib/ruby/2.2.0/rake/task.rb:235:in execute' C:/tools/ruby22/lib/ruby/2.2.0/rake/task.rb:179:inblock in invoke_with_call_chain' C:/tools/ruby22/lib/ruby/2.2.0/monitor.rb:211:in mon_synchronize' C:/tools/ruby22/lib/ruby/2.2.0/rake/task.rb:172:ininvoke_with_call_chain' C:/tools/ruby22/lib/ruby/2.2.0/rake/task.rb:165:in invoke' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb:150:ininvoke_task' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb:106:in block (2 levels) in top_level' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb:106:ineach' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb:106:in block in top_level' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb:115:inrun_with_threads' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb:100:in top_level' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb:78:inblock in run' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb:176:in standard_exception_handling' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb:75:inrun' C:/tools/ruby22/bin/rake:33:in `

' Tasks: TOP => assets:precompile C:\airspeed1\CfR\adopt-a-drain [production +0 ~2 -0]>

afomi commented 8 years ago

hi Barack, have you tried to upgrade Bundler per the logs?

otherwise, I'd try to delete the Gemfile.lock file and run bundle again On Feb 13, 2016 11:27 AM, "baraka" notifications@github.com wrote:

C:\airspeed1\CfR\adopt-a-drain [production +0 ~2 -0]> bundle exec rake assets:precompile --trace Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running gem install bundler --pre. * Invoke assets:precompile (first_time) * Invoke assets:environment (first_time) * Execute assets:environment * Invoke environment (first_time) * Execute environment * Execute assets:precompile rake aborted! ExecJS::ProgramError: TypeError: Object doesn't support this property or method C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/execjs-2.6.0/lib/execjs/external_runtime.rb:39:in exec'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/execjs-2.6.0/lib/execjs/external_runtime.rb:21:in eval' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/execjs-2.6.0/lib/execjs/external_runtime.rb:46:in call'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/coffee-script-2.4.1/lib/coffee_script.rb:78:in compile' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/coffee_script_processor.rb:21:in block in call'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/cache.rb:85:in fetch' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/coffee_script_processor.rb:20:in call'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:75:in call_processor' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:57:in block in call_processors'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:56:in reverse_each' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:56:in call_processors'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:134:in load_from_unloaded' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:60:in block in load'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:318:in fetch_asset_from_dependency_cache' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:44:in load'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:20:inblock in initialize' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:47:in yield'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:47:in load' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/bundle.rb:23:in block in call'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/utils.rb:183:in dfs' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/bundle.rb:24:in call'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:75:in call_processor' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:57:in block in call_processors'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:56:in reverse_each' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:56:in call_processors'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:134:in load_from_unloaded' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:60:in block in load'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:318:in fetch_asset_from_dependency_cache' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:44:in load'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:20:inblock in initialize' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:47:in yield'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:47:in load' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/base.rb:66:in find_asset'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/base.rb:73:in find_all_linked_assets' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/manifest.rb:134:in block in find'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/manifest.rb:133:in each' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/manifest.rb:133:in find'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/sprockets/manifest.rb:168:in compile' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:70:in block (3 levels) in define'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-3.5.2/lib/rake/sprocketstask.rb:147:in with_logger' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:69:in block (2 levels) in define' C:/tools/ruby22/lib/ruby/2.2.0/rake/task.rb:240:incall' C:/tools/ruby22/lib/ruby/2.2.0/rake/task.rb:240:in block in execute' C:/tools/ruby22/lib/ruby/2.2.0/rake/task.rb:235:ineach' C:/tools/ruby22/lib/ruby/2.2.0/rake/task.rb:235:in execute' C:/tools/ruby22/lib/ruby/2.2.0/rake/task.rb:179:inblock in invoke_with_call_chain' C:/tools/ruby22/lib/ruby/2.2.0/monitor.rb:211:in mon_synchronize' C:/tools/ruby22/lib/ruby/2.2.0/rake/task.rb:172:ininvoke_with_call_chain' C:/tools/ruby22/lib/ruby/2.2.0/rake/task.rb:165:in invoke' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb:150:ininvoke_task' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb:106:in block (2 levels) in top_level' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb:106:ineach' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb:106:in block in top_level' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb:115:inrun_with_threads' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb[image: :100:]in top_level' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb:78:inblock in run' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb:176:in standard_exception_handling' C:/tools/ruby22/lib/ruby/2.2.0/rake/application.rb:75:inrun' C:/tools/ruby22/bin/rake:33:in ` ' Tasks: TOP => assets:precompile C:\airspeed1\CfR\adopt-a-drain [production +0 ~2 -0]>

— Reply to this email directly or view it on GitHub https://github.com/sfbrigade/Website-Tools-Team/issues/13#issuecomment-183729497 .

baraka101 commented 8 years ago

hello afomi, thanks for the help, iam trying to seed the data but i get an ssl error , any suggestions on this

$ bundle exec rake data:load_drains --trace * Invoke data:load_drains (first_time) * Invoke environment (first_time) * Execute environment * Execute data:load_drains Downloading Drains... ... ... rake aborted! OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed C:/tools/ruby22/lib/ruby/2.2.0/net/http.rb:923:in connect' C:/tools/ruby22/lib/ruby/2.2.0/net/http.rb:923:inblock in connect' C:/tools/ruby22/lib/ruby/2.2.0/timeout.rb:73:in timeout' C:/tools/ruby22/lib/ruby/2.2.0/net/http.rb:923:inconnect' C:/tools/ruby22/lib/ruby/2.2.0/net/http.rb:863:in do_start' C:/tools/ruby22/lib/ruby/2.2.0/net/http.rb:852:instart' C:/tools/ruby22/lib/ruby/2.2.0/open-uri.rb:318:in open_http' C:/tools/ruby22/lib/ruby/2.2.0/open-uri.rb:736:inbuffer_open' C:/tools/ruby22/lib/ruby/2.2.0/open-uri.rb:211:in block in open_loop' C:/tools/ruby22/lib/ruby/2.2.0/open-uri.rb:209:incatch' C:/tools/ruby22/lib/ruby/2.2.0/open-uri.rb:209:in open_loop' C:/tools/ruby22/lib/ruby/2.2.0/open-uri.rb:150:inopen_uri' C:/tools/ruby22/lib/ruby/2.2.0/open-uri.rb:716:in open' C:/tools/ruby22/lib/ruby/2.2.0/open-uri.rb:34:inopen' C:/airspeed1/CfR/adopt-a-drain/lib/tasks/data.rake:10:in block (2 levels) in <top (required)>' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:incall' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in block in execute' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:ineach' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in execute' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:179:inblock in invoke_with_call_chain' C:/tools/ruby22/lib/ruby/2.2.0/monitor.rb:211:in mon_synchronize' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:172:ininvoke_with_call_chain' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:165:in invoke' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:150:ininvoke_task' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in block (2 levels) in top_level' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:ineach' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in block in top_level' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:115:inrun_with_threads' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:100:in top_level' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:78:inblock in run' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:176:in standard_exception_handling' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:75:inrun' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/bin/rake:33:in <top (required)>' C:/tools/ruby22/bin/rake:23:inload' C:/tools/ruby22/bin/rake:23:in `

' Tasks: TOP => data:load_drains

afomi commented 8 years ago

Hi Baraka,

I've seen this in OSX, but never dealt with it on Windows. It appears to be a system setup issue, as opposed to an issue specific to Adopta.

But, try http://railsapps.github.io/openssl-certificate-verify-failed.html or searching for your specific SSL issue.

Best,

Ryan

On Mon, Feb 15, 2016 at 5:56 AM, baraka notifications@github.com wrote:

hello afomi, thanks for the help, iam trying to seed the data but i get an ssl error , any suggestions on this

$ bundle exec rake data:load_drains --trace * Invoke data:load_drains (first_time) * Invoke environment (first_time) * Execute environment * Execute data:load_drains Downloading Drains... ... ... rake aborted! OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed C:/tools/ruby22/lib/ruby/2.2.0/net/http.rb:923:in connect' C:/tools/ruby22/lib/ruby/2.2.0/net/http.rb:923:inblock in connect' C:/tools/ruby22/lib/ruby/2.2.0/timeout.rb:73:in timeout' C:/tools/ruby22/lib/ruby/2.2.0/net/http.rb:923:inconnect' C:/tools/ruby22/lib/ruby/2.2.0/net/http.rb:863:in do_start' C:/tools/ruby22/lib/ruby/2.2.0/net/http.rb:852:instart' C:/tools/ruby22/lib/ruby/2.2.0/open-uri.rb:318:in open_http' C:/tools/ruby22/lib/ruby/2.2.0/open-uri.rb:736:inbuffer_open' C:/tools/ruby22/lib/ruby/2.2.0/open-uri.rb:211:in block in open_loop' C:/tools/ruby22/lib/ruby/2.2.0/open-uri.rb:209:incatch' C:/tools/ruby22/lib/ruby/2.2.0/open-uri.rb:209:in open_loop' C:/tools/ruby22/lib/ruby/2.2.0/open-uri.rb:150:inopen_uri' C:/tools/ruby22/lib/ruby/2.2.0/open-uri.rb:716:in open' C:/tools/ruby22/lib/ruby/2.2.0/open-uri.rb:34:inopen' C:/airspeed1/CfR/adopt-a-drain/lib/tasks/data.rake:10:in block (2 levels) in <top (required)>'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in call' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in block in execute'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in each' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in execute'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:179:inblock in invoke_with_call_chain' C:/tools/ruby22/lib/ruby/2.2.0/monitor.rb:211:in mon_synchronize'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:172:in invoke_with_call_chain' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:165:in invoke'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:150:in invoke_task' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in block (2 levels) in top_level'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in each' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in block in top_level'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:115:in run_with_threads'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb[image: :100:]in top_level'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:78:inblock in run' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:176:in standard_exception_handling'

C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:75:in run' C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/bin/rake:33:in <top (required)>' C:/tools/ruby22/bin/rake:23:inload' C:/tools/ruby22/bin/rake:23:in ` ' Tasks: TOP => data:load_drains

— Reply to this email directly or view it on GitHub https://github.com/sfbrigade/Website-Tools-Team/issues/13#issuecomment-184217548 .

Ryan Wold (707) 673-6722

jszwedko commented 8 years ago

Closing this as the MVP is up -- please feel free to leave issues on the repo itself though!