1
我剛剛安裝了heroku,並打算在rails上使用它。然而,當我運行"heroku create"
命令我得到這個:無法執行「heroku創建」
[email protected]:~/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...
[email protected]:~/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/[email protected]/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/[email protected]/gems/heroku-2.16.3/lib/heroku/command.rb:14:in `block in load'
from /home/hadoop/.rvm/gems/[email protected]/gems/heroku-2.16.3/lib/heroku/command.rb:13:in `each'
from /home/hadoop/.rvm/gems/[email protected]/gems/heroku-2.16.3/lib/heroku/command.rb:13:in `load'
from /home/hadoop/.rvm/gems/[email protected]/gems/heroku-2.16.3/bin/heroku:12:in `<top (required)>'
from /home/hadoop/.rvm/gems/[email protected]/bin/heroku:19:in `load'
from /home/hadoop/.rvm/gems/[email protected]/bin/heroku:19:in `<main>'
[email protected]:~/rails_projects/first_app
是不是有什麼毛病我使用的版本?