locomotivecms/documentation

'bundler' gem appears to be a dependency not specified in blog tutorial ?

owenscott opened this issue · 1 comments

Apologies as I am new to ruby so this might be evident to someone else. Working through the blog tutorial and I:

  • installed XCode
  • verified that ruby was at 2.0.0 (my default from OSX)
  • installed wagon

After which I ran:

$ wagon init blog . -t bootstrap3

At the end of the installation process I got the error:

 run  bundle install
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems.rb:269:in `bin_path': can't find gem bundler (>= 0) (Gem::GemNotFoundException)

I "solved" this by running gem install bundler in the working directory; I'm not sure if this is an ideal solution but allowed me to finish the install. Only posting here in case someone who knows more about Ruby gems can indicate whether this was particular to my setup or something that might affect all new mac users (in which case a note in the first section of the tutorial might be nice).

Thanks a tonne either way. LocomotiveCMS looks awesome.

did commented

hi @owenscott, that's right, although it's mentioned in the installation guide of Wagon (http://doc.locomotivecms.com/get-started/install-wagon#mac) step 4. The thing is, since you didn't have to install Ruby, chances are that you missed the step 4, did you?
Anyway, thanks for your kind words :-)