Changing ruby version disables rails and bundler -


i'm following along michael hartl's r-o-r tutorial. having hit problem, got advice on grab hartl's reference code github, i've done.

however, when following instructions reference code set in tmp directory, can either rbenv version 2.1.1, in case conflict gem file, or go ruby version 2.0.0-p451 in gem file, in case neither bundler nor rails run. following (for example) -

dans-macbook-air:sample_app_rails_4 dan$ rails  ruby version 2.1.1, gemfile specified 2.0.0  dans-macbook-air:sample_app_rails_4 dan$ rbenv local 2.0.0-p451 dans-macbook-air:sample_app_rails_4 dan$ rbenv rehash dans-macbook-air:sample_app_rails_4 dan$ bundler install  rbenv: bundler: command not found  `bundler' command exists in these ruby versions:   2.1.1  dans-macbook-air:sample_app_rails_4 dan$  

i change ruby version in gemfile, i'm trying track down bug want replicate original exactly.

thanks reading - ideas? when installed rails etc, working ruby 2.1.1 - has caused problem?

each version of ruby has own gemset. you'll have install bundler again each version of ruby.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -