ruby - How do I run boxen in Mavericks with rbenv installed? -


i upgraded mac os 10.9 , message when run boxen:

bundler not compatible ruby 2.0 or rubygems 2.0. please upgrade bundler 1.3 or higher. can't bootstrap, dependencies outdated

i imagined set boxen's .ruby-version file 1.8.7, based on message above, still seems using ruby 2.0.

how can run boxen in mavericks?

i ran exact same issue. answer deceptively simple. since mavericks includes ruby 2.0.0p247 , rubygems 2.0.3, , apparently upgraded, system ruby not find bundler or ansi gems. need install both system ruby, root.

sudo /usr/bin/gem install bundler sudo /usr/bin/gem install ansi 

then restart or terminal. can run boxen normally. also, in order not keep old files lying around, may want cleanup /library/ruby/gems/1.8/ because include old installation of both bundler , ansi on ruby , gem installation no longer have.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -