It didn't like either of those suggestions. Is it possible the gem didn't get installed correctly? I can as my host to reinstall it.

[~/railsapps/myapp]# rake production db:bootstrap RADIANT_GEM_VERSION=0.6.6
(in /home/jcblitz/railsapps/myapp)
Missing the Radiant 0.6.6 gem. Please `gem install -v=0.6.6 radiant`, update your RADIANT_GEM_VERSION setting in config/environment.rb for the Radiant version you do have installed, or comment out RADIANT_GEM_VERSION to use the latest version installed.

 [~/railsapps/myapp]# rake radiant:freeze:gem
(in /home/jcblitz/railsapps/myapp)
Missing the Radiant 0.6.6 gem. Please `gem install -v=0.6.6 radiant`, update your RADIANT_GEM_VERSION setting in config/environment.rb for the Radiant version you do have installed, or comment out RADIANT_GEM_VERSION to use the latest version installed.

On Apr 30, 2008, at 4:41 PM, Sean Cribbs wrote:

Jared,

Try passing it on the command line then:

rake production db:bootstrap RADIANT_GEM_VERSION=0.6.6

Your other option is to freeze the gem (which might be a better option overall):

rake radiant:freeze:gem

Sean

Jared Blitzstein wrote:
It didn't seem to make a difference:
RADIANT_GEM_VERSION = '0.6.6'
ENV['RAILS_ENV'] ||= 'production'

I added it to the production.rb class too, just in case. That didn't make a difference either.

On Apr 30, 2008, at 4:16 PM, Sean Cribbs wrote:

Jared,

Try putting it above the previous line. This shouldn't make a difference in an ideal world, but let's see if it does.

Sean

Jared Blitzstein wrote:
Thanks, I've added a ticket to trac and the line right below my production env variable, but that doesn't seem to fix the issue. I'm getting the same error. This is what my environment.rb looks like:

ENV['RAILS_ENV'] ||= 'production'
RADIANT_GEM_VERSION = '0.6.6'

On Apr 30, 2008, at 3:01 PM, Sean Cribbs wrote:

Jared,

I ran into this the other day as well. Please file a ticket on Trac, assign it to the 0.6.7 release, to the effect of "does not load latest gem when no RADIANT_GEM_VERSION specified". In the meantime, add a line to environment.rb that says RADIANT_GEM_VERSION = "0.6.6" -- that should fix your problem.

Sean

Jared Blitzstein wrote:
I've asked my shared host (asmallorange) to install the 0.6.6 gem and they have, I've confirmed with gem list

# gem list radiant
*** LOCAL GEMS ***
radiant (0.6.6, 0.6.4)

I've created a new site via: radiant -d mysql myap, created the database/updated database.yml, uncommented ENV['RAILS_ENV'] in environment.rb. When I run bootstrap I get the following

# rake production db:bootstrap
(in /home/myuser/railsapps/myradiantapp)
Missing the Radiant gem. Please `gem install -v= radiant`, update your RADIANT_GEM_VERSION setting in config/ environment.rb for the Radiant version you do have installed, or comment out RADIANT_GEM_VERSION to use the latest version installed.

I checked environment.rb and there isn't a RADIANT_GEM_VERSION entry so I would assume it would try and use the 0.6.6 gem. Is there a way I can confirm it is in-fact not finding the gem? The rails version is the 2.0.2 gem.
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to