forgot password?


   
 
can’t activate rubyforge (= 0.4.5), already activated rubyforge-1.0.0]
Posted: 22 June 2008 05:05 AM   [ Ignore ]  
Newbie
Rank
Total Posts:  2
Joined  2008-06-22

Hi everyone,

I’m still so new to tracks, so I encountered a few problems in installing it. After doing all the casualties (downloading, extracting and setting up the database connection) I done exactly the same thing as instructed in the documentation

Populate your database with the Tracks 1.6 schema
Open a terminal and change into the root of your Tracks 1.6 directory. Enter the following command:
rake db:migrate RAILS_ENV=production

than it threw a few errors as the following:

gerryleonugroho:~/Desktop/tracks-1.6 gerryleonugroho$ rake db:migrate RAILS_ENV=production
(in /Users/gerryleonugroho/Desktop/tracks-1.6)
rake aborted!
can’t activate rubyforge (= 0.4.5), already activated rubyforge-1.0.0]

Any idea what when wrong with my installation? Oh, btw, I’m on Mac OS X 10.4.11 and using MySQL for production environment.

Many thanks in advanced.

Profile
 
 
Posted: 22 June 2008 08:41 AM   [ Ignore ]   [ # 1 ]  
Sr. Member
RankRankRankRank
Total Posts:  882
Joined  2006-10-05

Ive had this one when there were multiple versions of rubyforge on my system. I did a gem uninstall rubyforge (all versions) and reinstalled only the lastest version. After that my problems went away

Profile
 
 
Posted: 22 June 2008 11:06 AM   [ Ignore ]   [ # 2 ]  
Member
Avatar
RankRankRank
Total Posts:  62
Joined  2006-07-18

I had the same experience as Reinier.

 Signature 

Luke Melia - Tracks committer - New York, NY - http://www.lukemelia.com/

Profile
 
 
Posted: 23 June 2008 03:12 AM   [ Ignore ]   [ # 3 ]  
Newbie
Rank
Total Posts:  2
Joined  2008-06-22

Ah, here’s a few things to get this going..

Last login: Mon Jun 23 09:50:17 on ttyp1
Welcome to Darwin!
gerryleonugroho:~ gerryleonugroho$ sudo gem list rubyforge

*** LOCAL GEMS ***

rubyforge (1.0.0, 0.4.5, 0.4.4, 0.4.2)
gerryleonugroho:~ gerryleonugroho$ sudo gem list rubyforge

Well what do you know, I have multiple instance of rubyforge after all. Than I simply invoked the following command:

gerryleonugroho:~ gerryleonugroho$ sudo gem uninstall rubyforge

Select gem to uninstall:
1. rubyforge-0.4.2
2. rubyforge-0.4.4
3. rubyforge-0.4.5
4. rubyforge-1.0.0
5. All versions
> 1
Successfully uninstalled rubyforge-0.4.2

gerryleonugroho:~ gerryleonugroho$ sudo gem uninstall rubyforge    

Select gem to uninstall:
1. rubyforge-0.4.4
2. rubyforge-0.4.5
3. rubyforge-1.0.0
4. All versions
> 1

Successfully uninstalled rubyforge-0.4.4

gerryleonugroho:~ gerryleonugroho$ sudo gem uninstall rubyforge

Select gem to uninstall:
1. rubyforge-0.4.5
2. rubyforge-1.0.0
3. All versions
> 1
Successfully uninstalled rubyforge-0.4.5

Again, I checked what’s left on my rubyforge’s gem

gerryleonugroho:~ gerryleonugroho$ sudo gem list rubyforge

*** LOCAL GEMS ***

rubyforge (1.0.0)
gerryleonugroho:~ gerryleonugroho$

Than I simply ran the following too,

gerryleonugroho:~/Desktop/tracks-1.6 gerryleonugroho$ rake db:migrate RAILS_ENV=production
(in /Users/gerryleonugroho/Desktop/tracks-1.6)

And get the following :

== 1 CreateTracksDb: migrating ================================================
—create_table(:contexts)
  -> 0.0906s
—create_table(:projects)
  -> 0.0037s
—create_table(:todos)
  -> 0.0038s
—create_table(:users)
  -> 0.0035s
== 1 CreateTracksDb: migrated (0.1024s) =======================================

—-Flew some data migrations…

And start with my dev server with the following:

gerryleonugroho:~/Desktop/tracks-1.6 gerryleonugroho$ thin start
>> Using rails adapter
>> Thin web server (v0.8.1 codename Rebel Porpoise)
>> Threaded mode OFF
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3000, CTRL+C to stop

Voila, I,m able to login now. Okay, many thanks for the enlightenment lukemelia & Reinier Balt.

Profile