euruko2013 / site

EuRuKo 2013 event website
MIT License
17 stars 17 forks source link

Problems creating a new blog article #55

Closed damphyr closed 11 years ago

damphyr commented 11 years ago

Pulling from my remote tracking branch, then creating a new branch and following the wiki's instructions I get:

Users/riva/.rvm/gems/ruby-1.9.3-p194/gems/middleman-blog-3.2.0/lib/middleman-blog/blog_article.rb:141:in `date': The date in blog/2013-04-01-happy-april-fools-day.html's filename doesn't match the date in its frontmatter (RuntimeError)

when I do middleman article "Bla"

nikosd commented 11 years ago

Can you paste the RVM info and you gem list? I created a new blog entry yesterday and it was working fine.

klee:site nikosd$ rvm info

ruby-1.9.3-p385@euruko2013site:

  system:
    uname:       "Darwin klee.lan 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64"
    system:      "osx/10.8/x86_64"
    bash:        "/usr/local/bin/bash => GNU bash, version 4.2.42(2)-release (i386-apple-darwin12.2.0)"
    zsh:         "/bin/zsh => zsh 4.3.11 (i386-apple-darwin12.0)"

  rvm:
    version:      "rvm 1.18.6 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
    updated:      "1 month 27 days 5 hours 39 minutes 27 seconds ago"

  ruby:
    interpreter:  "ruby"
    version:      "1.9.3p385"
    date:         "2013-02-06"
    platform:     "x86_64-darwin12.2.0"
    patchlevel:   "2013-02-06 revision 39114"
    full_version: "ruby 1.9.3p385 (2013-02-06 revision 39114) [x86_64-darwin12.2.0]"

  homes:
    gem:          "/Users/nikosd/.rvm/gems/ruby-1.9.3-p385@euruko2013site"
    ruby:         "/Users/nikosd/.rvm/rubies/ruby-1.9.3-p385"

  binaries:
    ruby:         "/Users/nikosd/.rvm/rubies/ruby-1.9.3-p385/bin/ruby"
    irb:          "/Users/nikosd/.rvm/rubies/ruby-1.9.3-p385/bin/irb"
    gem:          "/Users/nikosd/.rvm/rubies/ruby-1.9.3-p385/bin/gem"
    rake:         "/Users/nikosd/.rvm/gems/ruby-1.9.3-p385@global/bin/rake"

  environment:
    PATH:         "/Users/nikosd/.rvm/gems/ruby-1.9.3-p385@euruko2013site/bin:/Users/nikosd/.rvm/gems/ruby-1.9.3-p385@global/bin:/Users/nikosd/.rvm/rubies/ruby-1.9.3-p385/bin:/Users/nikosd/.rvm/bin:/usr/local/bin:/usr/local/sbin:~/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin"
    GEM_HOME:     "/Users/nikosd/.rvm/gems/ruby-1.9.3-p385@euruko2013site"
    GEM_PATH:     "/Users/nikosd/.rvm/gems/ruby-1.9.3-p385@euruko2013site:/Users/nikosd/.rvm/gems/ruby-1.9.3-p385@global"
    MY_RUBY_HOME: "/Users/nikosd/.rvm/rubies/ruby-1.9.3-p385"
    IRBRC:        "/Users/nikosd/.rvm/rubies/ruby-1.9.3-p385/.irbrc"
    RUBYOPT:      ""
    gemset:       "euruko2013site"

and

klee:site nikosd$ gem list

*** LOCAL GEMS ***

activesupport (3.2.13)
builder (3.0.4)
bundler (1.2.3)
chunky_png (1.2.7)
coffee-script (2.2.0)
coffee-script-source (1.3.3)
compass (0.12.2)
execjs (1.4.0)
fssm (0.2.10)
haml (4.0.0)
hike (1.2.1)
http_router (0.10.2)
i18n (0.6.1)
listen (0.7.3)
maruku (0.6.1)
middleman (3.0.13)
middleman-blog (3.2.0)
middleman-core (3.0.13)
middleman-more (3.0.13)
middleman-sprockets (3.0.9)
multi_json (1.7.1)
nokogiri (1.5.8)
padrino-core (0.10.7)
padrino-helpers (0.10.7)
rack (1.4.5)
rack-protection (1.5.0)
rack-test (0.6.2)
rake (10.0.3)
rb-fsevent (0.9.3)
rubygems-bundler (1.1.0)
rvm (1.11.3.6)
sass (3.2.7)
sinatra (1.3.6)
sprockets (2.4.5)
sprockets-sass (0.9.1)
syntax (1.0.0)
thor (0.15.4)
tilt (1.3.6)
tzinfo (0.3.37)
uglifier (1.2.7)
url_mount (0.2.1)
damphyr commented 11 years ago

Don't really need the gem list since I do bundle exec middleman

ruby-1.9.3-p194:

  system:
    uname:       "Darwin meisterbrau.local 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64"
    bash:        "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin12)"
    zsh:         "/bin/zsh => zsh 4.3.11 (i386-apple-darwin12.0)"

  rvm:
    version:      "rvm 1.15.5 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
    updated:      "7 months 15 days 19 hours 43 minutes 43 seconds ago"

  ruby:
    interpreter:  "ruby"
    version:      "1.9.3p194"
    date:         "2012-04-20"
    platform:     "x86_64-darwin12.0.0"
    patchlevel:   "2012-04-20 revision 35410"
    full_version: "ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.0.0]"

  homes:
    gem:          "/Users/riva/.rvm/gems/ruby-1.9.3-p194"
    ruby:         "/Users/riva/.rvm/rubies/ruby-1.9.3-p194"

  binaries:
    ruby:         "/Users/riva/.rvm/rubies/ruby-1.9.3-p194/bin/ruby"
    irb:          "/Users/riva/.rvm/rubies/ruby-1.9.3-p194/bin/irb"
    gem:          "/Users/riva/.rvm/rubies/ruby-1.9.3-p194/bin/gem"
    rake:         "/Users/riva/.rvm/gems/ruby-1.9.3-p194/bin/rake"

  environment:
    PATH:         "/Users/riva/.rvm/gems/ruby-1.9.3-p194/bin:/Users/riva/.rvm/gems/ruby-1.9.3-p194@global/bin:/Users/riva/.rvm/rubies/ruby-1.9.3-p194/bin:/Users/riva/.rvm/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    GEM_HOME:     "/Users/riva/.rvm/gems/ruby-1.9.3-p194"
    GEM_PATH:     "/Users/riva/.rvm/gems/ruby-1.9.3-p194:/Users/riva/.rvm/gems/ruby-1.9.3-p194@global"
    MY_RUBY_HOME: "/Users/riva/.rvm/rubies/ruby-1.9.3-p194"
    IRBRC:        "/Users/riva/.rvm/rubies/ruby-1.9.3-p194/.irbrc"
    RUBYOPT:      ""
    gemset:       ""
damphyr commented 11 years ago

Updated rvm, installed ruby 1.9.3p392 with a clean gemset (so just the bundle install) and I get the same error. Might be that I'm not in the Europe/Athens timezone anymore?

damphyr commented 11 years ago

Yep, that was it. I changed the timezone in config.rb and the bloody thing worked.