Installing DC

View: New views
5 Messages — Rating Filter:   Alert me  

Installing DC

by Henri Yandell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Last one for a bit I promise :)

Given that Ruby on OS X looks a bit dodgy, I've gone ahead with a
Debian Linux install. This amounts to:

* Using aptitude to install ruby 1.8.2
* ln -s /usr/bin/ruby-1.8 to /usr/bin/ruby
* installing Gems 0.8.11
* svn co of DC

The next step is to:  "rake install_gems"

The error I get here is:

***************
hen@bonobo:~/ruby/damagecontrol$ rake install_gems
(in /home/hen/ruby/damagecontrol)
rake aborted!
Don't know how to build task 'install_gems'

(See full trace by running task with --trace)
***************

Any thoughts? I'm new to the ruby tools; not done much with ruby since
reading a couple of books about it in 2001.

Hen

Re: Installing DC

by Chad Woolley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

(I'm taking a shot at helping with posts even though I'm not fully up
on the latest damagecontrol, please correct me if needed)

Hi,

What instructions are you following?

Do you have a database set up yet, and your database.yml configured?
If not, you need to do that, then run rake migrate to set up the DB.
Then run plain 'rake', and I think that should be about it (right?)

-- Chad

On 1/20/06, Henri Yandell <flamefew@...> wrote:

> The next step is to:  "rake install_gems"
>
> The error I get here is:
>
> ***************
> hen@bonobo:~/ruby/damagecontrol$ rake install_gems
> (in /home/hen/ruby/damagecontrol)
> rake aborted!
> Don't know how to build task 'install_gems'
>
> (See full trace by running task with --trace)
> ***************

Re: Installing DC

by Aslak Hellesoy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 1/20/06, Henri Yandell <flamefew@...> wrote:

> Last one for a bit I promise :)
>
> Given that Ruby on OS X looks a bit dodgy, I've gone ahead with a
> Debian Linux install. This amounts to:
>
> * Using aptitude to install ruby 1.8.2
> * ln -s /usr/bin/ruby-1.8 to /usr/bin/ruby
> * installing Gems 0.8.11
> * svn co of DC
>
> The next step is to:  "rake install_gems"
>
> The error I get here is:
>
> ***************
> hen@bonobo:~/ruby/damagecontrol$ rake install_gems
> (in /home/hen/ruby/damagecontrol)
> rake aborted!
> Don't know how to build task 'install_gems'
>
> (See full trace by running task with --trace)
> ***************
>
> Any thoughts? I'm new to the ruby tools; not done much with ruby since
> reading a couple of books about it in 2001.
>

1) What do you get from 'rake --tasks'
2) Do you have a file called lib/tasks/gems.rake that defines a task
called :install_gems ?
3) What are your rake and gem versions? (rake --version, gem --version)
4) Are you on edge rails? See http://dev.buildpatterns.com/trac/ticket/6

Aslak

> Hen
>

Re: Installing DC

by Jun-ichiro Jimbo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, Hen.

Last night, I also got the same message when I installed
following DC's INSTALL document. After trial and error,
I found the way to work it.

Try to do "gem install rscm" before "rake install_gems", please.

I could make "rake install_gems" to work on this order.

= My current environment ===
* OS   : FedoraCore 4
* ruby : version 1.8.4
* rake : version 0.7.0
* gem  : version 0.8.11
* svn co of DC (revision 46)
  (from http://buildpatterns.com/svn/repos/damagecontrol/trunk/ )
After that, I arraged my environment to be on edge rails.
=

Regards.

Jun-ichiro
//

Henri Yandell wrote:

> Last one for a bit I promise :)
>
> Given that Ruby on OS X looks a bit dodgy, I've gone ahead with a
> Debian Linux install. This amounts to:
>
> * Using aptitude to install ruby 1.8.2
> * ln -s /usr/bin/ruby-1.8 to /usr/bin/ruby
> * installing Gems 0.8.11
> * svn co of DC
>
> The next step is to:  "rake install_gems"
>
> The error I get here is:
>
> ***************
> hen@bonobo:~/ruby/damagecontrol$ rake install_gems
> (in /home/hen/ruby/damagecontrol)
> rake aborted!
> Don't know how to build task 'install_gems'
>
> (See full trace by running task with --trace)
> ***************
>
> Any thoughts? I'm new to the ruby tools; not done much with ruby since
> reading a couple of books about it in 2001.
>
> Hen
>


Re: Installing DC

by Henri Yandell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Jun-ichiro; that helps a lot.

When doing rake install_gems, I get errors for:

sqlite3-ruby [I don't have sqlite installed]
fcgi

I'm going to presume that both are optional. As they're already
running on the machine, I'll be using mysql and apache-1.3. Using Ruby
1.8.2 from Debian Sarge currently.

Next step, being on edge rails (will use the jira issue for instructions).

Hen

On 1/20/06, Jun-ichiro Jimbo <twilight@...> wrote:

> Hi, Hen.
>
> Last night, I also got the same message when I installed
> following DC's INSTALL document. After trial and error,
> I found the way to work it.
>
> Try to do "gem install rscm" before "rake install_gems", please.
>
> I could make "rake install_gems" to work on this order.
>
> = My current environment ===
> * OS   : FedoraCore 4
> * ruby : version 1.8.4
> * rake : version 0.7.0
> * gem  : version 0.8.11
> * svn co of DC (revision 46)
>   (from http://buildpatterns.com/svn/repos/damagecontrol/trunk/ )
> After that, I arraged my environment to be on edge rails.
> =
>
> Regards.
>
> Jun-ichiro
> //
>
> Henri Yandell wrote:
> > Last one for a bit I promise :)
> >
> > Given that Ruby on OS X looks a bit dodgy, I've gone ahead with a
> > Debian Linux install. This amounts to:
> >
> > * Using aptitude to install ruby 1.8.2
> > * ln -s /usr/bin/ruby-1.8 to /usr/bin/ruby
> > * installing Gems 0.8.11
> > * svn co of DC
> >
> > The next step is to:  "rake install_gems"
> >
> > The error I get here is:
> >
> > ***************
> > hen@bonobo:~/ruby/damagecontrol$ rake install_gems
> > (in /home/hen/ruby/damagecontrol)
> > rake aborted!
> > Don't know how to build task 'install_gems'
> >
> > (See full trace by running task with --trace)
> > ***************
> >
> > Any thoughts? I'm new to the ruby tools; not done much with ruby since
> > reading a couple of books about it in 2001.
> >
> > Hen
> >
>
>