I am trying to use calabash-android to start a test sever on a phone in android studio. I am new to this and gotten this far thanks to tutorials.
I downloaded java, ruby, calabash-android, set-up environment variables, created a key store in the .calabash-settings, have a .debug-keystore file in my .android folder.
I am stuck as to what this problem is I can run bundle exec calabash-android resign app-debug.apk fine but when i do bundle exec calabash-android run app-debug.apk, I get the following error message. I am obviously missing something but i am unsure what:
C:\Users\Dell\AndroidStudioProjects\Calabash>bundle exec calabash-android build app-debug.apk
WARNING: skipped META-INF/CERT.RSA as unsafe
Traceback (most recent call last):
8: from C:/Ruby26-x64/bin/calabash-android:23:in `<main>'
7: from C:/Ruby26-x64/bin/calabash-android:23:in `load'
6: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/calabash-android-0.5.14/bin/calabash-android:76:in `<top (required)>'
5: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/calabash-android-0.5.14/bin/calabash-android-build.rb:2:in `calabash_build'
4: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/calabash-android-0.5.14/lib/calabash-android/helpers.rb:162:in `fingerprint_from_apk'
3: from C:/Ruby26-x64/lib/ruby/2.6.0/tmpdir.rb:93:in `mktmpdir'
2: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/calabash-android-0.5.14/lib/calabash-android/helpers.rb:163:in `block in fingerprint_from_apk'
1: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/calabash-android-0.5.14/lib/calabash-android/helpers.rb:163:in `chdir'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/calabash-android-0.5.14/lib/calabash-android/helpers.rb:177:in `block (2 levels) in fingerprint_from_apk': **No signature files found in META-INF. Cannot proceed. (RuntimeError)**
I encountered the same issue with latest available versions of ruby (v3.0.2p107) and calabash (v0.9.22).
I avoided the issue by using "bundle install" command and specifying a GemFile with previous versions.
# Contents of Gemfile
source "https://rubygems.org"
ruby "2.5.1"
gem 'calabash-android', '0.9.5'
gem 'cucumber'
gem 'rexml'
gem 'rubyzip', '1.2.1'
You may want to refer to similar issues raised such as https://github.com/calabash/calabash-android/issues/802
Related
How do I switch my version of Jekyll or download a specific version of it? This is all new to me and upon following the instructions provided by https://jekyllrb.com/docs/installation/windows/
I was able to get the specific Ruby version I wanted with the RubyInstaller+DevKit but every time I use "gem install Jekyll bundler" it gives me only the most recent version of Jekyll. How would I proceed to get Jeyll version 3.8.2 for example?
I've tried to install a specifc version from the command line with gem install jekyll -v 3.8.2 and it installs but how do I switch versions now? I also tired using 3.8.2 serve --watch to switch versions but it just gives me:
Configuration file: none
Source: C:/Users/Drey
Destination: C:/Users/Drey/_site
Incremental build: disabled. Enable with --incremental
Generating...
jekyll 3.8.2 | Error: Permission denied # rb_sysopen - C:/Users/Drey/NTUSER.DAT
Traceback (most recent call last):
23: from C:/Ruby27/bin/jekyll:23:in <main>' 22: from C:/Ruby27/bin/jekyll:23:in load'
21: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/jekyll-3.8.2/exe/jekyll:15:in <top (required)>' 20: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in program'
19: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in go' 18: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in execute'
17: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in each' 16: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in block in execute'
15: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/jekyll-3.8.2/lib/jekyll/commands/serve.rb:75:in block (2 levels) in init_with_program' 14: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/jekyll-3.8.2/lib/jekyll/commands/serve.rb:93:in start'
13: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/jekyll-3.8.2/lib/jekyll/commands/serve.rb:93:in each' 12: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/jekyll-3.8.2/lib/jekyll/commands/serve.rb:93:in block in start'
11: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/jekyll-3.8.2/lib/jekyll/commands/build.rb:36:in process' 10: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/jekyll-3.8.2/lib/jekyll/commands/build.rb:65:in build'
9: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/jekyll-3.8.2/lib/jekyll/command.rb:28:in process_site' 8: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/jekyll-3.8.2/lib/jekyll/site.rb:69:in process'
7: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/jekyll-3.8.2/lib/jekyll/site.rb:164:in read' 6: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/jekyll-3.8.2/lib/jekyll/reader.rb:16:in read'
5: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/jekyll-3.8.2/lib/jekyll/reader.rb:45:in read_directories' 4: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/jekyll-3.8.2/lib/jekyll/reader.rb:45:in select'
3: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/jekyll-3.8.2/lib/jekyll/reader.rb:46:in block in read_directories' 2: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/jekyll-3.8.2/lib/jekyll/utils.rb:146:in has_yaml_header?'
1: from C:/Ruby27/lib/ruby/gems/2.7.0/gems/jekyll-3.8.2/lib/jekyll/utils.rb:146:in open' C:/Ruby27/lib/ruby/gems/2.7.0/gems/jekyll-3.8.2/lib/jekyll/utils.rb:146:in initialize': Permission denied # rb_sysopen - C:/Users/Drey/NTUSER.DAT (Errno::EACCES)
So to install Jekyll v3.8.2 on Windows, definitely use Ruby 2.7 which looks like you have installed.
Since you already have a project, run:
gem install jekyll -v 3.8.2
Now open the Gemfile and update the line
gem "jekyll", "~> 3.8.2"
It should look like this on a fresh install:
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 3.8.2"
Next is installing everything, using bundler install. If that works correctly, then its time to check if its working.
bundle exec jekyll --version
>> jekyll 3.8.2
You can also try running gem add webrick if things aren't working still.
I had issues with kramdown as well, so make sure that is at 1.14
I am having issues running fastlane and cocoapods for a month now. Any idea what is the issue? Tried RVM, changing the version and so on but nothing works.
I reinstalled fastlane then cocopoda started working again. Now fastlane does not work, error below.
It seems like you wanted to load some plugins, however they couldn't be loaded
[22:05:14]: Please follow the troubleshooting guide: https://docs.fastlane.tools/plugins/plugins-troubleshooting/
Traceback (most recent call last):
8: from /usr/local/bin/fastlane:23:in `<main>'
7: from /usr/local/bin/fastlane:23:in `load'
6: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.170.0/bin/fastlane:23:in `<top (required)>'
5: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in `take_off'
4: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
3: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/commands_generator.rb:352:in `run'
2: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
1: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.170.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:50:in `run!'
/Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:411:in `parse_global_options': ambiguous option: --v (OptionParser::AmbiguousOption)
You didn't include a minimal reproducible example in your post so I can't say for sure if this is the issue because I can't see how you're invoking fastlane. I recommend that you add a complete MRE to questions so people can see exactly how you got to where you are.
That said, it's probably that you are running fastlane --v and not fastlane -v:
$ fastlane --help
...
-v, --version Display version information
I am pretty new at programming, just learning for a few months, and I have been trying to run rspec for a ruby project I am working on so I can become more familiar with TDD and when I try to run rspec using bundle exec rspec, I get the following exception:
Traceback (most recent call last):
14: from /usr/local/bin/rspec:23:in `<main>'
13: from /usr/local/bin/rspec:23:in `load'
12: from /var/lib/gems/2.5.0/gems/rspec-core-3.2.3/exe/rspec:4:in `<top (required)>'
11: from /var/lib/gems/2.5.0/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:38:in `invoke'
10: from /var/lib/gems/2.5.0/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:70:in `run'
9: from /var/lib/gems/2.5.0/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:85:in `run'
8: from /var/lib/gems/2.5.0/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:96:in `setup'
7: from /var/lib/gems/2.5.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration_options.rb:22:in `configure'
6: from /var/lib/gems/2.5.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration_options.rb:109:in `process_options_into'
5: from /var/lib/gems/2.5.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration_options.rb:109:in `each'
4: from /var/lib/gems/2.5.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration_options.rb:110:in `block in process_options_into'
3: from /var/lib/gems/2.5.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1181:in `requires='
2: from /var/lib/gems/2.5.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1181:in `each'
1: from /var/lib/gems/2.5.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1181:in `block in requires='
/var/lib/gems/2.5.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1181:in `require': cannot load such file -- spec_helper (LoadError)
I think there may be something wrong with my PATH, as i had to install my gems using sudo command. When trying to make sure bundler was updated I got the following warning:
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Using bundler 2.1.4
Using byebug 11.1.1
Following files may not be writable, so sudo is needed:
/usr/local/bin
/var/lib/gems/2.5.0
/var/lib/gems/2.5.0/build_info
/var/lib/gems/2.5.0/cache
/var/lib/gems/2.5.0/doc
/var/lib/gems/2.5.0/extensions
/var/lib/gems/2.5.0/gems
/var/lib/gems/2.5.0/specifications
Using diff-lcs 1.3
Using rspec-support 3.2.2
Using rspec-core 3.2.3
Using rspec-expectations 3.2.1
Using rspec-mocks 3.2.1
Using rspec 3.2.0
my computer is currently running the most recent version of ubuntu and I am using VScode if that provides any help. My current PATH seems like it has many repeated instances of the same thing and I don't know if that is contributing to anything.
My current PATH:
/home/tom/.rbenv/bin:/home/tom/.rbenv/shims:/home/tom/.rbenv/bin:/home/tom/.rbenv/bin:/home/tom/.rbenv/bin:/home/tom/.rbenv/shims:/home/tom/.rbenv/bin:/home/tom/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
any help is greatly appreciated! I am so tired of getting hung up by this and trying to google around figuring out whats wrong hasnt been helping.
What must I do when I want to copy an installed gem from one installation to another one without using the gem command?
I have to install SQLite3 on a server without an internet connection. Normally I can do it with a copy of the gem-file:
gem install --local sqlite3-1.4.0.gem --platform ruby
But for SQLite3 it needs a connection to the internet to get libraries to compile some binaries. The installation worked well on a computer with an internet connection.
So my idea was to take my successful installation on the same OS and same Ruby version and copy all the related components, but this did not work.
When I called:
require 'sequel'
db = Sequel.sqlite
I got this error:
LoadError: The specified module could not be found
d:/bin/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sqlite3-1.4.1/lib/sqlite3/sqlite3_native.so
(Sequel::AdapterNotFound)
In the trace is:
d:/bin/Ruby26-x64/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': LoadError: 126: The specified module could not be found. - d:/bin/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sqlite3-1.4.1/lib/sqlite3/sqlite3_native.so (Sequel::AdapterNotFound)
from d:/bin/Ruby26-x64/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from d:/bin/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sqlite3-1.4.1/lib/sqlite3.rb:6:in `rescue in <top (required)>'
from d:/bin/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sqlite3-1.4.1/lib/sqlite3.rb:2:in `<top (required)>'
from d:/bin/Ruby26-x64/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in `require'
from d:/bin/Ruby26-x64/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in `rescue in require'
from d:/bin/Ruby26-x64/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:34:in `require'
from d:/bin/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sequel-5.17.0/lib/sequel/adapters/sqlite.rb:3:in `<top (required)>'
from d:/bin/Ruby26-x64/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from d:/bin/Ruby26-x64/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from d:/bin/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sequel-5.17.0/lib/sequel/database/connecting.rb:88:in `load_adapter'
from d:/bin/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sequel-5.17.0/lib/sequel/database/connecting.rb:17:in `adapter_class'
from d:/bin/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sequel-5.17.0/lib/sequel/database/connecting.rb:45:in `connect'
from d:/bin/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sequel-5.17.0/lib/sequel/core.rb:121:in `connect'
from d:/bin/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sequel-5.17.0/lib/sequel/core.rb:399:in `adapter_method'
from d:/bin/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sequel-5.17.0/lib/sequel/core.rb:406:in `block (2 levels) in def_adapter_method'
from _ruby_version.rb:21:in `<main>'
but the file exists:
What is my error?
I'm using Windows Server 2016.
I found a precompiled version of SQLite3 in a GitHub issue which works for me, but I would like to use a newer version.
Use Bundler for this.
In short:
Run gem install bundler on each machine you're using.
Maintain a project Gemfile listing all requirements
Run bundle install when your Gemfile changes and bundle update to update to latest versions. This will generate the Gemfile.lock file.
Prefix ruby execution with bundle exec, e.g. bundle exec ruby myscript or bundle exec rails c
That's a brief summary, but please read up more on Bundler. It's an essential part of modern Ruby deployment.
You need to use the package option of bundler.
First you need to cache your dependencies into vendor/cache with:
bundle package --all --all-platforms
This will install all the dependencies of your Gemfile locally, then add the directory to your source code repository.
When deploying make sure you use bundle install --local to use the local version.
See the documentation for bundle package for more information.
I just recently did a bunch of upgrading on my jekyll site to get a plugin to install and now when I got to build I get this:
`jekyll 3.4.3 | Error: undefined method `gsub' for 25:Integer`
The full stack is:
Configuration file: /Users/susanjrobertson/Sites/jekyll_site/_config.yml
Source: /Users/susanjrobertson/Sites/jekyll_site
Destination: /Users/susanjrobertson/Sites/jekyll_site/_site
Incremental build: disabled. Enable with --incremental
Generating...
/Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/utils.rb:213:in `slugify': undefined method `gsub' for 25:Integer (NoMethodError)
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/drops/url_drop.rb:22:in `title'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/drops/drop.rb:52:in `public_send'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/drops/drop.rb:52:in `[]'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/url.rb:112:in `block in generate_url_from_drop'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/url.rb:102:in `gsub'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/url.rb:102:in `generate_url_from_drop'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/url.rb:69:in `generate_url'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/url.rb:60:in `generated_url'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/url.rb:40:in `to_s'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/document.rb:200:in `url'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/document.rb:214:in `destination'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/regenerator.rb:176:in `regenerate_document?'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/regenerator.rb:25:in `regenerate?'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/site.rb:451:in `block (2 levels) in render_docs'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/site.rb:450:in `each'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/site.rb:450:in `block in render_docs'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/site.rb:449:in `each'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/site.rb:449:in `render_docs'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/site.rb:190:in `render'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/site.rb:69:in `process'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/command.rb:26:in `process_site'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/commands/build.rb:63:in `build'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/commands/build.rb:34:in `process'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/lib/jekyll/commands/build.rb:16:in `block (2 levels) in init_with_program'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/gems/jekyll-3.4.3/exe/jekyll:13:in `<top (required)>'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/bin/jekyll:22:in `load'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/bin/jekyll:22:in `<main>'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
from /Users/susanjrobertson/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
I'm not the most adept with these things and have no idea what's going on here or how to fix it. X-Code is up to date, I'm using a ruby package manager to get the gems working together, but still am seeing this final error.
Any ideas? And Thank you!
After installation I just had the same error. Went to the jekyll-docs gem directory and ran...
jekyll serve
That command exited with...
Configuration file: C:/ruby217/lib/ruby/gems/2.1.0/gems/jekyll-docs-3.1.1/site/_config.yml Dependency Error: Yikes! It looks like you don't have jekyll-feed 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 -- jekyll-feed' If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/! jekyll 3.1.1 | Error: jekyll-feed
So I did...
gem install jekyll-feed
jekyll serve
This time...
Configuration file: C:/ruby217/lib/ruby/gems/2.1.0/gems/jekyll-docs-3.1.1/site/_config.yml Dependency Error: Yikes! It looks like you don't have jekyll-redirect-from 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 -- jekyll-redirect-from' If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/! jekyll 3.1.1 | Error: jekyll-redirect-from
Again...
gem install jekyll-redirect-from
jekyll serve
This time...
Configuration file: C:/ruby217/lib/ruby/gems/2.1.0/gems/jekyll-docs-3.1.1/site/_config.yml Source: C:/ruby217/lib/ruby/gems/2.1.0/gems/jekyll-docs-3.1.1/site Destination: C:/ruby217/lib/ruby/gems/2.1.0/gems/jekyll-docs-3.1.1/site/_site Incremental build: disabled. Enable with --incremental Generating... Dependency Error: Yikes! It looks like you don't have pygments 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 -- pygments' If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/! Liquid Exception: pygments in C:/ruby217/lib/ruby/gems/2.1.0/gems/jekyll-docs-3.1.1/site/_docs/assets.md ERROR: YOUR SITE COULD NOT BE BUILT: ------------------------------------ pygments
So I opened _config.yml (and there at the end of file were those 2 gems listed which I installed above. I should have opened the _config.yml first) and changed this line...
highlighter: pygments
to..
highlighter: rouge
because rouge was already installed on system. After that I ran...
jekyll serve
and voila. It worked.
Conclusion: required dependencies are not resolving correctly.
So, a friend in another place answered this question for me!
I had a post that was the following slug: 25 and Jekyll didn't like that at all, I changed it to twenty-five and it was all good!
Hope this helps someone else :)