# Ruby installation (?) problem

**URL:** <https://www.ruby-forum.com/t/ruby-installation-problem/104779>\
**Category:** Ruby\
**Created:** [May 22, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/ruby-installation-problem/104779 "2007-05-22T13:23:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johan\_RSSSSnnblom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/76d3ee/32.png) [@Johan\_RSSSSnnblom](https://www.ruby-forum.com/u/Johan_RSSSSnnblom)\
**Post date:** [May 22, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/ruby-installation-problem/104779/1 "2007-05-22T13:23:00Z")

</div>

Hi all

I’m trying to install the Radiant CMS system for Ruby. However, it seems  
there is something not quite right with the Ruby installation. I’m  
running Debian/sarge so I need some backports Ruby version, and possibly  
there might be some glitches in the setup due to this.

I’m running the following from the Radiant installation:  
% rake production db:bootstrap

And get this error:  
rake aborted!  
undefined method `namespace’ for main:Object  
/var/lib/gems/1.8/gems/radiant-0.6.1/Rakefile:7

Now, this line says:  
require ‘tasks/rails’

Any help or suggestions would be very appreciated,

---

<div class="post-metadata">

**Author:** ![Johan\_RSSSSnnblom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/76d3ee/32.png) [@Johan\_RSSSSnnblom](https://www.ruby-forum.com/u/Johan_RSSSSnnblom)\
**Post date:** [May 22, 2007, 5:06pm UTC](https://www.ruby-forum.com/t/ruby-installation-problem/104779/2 "2007-05-22T17:06:42Z")

</div>

On 5/22/07, Johan Rönnblom [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> /var/lib/gems/1.8/gems/radiant-0.6.1/Rakefile:7
> 
> Now, this line says:  
> require ‘tasks/rails’
> 
> Any help or suggestions would be very appreciated,

Not a direct answer to your question, but I’d recommend that anyone  
doing ruby in earnest on a debian system install ruby from source  
rather than (or in addition to) the debian packages.

The debian ruby package maintainers partition ruby in their own way,  
AND since they see some kind of conflict between the way they want to  
do package management, and the way rubygems does it, they don’t  
support gems well if at all.

What I’ve done on my ubuntu system is to install ruby from source in  
/usr/local and leave the debian packages installed for other packages  
which depend on them. I just use svn/make and gem to keep things up  
to date.

–  
Rick DeNatale

My blog on Ruby  
[http://talklikeaduck.denhaven2.com/](http://talklikeaduck.denhaven2.com/)

---

<div class="post-metadata">

**Author:** ![Johan\_RSSSSnnblom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/76d3ee/32.png) [@Johan\_RSSSSnnblom](https://www.ruby-forum.com/u/Johan_RSSSSnnblom)\
**Post date:** [May 22, 2007, 7:32pm UTC](https://www.ruby-forum.com/t/ruby-installation-problem/104779/3 "2007-05-22T19:32:07Z")

</div>

Johan Rönnblom wrote:

> /var/lib/gems/1.8/gems/radiant-0.6.1/Rakefile:7  
> Rake 0.7 added the concept of namespaces, so you probably don’t have the  
> latest version of rake.

$ rake --version

I have 0.7.3 on my box and it runs fine. You might try upgrading if you  
have something less than 0.7.
