Re: [Radiant] Admin css and js not found (NOOB)

60 views
Skip to first unread message

Jim Gay

unread,
Apr 8, 2013, 6:15:30 AM4/8/13
to radia...@googlegroups.com
I'm not sure what's happening.
When you generated those files, did you do it in production mode?

That would require that you run something like "RAILS_ENV=production
script/server"

On Wed, Apr 3, 2013 at 5:51 PM, Rui Silva <clien...@gmail.com> wrote:
> I've just started playing around with ruby and radiant so please forgive my
> ignorance.
>
> I've successfully deployed radiant Version 1.0.1 (gem) to heroku cedar
> frontend looks and works fine admin works fine as well but all images js
> and css are missing (error 400).
> Locally they are present i've done git add and git commit to the public
> folder after these files were generated by visiting my local admin however
> the problem persists.
>
> What files should I post here so someone can help me to solve this issue?
>
> Thank you
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Radiant CMS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to radiantcms+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Write intention revealing code #=> http://www.clean-ruby.com

Jim Gay
Saturn Flyer LLC
571-403-0338

Rui Silva

unread,
Apr 11, 2013, 4:51:29 PM4/11/13
to radia...@googlegroups.com
Hi Jim thank you for your reply and yes I did  generated those files but in dev mode not production i will try to do setup productionenvironment locally :/

Rui Silva

unread,
Apr 11, 2013, 8:46:11 PM4/11/13
to radia...@googlegroups.com
Hello again Jim now i did start the "RAILS_ENV=production 
script/server"  and yes there were some errors probably because i hade to mess arround in order to deploy to heroku cedar??
This is what it throws in the console :

iMac-de-tonysilva:heroku_radiant2 tonysilva$ RAILS_ENV=production 
iMac-de-tonysilva:heroku_radiant2 tonysilva$ script/server
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/rails-2.3.18/lib/rails/gem_dependency.rb:21.
/Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-2.3.18/lib/active_support/inflector.rb:3:in `<top (required)>': iconv will be deprecated in the future, use String#encode instead.
=> Booting WEBrick
=> Rails 2.3.18 application starting on http://0.0.0.0:3000
/Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:182:in `require': cannot load such file -- netrc (MissingSourceFile)
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:182:in `block in require'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:547:in `new_constants_in'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:182:in `require'
from /Users/tonysilva/.heroku/client/lib/heroku/auth.rb:6:in `<top (required)>'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:182:in `require'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:182:in `block in require'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:547:in `new_constants_in'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:182:in `require'
from /Users/tonysilva/.heroku/client/lib/heroku/client.rb:4:in `<top (required)>'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:182:in `require'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:182:in `block in require'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:547:in `new_constants_in'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:182:in `require'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/heroku-2.16.3/lib/heroku.rb:6:in `<top (required)>'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.3.4/lib/bundler/runtime.rb:72:in `require'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.3.4/lib/bundler/runtime.rb:72:in `block (2 levels) in require'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.3.4/lib/bundler/runtime.rb:70:in `each'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.3.4/lib/bundler/runtime.rb:70:in `block in require'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.3.4/lib/bundler/runtime.rb:59:in `each'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.3.4/lib/bundler/runtime.rb:59:in `require'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.3.4/lib/bundler.rb:132:in `require'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/radiant-1.0.1/lib/radiant/initializer.rb:322:in `load_gems'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/rails-2.3.18/lib/initializer.rb:164:in `process'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/rails-2.3.18/lib/initializer.rb:113:in `run'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/radiant-1.0.1/lib/radiant/initializer.rb:266:in `run'
from /Users/tonysilva/heroku_radiant/heroku_radiant2/config/environment.rb:14:in `<top (required)>'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:182:in `require'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:182:in `block in require'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:547:in `new_constants_in'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:182:in `require'
from /Users/tonysilva/.rvm/gems/ruby-1.9.3-p392/gems/rails-2.3.18/lib/commands/server.rb:84:in `<top (required)>'
from script/server:3:in `require'
from script/server:3:in `<main>'

On Monday, April 8, 2013 11:15:30 AM UTC+1, Jim Gay wrote:
Reply all
Reply to author
Forward
0 new messages