Re: Public Assets and Serve

2011-03-29 Thread John Long
Keenan, I'm running a Serve app (which is Rack-based), not Rails.

--John

On Tue, Mar 29, 2011 at 3:51 PM, Keenan Brock  wrote:
> Hi John,
> That is a rails 3.0 thing.
> I thought Heroku would change that setting for you, but I may be wrong.
> go into config/environments/production.rb
> make sure you see:
> serve_static_assets=true
> more information: http://devcenter.heroku.com/articles/rails3
> Good luck,
> --Keenan
>
> On Tuesday, March 29, 2011 at 3:38 PM, John W. Long wrote:
>
> More info from a friend of mine:
>
> I was able to migrate from the bamboo-ree-1.8.7 stack to the
> bamboo-mri-1.9.2 stack and everything
> was fixed. Again, what's odd is that this was sudden and wasn't happening
> with other projects
> deployed on the same stack.
>
> My question still stands: Shouldn't Heroku automatically serve
> everything in the `public`
> directory?
>
> --
> John Long
> http://wiseheartdesign.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to heroku@googlegroups.com.
> To unsubscribe from this group, send email to
> heroku+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to heroku@googlegroups.com.
> To unsubscribe from this group, send email to
> heroku+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Public Assets and Serve

2011-03-29 Thread Keenan Brock
Hi John,

That is a rails 3.0 thing.

I thought Heroku would change that setting for you, but I may be wrong.

go into config/environments/production.rb
make sure you see:
serve_static_assets=true

more information: http://devcenter.heroku.com/articles/rails3

Good luck,
--Keenan
On Tuesday, March 29, 2011 at 3:38 PM, John W. Long wrote: 
> More info from a friend of mine:
> 
> > I was able to migrate from the bamboo-ree-1.8.7 stack to the 
> > bamboo-mri-1.9.2 stack and everything
> > was fixed. Again, what's odd is that this was sudden and wasn't happening 
> > with other projects
> > deployed on the same stack.
> 
> My question still stands: Shouldn't Heroku automatically serve
> everything in the `public`
> directory?
> 
> --
> John Long
> http://wiseheartdesign.com
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Heroku" group.
> To post to this group, send email to heroku@googlegroups.com.
> To unsubscribe from this group, send email to 
> heroku+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/heroku?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Public Assets and Serve

2011-03-29 Thread John W. Long
More info from a friend of mine:

> I was able to migrate from the bamboo-ree-1.8.7 stack to the bamboo-mri-1.9.2 
> stack and everything
> was fixed. Again, what's odd is that this was sudden and wasn't happening 
> with other projects
> deployed on the same stack.

My question still stands: Shouldn't Heroku automatically serve
everything in the `public`
directory?

--
John Long
http://wiseheartdesign.com

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Public Assets and Serve

2011-03-29 Thread John W. Long
Sorry, yes. I got it working with Rack::Static late last night.

Remove the line to Rack::Static and you will see the problem.

Shouldn't Heroku automatically serve everything in the `public`
directory?

--
John Long
http://wiseheartdesign.com

On Mar 29, 7:57 am, Matthew Todd  wrote:
> >http://serve-demo.heroku.com/hello
>
> > But static assets like images and stylesheets don't seem to be being
> > served from the public directory.
>
> Works for me?https://skitch.com/matthewtodd/ragi5/hello-world
>
>  smime.p7s
> 4KViewDownload

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Public Assets and Serve

2011-03-29 Thread Matthew Todd
> http://serve-demo.heroku.com/hello
> 
> But static assets like images and stylesheets don't seem to be being
> served from the public directory.

Works for me?
https://skitch.com/matthewtodd/ragi5/hello-world

smime.p7s
Description: S/MIME cryptographic signature