octopress / docs

Source for the octopress.org documentation website
24 stars 30 forks source link

bundle install fails (kramdown requires Ruby version >= 2.0) #57

Open ennorehling opened 6 years ago

ennorehling commented 6 years ago

I'm following the setup instructions, and ruby --version says I run ruby 1.9.3p0, but when I come to the "bundle install" step, I get this error message:

Installing haml 4.0.7
Gem::InstallError: kramdown requires Ruby version >= 2.0.
An error occurred while installing kramdown (1.15.0), and Bundler
cannot continue.
Make sure that `gem install kramdown -v '1.15.0'` succeeds before bundling.

In Gemfile:
  octopress-date-format was resolved to 2.0.2, which depends on
    octopress-hooks was resolved to 2.6.2, which depends on
      jekyll was resolved to 2.5.3, which depends on
        kramdown

I'm not a ruby developer, and these tools are unfamiliar to me, so I don't even know what to try to fix this.

shavs commented 6 years ago

It's recommending that you install a Ruby version greater than 2.0. Currently, as I run Arch Linux, the latest version available for me is ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux].

ennorehling commented 6 years ago

I think I may have been on a pretty old LTS release when I opened this ticket last year. but octopress.org/docs/setup/ said (and still says):

Before You Begin

  1. Install Git.
  2. Install Ruby 1.9.3 or greater using either rbenv or RVM.

that is wrong, or at best misleading.