Following install instructions and I get these errors

9 views
Skip to first unread message

Huet

unread,
May 6, 2010, 4:12:02 PM5/6/10
to Skyline CMS
Hi all,

I am new to ROR, so sorry if this error is a simple fix.

I am following the steps to setup the cms on unbuntu 9.10 using rvm
1.8.7-p249

When I try to run ./script/console I get the following error.

hbartels@nicholas-laptop:~/projects/cms-demo/script$ ./console
Loading development environment (Rails 2.3.5)
/home/hbartels/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/irb/
completion.rb:10:in `require': no such file to load -- readline
(LoadError)
from /home/hbartels/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/irb/
completion.rb:10
from /home/hbartels/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/irb/
init.rb:254:in `require'
from /home/hbartels/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/irb/
init.rb:254:in `load_modules'
from /home/hbartels/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/irb/
init.rb:252:in `each'
from /home/hbartels/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/irb/
init.rb:252:in `load_modules'
from /home/hbartels/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/irb/
init.rb:21:in `setup'
from /home/hbartels/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/irb.rb:
54:in `start'
from /home/hbartels/.rvm/rubies/ruby-1.8.7-p249/bin/irb:18

Has anyone got a solution for this please.

regards

Huet

Ronald Wind

unread,
May 7, 2010, 3:26:22 AM5/7/10
to skyli...@googlegroups.com
Hi Huet,

This seems to be a general problem with Ruby (and nothing specific to
Skyline). The solution I came across on the internet is to recompile
readline:

http://snippets.aktagon.com/snippets/57-Solution-to-require-no-such-file-to-load-readline-LoadError-problem
http://web.elctech.com/2009/01/09/fixing-ruby-no-such-file-to-load-readline-error-in-centos/

Hopefully this will also be the answer to your problem.

Kind regards,
Ronald

hu...@huetbartels.com

unread,
May 7, 2010, 5:37:06 AM5/7/10
to skyli...@googlegroups.com

Hi Ronald,

 

Thanks for that, it turned out that I did not have readline ubuntu packages installed.

 

What I installed was the following for other developers information

 

sudo aptitude install libreadline-ruby1.8 libreadline-ruby1.9 libreadline-dev

 

Please note you will need a root enabled account to do this.

 

Thanks again

 

Huet

Reply all
Reply to author
Forward
0 new messages