ruby on rails - I keep getting this error ' Bundler could not find compatible versions for gem "bundler": ' -


i'm running ruby 1.9.3 , rails 4.0.0, , i'm starting learn how use ruby on rails. whenever type command run server:

    $ rails s 

i error:

bundler not find compatible versions gem "bundler":     in gemfile:      rails (= 4.0.0) depends on       bundler (< 2.0, >= 1.3.0)     current bundler version:      bundler (1.0.15) 

so updated , checked version of bundler using command:

    $ gem list bundler  

and result get:

    *** local gems ***      bundler (1.3.5, 1.3.0) 

although says this, still continue error mentioned above. know how fix this? thanks

you may have prefix bundle exec:

bundle exec rails server 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -