Ubuntu 9.10
刚安装newgem
gem install newgem
当我尝试
newgem new_project
我得到
adam@adam-ubuntu:~$newgem newproject newgem: command not found
我通过echo $PATH检查了我的路径
adam@adam-ubuntu:~$echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/adam/.gem
和我的宝石环境
adam@adam-ubuntu:~$gem environment RubyGems Environment: - RUBYGEMS VERSION: 1.3.6 - RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux] - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8 - RUBY EXECUTABLE: /usr/bin/ruby1.8 - EXECUTABLE DIRECTORY: /usr/bin - RUBYGEMS PLATFORMS: - ruby - x86_64-linux - GEM PATHS: - /usr/lib/ruby/gems/1.8 - /home/adam/.gem/ruby/1.8 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://rubygems.org/
我不热门的路径等,但上面列出的所有宝石目录都在路径上,所以怎么没有找到命令?