I create a new app => rails new demo
…
…
create vendor/assets/stylesheets
create vendor/assets/stylesheets/.keep
run bundle install
/var/lib/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/ui.rb:36:in
initialize': undefined method
[]’ for #Thor::Shell::Color:0xa3b635c
(NoMethodError)
from /usr/lib/ruby/vendor_ruby/bundler/cli.rb:12:in new' from /usr/lib/ruby/vendor_ruby/bundler/cli.rb:12:in
initialize’
from /usr/lib/ruby/vendor_ruby/bundler/vendor/thor.rb:263:in new' from /usr/lib/ruby/vendor_ruby/bundler/vendor/thor.rb:263:in
dispatch’
from /usr/lib/ruby/vendor_ruby/bundler/vendor/thor/base.rb:386:in
start' from /var/lib/gems/1.9.1/gems/bundler-1.3.5/bin/bundle:20:in
block
in
I have a rails3 & ruby 1.9.1
After that i try to install bundle, but it will give a error
Bundler could not find compatible versions for gem “bundler”:
In Gemfile:
rails (= 4.0.0) ruby depends on
bundler (< 2.0, >= 1.3.0) ruby
Current Bundler version:
bundler (1.1.4)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running gem install bundler
?
Please let me know where i am wrong,
Thanks…
Tushar P…