Problem setup jekyll

jekyll

#1

I followed the steps on

https://community.c9.io/t/setting-up-jekyll/1707

so after creating a blank workspace, first I install the gem : gem install jekyll

when I create a new jekyll site with jekyll new, I have this red message

Dependency Error: Yikes! It looks like you don't have bundler or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- bundler' If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/!

and with jekyll serve --host $IP --port $PORT --baseurl ''

result :

supersonicblonde:~/workspace/my-awesome-site $ jekyll serve --host $IP --port $PORT --baseurl ''
/usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler (LoadError)
        from /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/local/rvm/gems/ruby-2.3.0/gems/jekyll-3.3.0/lib/jekyll/plugin_manager.rb:34:in `require_from_bundler'
        from /usr/local/rvm/gems/ruby-2.3.0/gems/jekyll-3.3.0/exe/jekyll:9:in `<top (required)>'
        from /usr/local/rvm/gems/ruby-2.3.0/bin/jekyll:23:in `load'
        from /usr/local/rvm/gems/ruby-2.3.0/bin/jekyll:23:in `<main>'
        from /usr/local/rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'
        from /usr/local/rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>'

What is wrong ?
:slight_smile:


#2

Ok easy I had to install gem bundler

gem install bundler