You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this counts as an issue, but I can get dorothy to work fine on localhost:3000 using thin, but when I set it up using heroku (following all available tutorials that make it look so simple) I get this: http://spatablog.herokuapp.com/
Internal Server Error
(): could not find expected ':' while scanning a simple key at line 5 column 1
WEBrick/1.3.1 (Ruby/2.0.0/2013-06-27) at spatablog.herokuapp.com:8
I think it is a Rakefile issue(even though the error says unknown, all similar errors on google seem to be rake-related), but I have made no changes to it. I have tried cloning dorothy multiple times.
But here is the begining of the Rakefile anyways:
require 'toto'
Hello,
I don't know if this counts as an issue, but I can get dorothy to work fine on localhost:3000 using thin, but when I set it up using heroku (following all available tutorials that make it look so simple) I get this:
http://spatablog.herokuapp.com/
Internal Server Error
(): could not find expected ':' while scanning a simple key at line 5 column 1
WEBrick/1.3.1 (Ruby/2.0.0/2013-06-27) at spatablog.herokuapp.com:8
I think it is a Rakefile issue(even though the error says unknown, all similar errors on google seem to be rake-related), but I have made no changes to it. I have tried cloning dorothy multiple times.
But here is the begining of the Rakefile anyways:
require 'toto'
@config = Toto::Config::Defaults
task :default => :new
desc "Create a new article."
task :new do
title = ask('Title: ')
slug = title.empty?? nil : title.strip.slugize
article = {'title' => title, 'date' => Time.now.strftime("%d/%m/%Y")}.to_yaml
article << "\n"
article << "Once upon a time...\n\n"
...and so on
I want this to work and I don't know what to do because I am new to ruby and heroku.
UPDATE:
I found out that it works the first time. So it is only after I push any changes that this happens. I still don't know what could be wrong though :/
Please help!
Steph
The text was updated successfully, but these errors were encountered: