ruby - Problems with bundle (Rails) -


i'm running ruby 1.9.3 , rails 4.0.0, , i'm starting learn how use ruby on rails. whenever type command create project: rails new blog error when bundle tries execute "bundle install" command:

bundler not find compatible versions gem "bundler": in gemfile: rails (= 4.0.0) ruby depends on   bundler (< 2.0, >= 1.3.0) ruby  current bundler version:   bundler (1.2.3)  gemfile requires different version of bundler. perhaps need update bundler running `gem install bundler`? 

but command: gem list bundle returns: bundler (1.3.5, 1.2.3) , command: bundle -v returns: bundler version 1.3.5

i don't know why that's happening, appreciate help, thanks.

try check gemfile.lock used bundler version.

you can try uninstall old version:

gem uninstall bundler --version 1.2.3 

Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

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

iphone - Three second countdown in cocos2d -