我正在尝试捆绑安装,rake db:migrate
bundle install /home/name/.rvm/gems/ruby-2.3.0/bin/rake:22:in `': undefined method `activate_bin_path' for Gem:Module (NoMethodError) from /home/name/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval' from /home/name/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in ` '
我试过gem install bundler
它会给出错误
ERROR: While executing gem ... (TypeError) no implicit conversion of nil into String
哪个红宝石
/home/smk/.rvm/rubies/ruby-2.3.0/bin/ruby
rvm列表
ruby-2.0.0-p648 [ x86_64 ] ruby-2.1.5 [ x86_64 ] ruby-2.2.5 [ x86_64 ] =* ruby-2.3.0 [ x86_64 ]
我试过很多解决方案,但没有用,
请任何人帮助我.
这个回答表明updatig gem
和bundler
这样的:
gem update --system gem update bundler
如果这不起作用,请尝试重命名gems
通过运行获得的目录bundle show bundle
.