I used sudo bundle install , and this may be causing the problem?
Now I have:
gem -v 2.6.14ruby -v ruby 2.3.5p376 (2017-09-14, revision 59905) [x86_64-darwin15]jekyll -v 3.6.2bundle -v Bundler version 1.16.0.pre.3
When trying to run bundle exec jekyll serve or just jekyll serve
I get the following error
/Users/myusername/.rvm/rubies/ruby-2.3.5/lib/ruby/site_ruby/2.3.0/rubygems.rb:271:in 'find_spec_for_exe': can't find gem bundler (>= 0.a) (Gem::GemNotFoundException) from /Users/myusername/.rvm/rubies/ruby-2.3.5/lib/ruby/site_ruby/2.3.0/rubygems.rb:299:in 'activate_bin_path' from /Users/myusername/.rvm/gems/ruby-2.3.5/bin/bundle:23:in '<main>' from /Users/myusername/.rvm/gems/ruby-2.3.5/bin/ruby_executable_hooks:15:in 'eval' from /Users/myusername/.rvm/gems/ruby-2.3.5/bin/ruby_executable_hooks:15:in '<MacBooMacBook-MacBook-MacBook-Pro-MacBook-PrMacBook-MacBooMacBMaMacBMaMaMaMaMaMaMaMaMacBMaMaMaMacBMa
Also, when accessing the folder where my cd my_path blog is cd my_path , I get the following message:
The VM used your Gemfile to select Ruby, everything is fine - Heroku does the same, you can ignore these warnings with the 'rvm rvmrc warning ignore / Library / WebServer / Documents / blog / Gemfile'. To ignore the warning for all files, run "rvm rvmrc warning ignore allGemfiles". Unknown version of ruby interpreter (I don’t know how to handle it): RUBY_VERSION.
I have no idea how to solve this. I just want to create my own static blog and, frankly, have no idea about Ruby, Gem or Bundle :) So I would appreciate some ideas!
ruby bundle rubygems jekyll
Alvaro
source share