null-point-exceptional
null-point-exceptional

Reputation: 647

Trouble getting Jekyll Themes served on local machine (could not find addressable...)

Been playing around with Jekyll for a few days now, but haven't been having any lucky trying to get themes working on my local machine.

I've tried several different themes and am getting errors that seem to be pointing towards missing files??? I'm not entirely sure as I'm completely new to Ruby.

What I've got installed

What commands I'm running

~ $ cd ~/jekyll-theme/
~ $ jekyll serve

Error and Trace

C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/spec_set.rb:87:in `block in materialize': Could not find addressable-2.4.0 in any of the sources (Bundler::GemNotFound)

    from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/spec_set.rb:80:in `map!'
    from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/spec_set.rb:80:in `materialize'
    from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/definition.rb:176:in `specs'
    from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/definition.rb:235:in `specs_for'
    from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/definition.rb:224:in `requested_specs'
    from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/runtime.rb:118:in `block in definition_method'
    from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/runtime.rb:19:in `setup'
    from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler.rb:100:in `setup'
    from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/jekyll-3.4.3/lib/jekyll/plugin_manager.rb:36:in `require_from_bundler'
    from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/jekyll-3.4.3/exe/jekyll:9:in `<top (required)>'
    from C:/Ruby23-x64/bin/jekyll:22:in `load'
    from C:/Ruby23-x64/bin/jekyll:22:in `<main>'

Attemps

I've tried issuing the following command:
~ $ bundle exec jekyll serve resulting in the same error and trace

Any insight is greatly appreciated.

Upvotes: 1

Views: 1226

Answers (1)

ashmaroli
ashmaroli

Reputation: 5434

you don't have addressable gem installed. Run gem install jekyll once again to make sure all required dependencies get installed.

Or if you have a Gemfile, run bundle install

Upvotes: 5

Related Questions