ga-dc / wdi5-project4

3 stars 0 forks source link

heroku loading error #125

Closed APARK87 closed 9 years ago

APARK87 commented 9 years ago

https://lit-escarpment-5324.herokuapp.com/

(process:13250): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

RobertAKARobin commented 9 years ago

Try replacing the app.listen portion of your server file with something like this:

app.listen(process.env.PORT || 3000, function(){
  console.log("app listening on port 3000")
})
APARK87 commented 9 years ago

im using rails

RobertAKARobin commented 9 years ago

Oops.

RobertAKARobin commented 9 years ago

Have you pushed to Github recently? I'm going to clone your code and try it myself.

APARK87 commented 9 years ago

my last push was the one right before beginning the deploy process

RobertAKARobin commented 9 years ago

Great

RobertAKARobin commented 9 years ago

Well, I'm getting the same error, so this is progress.

RobertAKARobin commented 9 years ago
project_4 $ heroku run rails console
Running `rails console` attached to terminal... up, run.7442
/app/app/controllers/passwords_controller.rb:1:in `<top (required)>': uninitialized constant Users (NameError)
APARK87 commented 9 years ago

mm

APARK87 commented 9 years ago

ill check it out, was running okay on localhost

RobertAKARobin commented 9 years ago

That's it! In that file, change "Users" to "User". It's working here: https://agile-ocean-2089.herokuapp.com/

APARK87 commented 9 years ago

ahh icic, alrighty; also am i good to push further changes ?

RobertAKARobin commented 9 years ago

Sure! Don't wait on me.