Closed vperic closed 9 years ago
Try bundle update
and it will update all of the gems currently referenced in your Gemfile.lock
. The should hopefully get it back to working for you.
I know I recently upgraded something and had troubles myself. But that could have been from trying out the Jekyll 3 beta which caused some problems with gems that weren't updated to support it yet.
Nope, errors are the same.
I'm out of ideas then. Have you tried leaving an issue on the Octopress repo? I didn't write the gem so I don't really know much about it except the basics, and I'm far from a Ruby expert.
I just ran into this same issue -- the solution is to use bundle exec
, e.g.:
bundle exec octopress new post "asdf"
Hope this helps someone!
That's correct @milas. When in doubt always run Jekyll and/or Octopress with bundle exec
. It forces all the correct versions of the various gems to load which should help with any errors experienced.
I'm not sure what is going on here, everything worked fine back in December. I'm a complete beginner in Ruby packaging, so I wondered if you could lend me a hand. I kept getting errors so I uninstalled all my gems and then followed the suggested installation procedure (using bundler). If I then try to do something like
octopress new post "asdf"
, I get:If I try doing
gem install jekyll
, it installs a newer version (2.5.3 currently) than specified, so then I get different errors:I assume this is because I'm running a newer Jekyll than your site specifies. Still, I reproduce the first error by running eg.
bundle exec octopress new post "asdf"
.I realize that using octopress is not really obligatory, I just remember it as a neat tool, plus I can't be sure that something else isn't broken (though currently building and serving the site works fine).
Thanks in advance!