Troubleshooting the curriculum

18 views
Skip to first unread message

Janet Riley

unread,
May 15, 2014, 12:00:26 AM5/15/14
to railsbridge-...@googlegroups.com
I'm walking through the curriculum with the Vagrant image Decklin posted a couple nights ago.  I'm deploying the empty app to Heroku for the first time, per   http://www.railsbridgeboston.org/curriculum/deploy_to_heroku

So far:
rails new suggestotron    //did not do --skip-sprockets
bundle
rails server

// check - it comes up on localhost
//initted git and added everything
heroku create
gittyup


Heroku goes through its schtick and launches. 

The page doesn't come up in a browser. 

I captured  'heroku logs -t'  at https://gist.github.com/janetriley/b14074e1475e7df5505b  .  The gist also includes my Gemfile at the top. 

This occurs a lot:
2014-05-15T03:43:30.633482+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):

What's going wrong?

Thanks-
Janet


Daniel Choi

unread,
May 15, 2014, 8:08:11 AM5/15/14
to railsbridge-...@googlegroups.com

Janet Riley

unread,
May 15, 2014, 9:18:57 AM5/15/14
to railsbridge-...@googlegroups.com

Let me change the question:  could I get a volunteer to troubleshoot this and figure out a fix by tomorrow night?  It's part of this weekend's workshop.  

The app runs locally in Virtual Box, but fails to start on Heroku.

The virtual box links and Vagrant instructions are here: http://www.railsbridgeboston.org/pre_workshop

If the error is in the instructions,  tell me what to change.  For super bonus points, you could do a pull request to  https://github.com/railsbridge-boston/railsbridge-boston . The instructions will be in views/ if it's bad install directions, or views/curriculum if in the class material.

If the error is in configuration, Decklin may have to change the VM.

If the Problem Exists Between Keyboard and Chair (i.e. my bad),  gently point out I strayed.  I'll be an excellent and sympathetic TA when a participant makes the same mistake.

If it doesn't run on Heroku, I'll pull all the git and heroku material from Saturday's curriculum.  

Thanks!
Janet

Decklin Foster

unread,
May 15, 2014, 11:50:33 AM5/15/14
to Janet Riley, railsbridge-...@googlegroups.com
Could you create a repo on GitHub and push what you pushed to Heroku
there? (Add it as a second remote to your local repo, then, if the
remote is "github" and the branch you pushed to heroku is "master", run
"git push github master")).

I'm not sure what the issue could be, but maybe if someone with more
Rails experience can look at your code, they could quickly check if
something is missing.

(This is one reason I don't like hiding git commands inside a script --
hard to tell what step went wrong if something did.)
> --
> You received this message because you are subscribed to the Google Groups "RailsBridge Boston Alumni" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to railsbridge-boston...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
things change.
dec...@red-bean.com

Janet Riley

unread,
May 15, 2014, 10:41:03 PM5/15/14
to railsbridge-...@googlegroups.com
Thanks for your help, everyone.  We moved the push to heroku after the app has more content.  Now the students' first experience of heroku will be to see their app running.  Yes, I remember our mantra is "whyyyyy doesn't it woorrrrrrrrkkkk", but that should be more of a seasoning than a main course.

Janet
Reply all
Reply to author
Forward
0 new messages