Matt Jones wrote:
Troels - I'd recommend that you look for the same kind of thing in
your Rakefiles.
Indeed - I had a rake task in `lib/tasks/` that included
`config/environment.rb`. Thanks for your help.
Ari Maniatis wrote:
* rake gems:install should not try to load all the rake tasks
Matt Jones wrote:
Do you happen to have an RC version frozen in vendor/rails? That's my
next guess...
Nope, but it's an application that has been upgraded from an older
version, so there might be some leftover somewhere, that is causing
this. I'll try to see if I can replicate the issue in a
Matt Jones wrote:
What version of rails are you running?
2.3.2
I found out what the problem is though. Some gems are loaded by the
Rails initializer, so if they are missing, the rake tasks can't be
loaded. It's a catch-22 really. I wrote a wrapper script to fix it. If
any body else needs
More info on the matter here (And a hackety workaround):
http://www.railsforum.com/viewtopic.php?id=28417
--
troels
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
Hi list.
I've added the following line to my `config/environment.rb` file, within
the `Initializer`:
config.gem 'mislav-will_paginate', :version = '2.3.11', :lib =
'will_paginate', :source = 'http://gems.github.com'
When I then run the command `sudo rake gems:install`, I get the
following
5 matches
Mail list logo