我正在尝试进行“bundle install”和“rake db:migrate”操作。
bundle install
/home/name/.rvm/gems/ruby-2.3.0/bin/rake:22:in `<main>': 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 `<main>'
我尝试了
gem install bundler
,但是出现了错误。ERROR: While executing gem ... (TypeError)
no implicit conversion of nil into String
哪个版本的Ruby
/home/smk/.rvm/rubies/ruby-2.3.0/bin/ruby
rvm list
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 ]
我尝试了许多解决方案,但都没有用。
请有人帮帮我。
gem install bundler
就可以了。 - cleicargem install bundler
。 - user7294900