Forum: Ruby on Rails State of the Breezy

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ad7805c9fcc1f13efc6ed11251a6c4d2?d=identicon&s=25 Alex Young (Guest)
on 2006-02-26 15:24
(Received via mailing list)
What's the current state of Rails installation on a fresh Ubuntu Breezy?
  I've just set up a laptop with a fresh installation, and tried to
install ruby et al, and got nowhere fast.  The default ruby is 1.8.3,
and compiling the source for 1.8.4 leaves the rubygems setup.rb breaking
unable to find zlib (and yes, I have checked for zlib1g-dev and
readline).  Is there a known good walkthrough somewhere, or am I just
being dense?
E8d4e155929363bd22a7852494d18c25?d=identicon&s=25 Nicholas H.Tollervey (Guest)
on 2006-02-26 16:43
(Received via mailing list)
Hi,

Breezy works fine. The default Ruby is 1.8.2 not 1.8.3. Install
everything thus:

Make sure you have universe and multiverse enabled and select the rails
package in synaptic. This will install all the correct dependencies.

De-select rails and install the ruby packages.

Grab rubygems and compile it. Install rails (and deps) via gem.

I've not had any problems so far using Rails/Ruby with PostgreSQL on my
laptop.

Best of luck,

Nicholas
Ad7805c9fcc1f13efc6ed11251a6c4d2?d=identicon&s=25 Alex Young (Guest)
on 2006-02-27 08:52
(Received via mailing list)
Nicholas H.Tollervey wrote:
> Hi,
>
> Breezy works fine. The default Ruby is 1.8.2 not 1.8.3.
Afraid not...

> Install
> everything thus:
>
> Make sure you have universe and multiverse enabled and select the rails
> package in synaptic. This will install all the correct dependencies.
>
> De-select rails and install the ruby packages.
Following exactly that procedure on a completely fresh install as of
about 3 o'clock yesterday afternoon gives:

alex@pandora:~$ ruby -v
ruby 1.8.3 (2005-06-23) [i486-linux]

Is there a repository with a complete set of 1.8.4 breezy packages that
will get Rails into a known-good state anywhere?
494e0313d09e2b405fcc19c7405239a4?d=identicon&s=25 bmgz (Guest)
on 2006-02-27 09:25
(Received via mailing list)
You may also want to avoid ubuntu's rmagick package as it is broken
because of some incompatibility with imagemagick..

Install ruby, then compile/install rubygems and install the latest rails
and rmagick using rubygems(rmagick requires imagemagick and ruby dev
packages and
of course build-essential(gcc etc..))

HTH
Ad7805c9fcc1f13efc6ed11251a6c4d2?d=identicon&s=25 Alex Young (Guest)
on 2006-02-27 09:40
(Received via mailing list)
bmgz wrote:
> You may also want to avoid ubuntu's rmagick package as it is broken
> because of some incompatibility with imagemagick..
I wish I could get that far.  Ubuntu's desktop setup is quite nice, by
default.

>
> Install ruby, then compile/install rubygems and install the latest rails
> and rmagick using rubygems(rmagick requires imagemagick and ruby dev
> packages and
> of course build-essential(gcc etc..))
Given that I can't get the first two to work at the same time (I either
get 1.8.3 and rubygems, or 1.8.4 from source and no rubygems), I think
it's back to Sarge for me...
D5e95369c4366d0ccd6a21828ca11c79?d=identicon&s=25 Brendon Gleeson (Guest)
on 2006-02-27 10:01
(Received via mailing list)
Alex Young wrote:
...
> Given that I can't get the first two to work at the same time (I either
> get 1.8.3 and rubygems, or 1.8.4 from source and no rubygems), I think
> it's back to Sarge for me...
...

Strange? what exactly is the prob? ive re-installed Breezy twice and
have
had no troubles setting up rails (apart from rmagick issue)...
E8d4e155929363bd22a7852494d18c25?d=identicon&s=25 ntollervey (Guest)
on 2006-02-27 10:14
(Received via mailing list)
Alex Young wrote:
> Nicholas H.Tollervey wrote:
>> Hi,
>>
>> Breezy works fine. The default Ruby is 1.8.2 not 1.8.3.
> Afraid not...
Tis! :-)

APT tells me that the latest version of ruby is 1.8.2-1.

Is APT on your machine looking at the right repos (mine are the default
UK repos)?

Also, checking the Ubuntu launchpad site, the version of ruby for breezy
is marked as 1.8.2 (ref:
https://launchpad.net/distros/ubuntu/breezy/i386/r...).
I'd check you've got your repos set up right or you might have an
additional repos with a later version of ruby available.

Hope this helps,

Nicholas
Ad7805c9fcc1f13efc6ed11251a6c4d2?d=identicon&s=25 Alex Young (Guest)
on 2006-02-27 13:10
(Received via mailing list)
ntollervey wrote:
> Alex Young wrote:
>> Nicholas H.Tollervey wrote:
>>> Hi,
>>>
>>> Breezy works fine. The default Ruby is 1.8.2 not 1.8.3.
>> Afraid not...
> Tis! :-)
>
> APT tells me that the latest version of ruby is 1.8.2-1.
Curiouser and curiouser.  apt-cache showpkg ruby gives a version of
1.8.2-1, but that's not what the command line's telling me.  Something
is rotten around here, and I don't think it's my lunch.

> Is APT on your machine looking at the right repos (mine are the default
> UK repos)?
Yup.  All as default.  I did nothing except install ubuntu, open
Synaptic, include universe and multiverse, update, select rails,
deselect rails, and apply.  Nothing else.

> Also, checking the Ubuntu launchpad site, the version of ruby for breezy
> is marked as 1.8.2 (ref:
> https://launchpad.net/distros/ubuntu/breezy/i386/r...).
> I'd check you've got your repos set up right or you might have an
> additional repos with a later version of ruby available.
I reckon it must be either universe or multiverse that's done this...
Not much fun.  Especially as there's no sign of an offending package in
/var/cache/apt/archives.  Oh well, time for a hunt.  I've got enough
configured on the machine now that I may as well try to keep it up.
Ad7805c9fcc1f13efc6ed11251a6c4d2?d=identicon&s=25 Alex Young (Guest)
on 2006-02-27 14:01
(Received via mailing list)
Alex Young wrote:
> ntollervey wrote:
>> APT tells me that the latest version of ruby is 1.8.2-1.
>
> Curiouser and curiouser.  apt-cache showpkg ruby gives a version of
> 1.8.2-1, but that's not what the command line's telling me.  Something
> is rotten around here, and I don't think it's my lunch.

I've found out what's going on - the ubuntu ruby reports itself as
1.8.3, but the important bits are actually from 1.8.2.

So it looks for the moment like it's not a problem...  I'm just going to
blunder on through until something breaks, I think.

Sorry for the noise, folks - this had me *really* confused.
27c57aaa4bda5ac8b0593659573b522f?d=identicon&s=25 Blair Zajac (Guest)
on 2006-02-27 18:37
(Received via mailing list)
Alex Young wrote:
>>
> Is there a repository with a complete set of 1.8.4 breezy packages that
> will get Rails into a known-good state anywhere?

I still use the 1.8.2-1 that comes with Breezy, but have a nice rubygems
package
that installs all the gems into /var/lib/gems, so a simple 'dpkg --purge
rubygems' removes all the gems from the system.  This is this, as you
don't have
files that are not managed by a package.

I have a number of packages available at

http://www.orcaware.com/packages/ubuntu/

Regards,
Blair

--
Blair Zajac, Ph.D.
<blair@orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
This topic is locked and can not be replied to.