我刚刚安装了heroku并计划在Ruby上使用rails。但是,当我运行"heroku create"
命令时,我得到了这个:
hadoop@master:~/rails_projects/first_app> gem install heroku
Successfully installed heroku-2.16.3
1 gem installed
Installing ri documentation for heroku-2.16.3...
Installing RDoc documentation for heroku-2.16.3...
hadoop@master:~/rails_projects/first_app> heroku -v
/home/hadoop/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load -- readline (LoadError)
from /home/hadoop/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/hadoop/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/heroku-2.16.3/lib/heroku/command/run.rb:1:in `<top (required)>'
from /home/hadoop/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/hadoop/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/hadoop/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/heroku-2.16.3/lib/heroku/command.rb:14:in `block in load'
from /home/hadoop/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/heroku-2.16.3/lib/heroku/command.rb:13:in `each'
from /home/hadoop/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/heroku-2.16.3/lib/heroku/command.rb:13:in `load'
from /home/hadoop/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/heroku-2.16.3/bin/heroku:12:in `<top (required)>'
from /home/hadoop/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/bin/heroku:19:in `load'
from /home/hadoop/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/bin/heroku:19:in `<main>'
hadoop@master:~/rails_projects/first_app
我使用的版本有问题吗?