FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

LinkBack Thread Tools
Old 11-24-2007, 06:48 AM
Hans de Graaff
Default emerge v gem for rails

On Sat, 24 Nov 2007 05:30:14 +0000, Thufir wrote:

> I'm running into some error messages from rails when running "script/
> generate controller foo" and am wondering if it's related to package
> management, a mismatch between gems and emerge. Do not use gems, use
> emerge? The wiki is incorrect?

I'd consider the wiki in general to be a good first source of information
but certainly not accurate. Usually this is because the page is created
at some point but not properly maintained or reviewed. In this case the
mention of Rails 1.1 and not Rails 1.2 is a dead giveaway that this page
is outdated.

> The gentoo wiki, <http://gentoo-wiki.com/HOWTO_RoR>, says to:
> emerge -av sqlite3-ruby
> gem install sqlite3-ruby

You really don't want to do both of these. In fact, emerging the sqlite3-
ruby already installs the gem version, so running 'gem install sqlite3-
ruby' will at best have no effect and at worst confuse emerge at a later

> So, it looks like the version of sqlite3-ruby installed matches the
> instructions at the wiki, but the version number doesn't seem to match
> what's available through "gem"; and the wiki specifically states to
> install the gem.

The wiki instructions are non-sense. I guess that this originates from
the fact that we install some packages in site-ruby which means that gem
dependencies don't always work, aka bug https://bugs.gentoo.org/

In this particular case the instruction is nonsense since portage already
installs the gem.

> The error I'm running into may be totally unrelated to this. It seems a
> bit odd to me that sqlite3-ruby must be emerged through portage and that
> gem must install it as well -- one or the other would seem to be
> sufficient.

Good thinking. :-)

Without showing us the error we can't help you with that, though.

Kind regards,


gentoo-user@gentoo.org mailing list

Thread Tools

All times are GMT. The time now is 01:09 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org