Forum: Developer
Install issues
|
|
Hans W 17.Apr.2011 12:27pm
Hello,
I am trying to get webiva installed and run into the following issues: First I installed on Ubunto 10.04 32b Lucid and could not install some of the needed apps: libimage-size-ruby1.8 libmysql-ruby1.8 irb memcached rubygems rake So I started over with a clean Ubuntu 8.04 which installed all fine. I needed to enter a sql password and choose a code which I choose to be utf-8 which might be handy to add to the installation instructions. The next step failed: when trying to install starling or cloning the wibiva site I ran into: :~$ sudo gem install starling ERROR: While executing gem … (Gem::RemoteSourceException) HTTP Response 302 :~$ git clone git://github.com/cykod/webiva.git Initialized empty Git repository in /home/webivauser/webiva/.git/ fatal: protocol error: expected sha/ref, got ‘ERR Could not find Repository cykod/webiva’ fetch-pack from ‘git://github.com/cykod/webiva.git’ failed. :~$ I might overlook something obvious because I am new to rails but any help is greatly appreciated. Hans |
|
|
Pascal Rettig 17.Apr.2011 1:49pm
Hi Hans,
You should be able to install on the latest lucid – check out the script in doc/install_ubuntu_packages.sh Make sure you have rubygem’s install correctly and up to date – you need to be able to install gems to run the system correctly, and starling is a gem that should install http://rubygems.org/gems/starling -Pascal |
|
|
Hans W 17.Apr.2011 5:46pm
Hi Pascal,
thanks for your help. I have gone back to a clean install of lucid, adapted the script to reflect my environment and ran sudo bash installscript.sh but no luck. Again it cannot find a number of packages to install: libimage-size-ruby1.8 libmysql-ruby1.8 irb memcached rubygems rake When I remove them from the script the script runs but stops at Processing triggers for libc-bin … ldconfig deferred processing now taking place /usr/bin/gem not found. Can not install required gems. I guess installing isn’t as easy as I thought. Maybe I am overlooking something obvious or should I be more experienced in order to do this? Hans |
|
|
Pascal Rettig 17.Apr.2011 5:49pm
Hi Hans,
Just checking ‘irb’ – it’s in the universe packge for lucid http://packages.ubuntu.com/lucid/irb – are you sure you have your apt sources set up correctly? -Pascal |
|
|
Hans W 17.Apr.2011 5:55pm
Ho Pascal,
probably not since I am not sure what you mean here ;-). I have done a bear install vps, ssh into it, made a user, gave it a password and added the user to sudoers. Then copied and ran the script. Hans |
|
|
Pascal Rettig 17.Apr.2011 6:00pm
Hi Hans,
What do you get when you run: $ sudo aptitude update $ sudo aptitude search irb If you don’t get irb can you post your /etc/apt/sources.list ? -Pasca |
|
|
Hans W 17.Apr.2011 6:20pm
Hi Pascal,
Here is the result: $ sudo aptitude update Writing extended state information… Done Hit http://security.ubuntu.com lucid-security Release.gpg Hit http://security.ubuntu.com lucid-security Release Hit http://security.ubuntu.com lucid-security/main Packages Hit http://archive.ubuntu.com lucid Release.gpg Hit http://archive.ubuntu.com lucid Release Hit http://archive.ubuntu.com lucid/main Packages Reading package lists… Done $ sudo aptitude search irb i A irb1.8 – Interactive Ruby (for Ruby 1.8) $ sudo apt-get install irb Reading package lists… Done Building dependency tree Reading state information… Done E: Couldn’t find package irb $ cat /etc/apt/sources.list deb http://archive.ubuntu.com/ubuntu lucid main deb http://security.ubuntu.com/ubuntu lucid-security main |
|
|
Hans W 17.Apr.2011 6:33pm
Hi Pascal,
I have done some googling on the pointer you gave me, irb being in the universe package list and edited the sources.list and added universe and muliverse versions of archive and security. The script is running now and seems to be installing the missing packages.. Thanks for your help. Hopefully this does the trick. I will post the results when it is done! Hans |
|
|
Hans W 17.Apr.2011 8:07pm
Pascal,
It works!! Al least, it looks that way. Adding the package lists did the trick. Thanks a lot for your help! I will dive into the functionality now and will post my findings at a later date. Regards, Hans |

