Sedikit Masalah script/console

Aug 8th, 2008 | Posted by

Semalem aku coba jalanin script/console

Tapi, malahan dapat error:

/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/console.rb:25:in `exec’: No such file or directory – irb -r irb/completion -r script/../config/../config/environment -r console_app -r console_with_helpers –simple-prompt (Errno::ENOENT)
from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/console.rb:25
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’
from ./script/console:3

Akhirnya setelah googling sebentar ketemu penyelesaiannya dari sini. Lalu coba di console.

$ sudo apt-get install irb

Setelah proses selesai, aku coba lagi script/console semua masalah teratasi.

Trims to AsalMikir

Related posts:

  1. How to: Install RubyOnRails in Fedora Core 7
  2. Gagal Upgrade Rubygems, piye iki?
  3. Install RealPlayer, Opera, dan RMagick di Ubuntu Hardy Heron
Tags:
No comments yet.
*