Error on rake goldberg:install

27 views
Skip to first unread message

MarcRic

unread,
Oct 30, 2009, 8:58:46 AM10/30/09
to Ruby on Rails: Goldberg
Hi,

Following instructions here:

http://groups.google.com/group/rubyonrails-goldberg/web/installation?hl=en

Here is a summary of my actions:

E:\TEMP\>gem install goldberg_generator -y
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
Successfully installed goldberg_generator-0.2.2
1 gem installed
Installing ri documentation for goldberg_generator-0.2.2...
File not found: lib

E:\TEMP\>rails mygold1
...OK

E:\TEMP\>cd mygold1

E:\TEMP\mygold1>ruby.exe script\generate goldberg default
...OK

E:\TEMP\mygold1>rake goldberg:install
(in E:/TEMP/mygold1)
rake aborted!
uninitialized constant Rails::Plugin::Dependencies

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

E:\TEMP\mygold1>gem list

*** LOCAL GEMS ***

...
gem_plugin (0.2.3)
goldberg_generator (0.2.2)
plugin_migrations (0.1.2)
rails (2.3.4, 2.1.2, 2.0.2, 1.1.6)
rake (0.8.7, 0.8.3, 0.8.1, 0.7.3)
RedCloth (4.2.2, 3.0.4)
sqlite3-ruby (1.2.5)
...

E:\TEMP\mygold1>

As you can see, there is no dependency message when installing
goldberg_generator gem.

I have installed RedCloth and plugin_migrations manually.

Any tip?

Thanks

James Silberbauer

unread,
Oct 30, 2009, 9:40:24 AM10/30/09
to rubyonrail...@googlegroups.com
Goldberg currently doesn't work with rails 2.3.x.
Try setting RAILS_GEM_VERSION = '2.1.2' in your environment.rb file.

Alternatively, Larry Sprock has a fork on github for rails 2.3.x at
http://github.com/lardawge/goldberg

Regards
James

MarcRic

unread,
Oct 31, 2009, 1:01:15 AM10/31/09
to Ruby on Rails: Goldberg
Hi James,

Thanks for the information, will check the 2.3.x fork later.

Just get it done with an older Rails version.

Here is what work for me:

1 - Install the ruby-postgres gem even if you will not use PostgreSQL.
2 - gem install rails -v=2.0.2 -nordoc -nori
3 - rails _2.0.2_ mygold1 --database=sqlite3
4 - cd mygold1
5 - ruby script/generate goldberg [default|ewnf|snooker|spoiled_brat]
6 - rake goldberg:install --trace
7 - ruby script/server

All the other Rails version (below and above) give some kind of error.

Regards.

On Oct 30, 11:40 am, James Silberbauer <james...@telkomsa.net> wrote:
> Goldberg currently doesn't work with rails 2.3.x.
> Try setting RAILS_GEM_VERSION = '2.1.2' in your environment.rb file.
>
> Alternatively, Larry Sprock has a fork on github for rails 2.3.x athttp://github.com/lardawge/goldberg
>
> Regards
> James
>
> MarcRic wrote:
> > Hi,
>
> > Following instructions here:
>
> >http://groups.google.com/group/rubyonrails-goldberg/web/installation?...

MarcRic

unread,
Oct 31, 2009, 1:19:47 AM10/31/09
to Ruby on Rails: Goldberg
Hi James,

Following instructions provided by Larry Sprock's fork, everything
works fine using Rails 2.3.4

Thanks.

On Oct 30, 11:40 am, James Silberbauer <james...@telkomsa.net> wrote:
> Goldberg currently doesn't work with rails 2.3.x.
> Try setting RAILS_GEM_VERSION = '2.1.2' in your environment.rb file.
>
> Alternatively, Larry Sprock has a fork on github for rails 2.3.x athttp://github.com/lardawge/goldberg
>
> Regards
> James
>
> MarcRic wrote:
> > Hi,
>
> > Following instructions here:
>
> >http://groups.google.com/group/rubyonrails-goldberg/web/installation?...
Reply all
Reply to author
Forward
0 new messages