-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Jekyll files and setup basic layouts #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great! 👍
A couple of notes... When I run Then when I run
Also, after running
|
Meaning, you had to run I'm still trying to do more research on Google, cause Ruby/gems/stuff, but I found this:
http://bundler.io/v1.1/man/bundle-install.1.html#SUDO-USAGE BTW, I'm not trying to pretend like I know what I'm doing FWIW. ¯\_(ツ)_/¯ |
Sorry, @gerardo-rodriguez, I think I misspoke. From the link you included above:
☝️ This is actually what happened. I never ran |
Me too, running Gemfile.lock | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile.lock b/Gemfile.lock
index db1dd9f..d284c0e 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -51,7 +51,7 @@ DEPENDENCIES
tzinfo-data
RUBY VERSION
- ruby 2.3.2p217
+ ruby 2.3.0p0
BUNDLED WITH
1.14.6 |
@tylersticka Out of curiousity, what do you get when you run My list includes: jekyll (3.4.2)
jekyll-feed (0.9.1)
jekyll-sass-converter (1.5.0)
jekyll-watch (1.5.0) |
@gerardo-rodriguez Mine's way longer...
|
@gerardo-rodriguez @tylersticka The changes to |
@gerardo-rodriguez When running |
@tylersticka @gerardo-rodriguez Can you both discard your local changes, pull, then run |
@erikjung Nope, it included those new |
No, just wanted to verify that you didn't have a mysteriously small list. |
@erikjung I discarded local changes, ran
|
@tylersticka
|
|
@tylersticka Perhaps that switch was added in a newer version. I would run @gerardo-rodriguez out of curiosity, which bundler version to you have? |
$ bundler -v
Bundler version 1.14.6 |
$ bundle update --ruby
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies...
Using public_suffix 2.0.5
Using colorator 1.1.0
Using ffi 1.9.18
Using forwardable-extended 2.6.0
Using sass 3.4.23
Using rb-fsevent 0.9.8
Using kramdown 1.13.2
Using liquid 3.0.6
Using mercenary 0.3.6
Using rouge 1.11.1
Using safe_yaml 1.0.4
Using bundler 1.14.6
Using addressable 2.5.0
Using rb-inotify 0.9.8
Using pathutil 0.14.0
Using jekyll-sass-converter 1.5.0
Using listen 3.0.8
Using jekyll-watch 1.5.0
Using jekyll 3.4.2
Using jekyll-feed 0.9.1
Using minima 2.1.0
Bundle updated! |
FYI, to update bundler you must run |
After updating |
@tylersticka No more local changes to |
@erikjung
$ g s
M Gemfile.lock diff --git a/Gemfile.lock b/Gemfile.lock
index db1dd9f..d284c0e 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -51,7 +51,7 @@ DEPENDENCIES
tzinfo-data
RUBY VERSION
- ruby 2.3.2p217
+ ruby 2.3.0p0
BUNDLED WITH
1.14.6 |
@gerardo-rodriguez Looking at this: https://devcenter.heroku.com/articles/ruby-versions#ruby-version-specifiers It seems like this might be something that is expected as long as we're using different Ruby versions and running |
Oh no, sorry, it's still modified. |
Okay, I don't think this is a hold up. If we are too annoyed by this, we can make everyone use RVM and choose an exact Ruby version. I'm going to add the instructions to the README and have others try on master. |
When I try to run
I've already run |
@aileenjeffries What do you get for |
@erikjung |
@aileenjeffries Did What about running |
@gerardo-rodriguez yeah, I don't think bundler got installed. When I try, it says that command is only available in certain versions of ruby. My version of ruby is after them. |
@aileenjeffries Can you try running |
@erikjung, it is:
|
@aileenjeffries Okay, that is the version we want. Can you now complete the setup process? Does |
@erikjung maybe? :)
|
@aileenjeffries Ah. Even though you posted your "2.2.3" Ruby version, I read it as "2.3.2". Let me make a change to our Gemfile so that we're targeting Ruby version 2.2 or higher. |
@erikjung after pulling
|
😐
|
|
@aileenjeffries That looks correct. So perhaps the issue is related to using How about |
|
@aileenjeffries Okay, so it looks like (for reasons unknown, but possibly related to how Boxen set things up) your I would try this next...which is a bandaid fix until we can properly rid your system of any Boxen remnants (which I believe @gerardo-rodriguez had to do also). Open your PATH=$PATH:/opt/rubies/2.2.3/lib/ruby/gems/2.2.0/bin Then run |
Does this mean I should go to |
@erikjung Yep, I no longer have Boxen on my system. See: https://github.com/boxen/our-boxen/blob/master/docs/faq.md#q-how-do-you-remove-boxen |
@erikjung Also more here: https://www.mobomo.com/2014/07/maintaining-boxen/
|
@aileenjeffries You should be able to run Can you run |
wuh wa waaa:
|
@aileenjeffries Oh, lucky us. Jekyll released a new version yesterday. Let me change our config again to allow for 3.4.2 or newer. |
:) |
@aileenjeffries Alright, let's try pulling master and running that again. |
I pulled master, ran it again and got what looks like the same error message. |
@aileenjeffries I was able to |
This adds the files generated by
jekyll new
with modifications to include the CSS from our pattern library (and some config tweaks).Assuming you have
bundle
already available, running this should be as simple as:bundle install
jekyll serve
Jekyll requirements: https://jekyllrb.com/docs/installation/#requirements
Ruby installation steps: https://www.ruby-lang.org/en/documentation/installation/#homebrew