我试图通过bundler
在远程服务器上部署Jekyll网站。这就是我所做的:
gem install jekyll bundler
有效。bundle --version
说bundle
不是命令,所以我戳了添加,发现它已安装在$HOME/ruby/gems/bin
中,然后将其添加到我的路径中。 现在,当我运行bundle --version
时,我得到:
/usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find bundler (>= 0) amongst [actionmailer-2.3.14, actionpack-2.3.14, activerecord-2.3.14, activeresource-2.3.14, activesupport-2.3.14, cgi_multipart_eof_fix-2.5.0, daemon_controller-0.2.6, daemons-1.1.4, fastthread-1.0.7, gem_plugin-0.2.3, mongrel-1.1.5, passenger-3.0.9, rack-1.1.2, rails-2.3.14, rake-0.9.2.2, rmagick-2.12.2, rubygems-update-1.8.11, sqlite3-1.3.4] (Gem::LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:256:in `to_spec'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1210:in `gem'
from /home/udallashosting/ruby/gems/bin/bundle:18
gem list bundler
输出bundler (1.14.6)
等等。
bundle
和rubygems-bundler
都未成功安装。我对Ruby几乎一无所知。