can't not create a rails app with rails new command

if you can't create a rails app Through rails new [app_name]

/Users/seanhuang/.rvm/gems/ruby-1.9.3-p551/gems/bundler-1.13.1/lib/bundler/rubygems_ext.rb:45:in `full_gem_path': uninitialized constant Bundler::Plugin::API::Source (NameError)

you can check your bundler version is v1.13 , if it's you can remove v1.13 and install v1.12 to fix this problm

sudo gem uninstall bundler -v1.13.1 or gem uninstall bundler
sudo gem install -n /usr/local/bin bundler -v 1.12

if you use rvm you can remove bundler follow this way

rm -rf ~/.rvm/gems/ruby-2.0.0-p647/gems/bundler-1.13.1

Refernace
fastlane init fails with `full_gem_path': uninitialized constant Bundler::Plugin::API::Source (NameError)

comments powered by Disqus