Rack/cache issue

Hello decided to try radiant but I keep getting this error… any
idea?

rake production db:bootstrap
(in /var/www/dev.binaryfreedom.info)
rake aborted!
no such file to load – rack/cache

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

Thanks!

On Wed, Nov 3, 2010 at 7:02 PM, Rek2GNULinux [email protected]
wrote:

Hello decided to try radiant but I keep getting this error… any
idea?

rake production db:bootstrap
(in /var/www/dev.binaryfreedom.info)
rake aborted!
no such file to load – rack/cache

probably a bum install. could you explain how you installed radiant
and setup your site. and gist or pastie the output of rake production db:bootstrap --trace

I use gentoo so I emerge radiant then I run:
radiant --database=mysql
I created the mysql databases
configure the /config/databases.yml
and then I try
rake db:bootstrap and I get that error…

here is with --trace…

rake db:bootstrap --trace
(in /var/www/mysite)
** Invoke db:bootstrap (first_time)
** Invoke db:remigrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
no such file to load – rack/cache
/usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire’
/usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.10/lib/active_support/
dependencies.rb:182:in require' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.10/lib/active_support/ dependencies.rb:547:innew_constants_in’
/usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.10/lib/active_support/
dependencies.rb:182:in require' /usr/lib64/ruby/gems/1.8/gems/radiant-0.9.1/lib/radiant/cache.rb:1 /var/www/dev.binaryfreedom.info/config/environment.rb:55 /usr/lib64/ruby/gems/1.8/gems/rails-2.3.10/lib/initializer.rb:111:inrun’
/usr/lib64/ruby/gems/1.8/gems/radiant-0.9.1/lib/radiant/initializer.rb:
157:in run' /var/www/dev.binaryfreedom.info/config/environment.rb:12 /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require’
/usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.10/lib/active_support/ dependencies.rb:182:inrequire’
/usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.10/lib/active_support/
dependencies.rb:547:in new_constants_in' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.10/lib/active_support/ dependencies.rb:182:inrequire’
/usr/lib64/ruby/gems/1.8/gems/rails-2.3.10/lib/tasks/misc.rake:4
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in call' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:inexecute’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in each' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:inexecute’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
invoke_with_call_chain' /usr/lib64/ruby/1.8/monitor.rb:242:insynchronize’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
invoke_with_call_chain' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:ininvoke_prerequisites’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in each' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:ininvoke_prerequisites’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in
invoke_with_call_chain' /usr/lib64/ruby/1.8/monitor.rb:242:insynchronize’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
invoke_with_call_chain' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:ininvoke_prerequisites’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in each' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:ininvoke_prerequisites’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in
invoke_with_call_chain' /usr/lib64/ruby/1.8/monitor.rb:242:insynchronize’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
invoke_with_call_chain' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:ininvoke’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
invoke_task' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:intop_level’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in each' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:intop_level’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_exception_handling' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:intop_level’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in run' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:instandard_exception_handling’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in run' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:8:inload’
/usr/bin/rake:8

Is there anything interesting happening on
/var/www/dev.binaryfreedom.info/config/environment.rb:55

And it looks like its loading rails 2.3.10. It shouldn’t; Radiant
0.9.1 bundles Rails 2.3.8

Did you add any other gems or extensions to your instance of Radiant?

2010/11/3 Jim G. [email protected]

Is there anything interesting happening on
/var/www/dev.binaryfreedom.info/config/environment.rb:55

And it looks like its loading rails 2.3.10. It shouldn’t; Radiant
0.9.1 bundles Rails 2.3.8

Did you add any other gems or extensions to your instance of Radiant?

no, I dont think I added anything… I have other ruby on rails sites on
my
server from my own projects that are using rails 2.3.10
I can try to uninstall and start over…

Hi, so anyone has any idea?

Thanks

2010/11/3 Rek2GNULinux [email protected]

I just uninstalled the package… installed again…
run the same commands and same result… :frowning:

also notes there is not a app directory inside…

rake production db:bootstrap --trace
(in /var/www/dev.binaryfreedom.info)
** Invoke production (first_time)
** Execute production
** Invoke environment (first_time)
** Execute environment
rake aborted!
no such file to load – rack/cache
/usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire’
/usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.10/lib/active_support/dependencies.rb:182:in
require' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.10/lib/active_support/dependencies.rb:547:innew_constants_in’
/usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.10/lib/active_support/dependencies.rb:182:in
require' /usr/lib64/ruby/gems/1.8/gems/radiant-0.9.1/lib/radiant/cache.rb:1 /var/www/dev.binaryfreedom.info/config/environment.rb:55 /usr/lib64/ruby/gems/1.8/gems/rails-2.3.10/lib/initializer.rb:111:inrun’
/usr/lib64/ruby/gems/1.8/gems/radiant-0.9.1/lib/radiant/initializer.rb:157:in
run' /var/www/dev.binaryfreedom.info/config/environment.rb:12 /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require’
/usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in require' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.10/lib/active_support/dependencies.rb:182:inrequire’
/usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.10/lib/active_support/dependencies.rb:547:in
new_constants_in' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.10/lib/active_support/dependencies.rb:182:inrequire’
/usr/lib64/ruby/gems/1.8/gems/rails-2.3.10/lib/tasks/misc.rake:4
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in call' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:inexecute’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in each' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:inexecute’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
invoke_with_call_chain' /usr/lib64/ruby/1.8/monitor.rb:242:insynchronize’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
invoke_with_call_chain' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:ininvoke’
/usr/lib64/ruby/gems/1.8/gems/radiant-0.9.1/lib/tasks/environments.rake:10
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in call' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:inexecute’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in each' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:inexecute’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
invoke_with_call_chain' /usr/lib64/ruby/1.8/monitor.rb:242:insynchronize’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
invoke_with_call_chain' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:ininvoke’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
invoke_task' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:intop_level’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in each' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:intop_level’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_exception_handling' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:intop_level’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in run' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:instandard_exception_handling’
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in run' /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:8:inload’
/usr/bin/rake:8

I’m not sure what’s happening here. Radiant bundles both rails and
rack-cache

So your rails version 2.3.10 should never be loaded.

2010/11/3 Jim G. [email protected]

I’m not sure what’s happening here. Radiant bundles both rails and
rack-cache
radiant/vendor at 0.9.1 · radiant/radiant · GitHub

So your rails version 2.3.10 should never be loaded.

hmm weird… this is what I have:
radiant -v
Radiant 0.9.1
rake --version
rake, version 0.8.7

gem list

*** LOCAL GEMS ***

actionmailer (2.3.10)
actionpack (2.3.10)
activerecord (2.3.10)
activeresource (2.3.10)
activesupport (2.3.10)
builder (2.1.2)
cgi_multipart_eof_fix (2.5.0)
daemon_controller (0.2.5)
daemons (1.0.10)
diff-lcs (1.1.2)
echoe (4.3.1)
facebooker (1.0.64)
fastthread (1.0.7)
fcgi (0.8.8)
file-tail (1.0.5)
frankie (0.3.1)
gem_plugin (0.2.3)
heroku (0.4.1)
highline (1.5.2)
hoe (2.6.2)
hpricot (0.8.1)
i18n (0.4.1, 0.3.7, 0.1.3)
json (1.4.6, 1.1.6)
json_pure (1.2.2)
libxml-ruby (1.1.3)
mongrel (1.1.5)
mysql (2.8.1)
racc (1.4.6)
rack (1.2.1)
radiant (0.9.1)
radius (0.6.1)
rails (2.3.10)
rake (0.8.7)
rake-compiler (0.7.1)
rcov (0.8.1.2.0)
RedCloth (4.2.3)
rest-client (0.7)
rspec (2.0.1, 1.2.9)
rspec-core (2.0.1)
rspec-expectations (2.0.1)
rspec-mocks (2.0.1)
rubyforge (2.0.4, 1.0.2)
search_generator (0.5.1)
SimpleSearch (0.5.0)
sinatra (0.9.4)
spruz (0.2.0)
sqlite3-ruby (1.3.1)
SyslogLogger (1.4.0)
text-format (1.0.0)
text-hyphen (1.0.0)
tmail (1.2.7.1)
twitter4r (0.3.1)
tzinfo (0.3.23)
will_paginate (2.3.15)
xmpp4r (0.5)
xmpp4r-simple (0.8.7)

On Wed, Nov 3, 2010 at 7:15 PM, Rek2GNULinux [email protected]
wrote:

I use gentoo so I emerge radiant then I run:
radiant --database=mysql
I created the mysql databases
configure the /config/databases.yml
and then I try
rake db:bootstrap and I get that error…

i don’t know anything about gentoo or emerge. do they do anything
non-standard to
rubygems before releasing them in emerge? it sounds like something is
butchering
the radiant gem you’re getting a hold of (e.g. removing vendor/…).

you might try installing manually:
wget http://rubygems.org/downloads/radiant-0.9.1.gem
gem install radiant-0.9.1.gem

hey thanks that seems to have work!! now to read the documentation on
how to
use this :wink:

thanks again

2010/11/4 john muhl [email protected]