What is rails3_disable_x_sendfile?

2011-03-21 Thread Trevor Turk
I'm seeing the following when pushing to Heroku:

Configure Rails 3 to disable x-sendfile
Installing rails3_disable_x_sendfile... done

What is this about? Is there a way I should configure my app to avoid seeing 
this message?

-- 
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: What is rails3_disable_x_sendfile?

2011-03-21 Thread Trevor Turk
I have:

config.serve_static_assets = true

...but I don't have anything with:

config.action_dispatch.x_sendfile_header

...at all. Perhaps you are doing something unnecessarily in my case? You can 
view my app teamlab yourself on Heroku if you like. I can file a support 
ticket if necessarily. 

Also, you didn't answer my first question: what is this about ? :)

Thanks,
- Trevor

-- 
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: What is rails3_disable_x_sendfile?

2011-03-21 Thread Trevor Turk
On Monday, March 21, 2011 12:06:35 PM UTC, Keenan wrote:

 So you need to tell rails to not use the handy X-sendfile header and stream 
 the file through.

 How this affects Heroku?

 The web server is running on a different machine than the dynos. So 
 X-sendfile doesn't work.
 So they modify your environments/production.rb to disable that feature.

 But this tweaking takes a few seconds during slug generation, and they are 
 tweaking your configuration. So they give you a warning to let you know.

Thanks for the explanation, Keenan. Sorry, I thought you worked for Heroku! 
:)

I'll follow up with Heroku directly about it. 

- Trevor

-- 
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: How do I rewrite a url for requests from one domain to another?

2011-02-06 Thread Trevor Turk
On Friday, February 4, 2011 2:53:00 PM UTC+1, Scott Watermasysk wrote:

 You might also want to check out RackRewrite which has lots of great 
 features. 


I'm just redirecting one heroku app to another like so:

https://github.com/trevorturk/almosteffortless/blob/master/config.ru

I think it's very nice and simple ;)

-- 
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.



Is there a preferred method of packaging assets in a Rails 3 app on Heroku?

2011-01-13 Thread Trevor Turk
Given the read-only 
filesystem: http://docs.heroku.com/constraints#read-only-filesystem

...and the fact that javascript_include_tag :some, :stuff, :cache = true 
doesn't seem to work reliably on Heroku with Rails 3...

...and the fact that I have lots of separate javascript and css files that 
are slowing my site down: http://developer.yahoo.com/performance/rules.html

...I'm looking into a few possible ways to package these assets for 
deployment on Heroku:

https://github.com/amasses/heroku_asset_packager
https://github.com/mgomes/heroku_asset_cacher
https://github.com/documentcloud/jammit
https://github.com/ddollar/asset-resource
https://github.com/jnicklas/liability
...etc, etc etc...

...but none of them seem 100% ideal, and I'm not sure what to try using. 

Is there a preferred method of packaging assets in a Rails 3 app on Heroku?

Thanks!
- Trevor

-- 
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: Is there a preferred method of packaging assets in a Rails 3 app on Heroku?

2011-01-13 Thread Trevor Turk
On Thursday, January 13, 2011 1:35:27 PM UTC, John Beynon wrote:

 We use https://github.com/sbecker/asset_packager under Rails3 on Heroku - 
 works great for us,

 Run a rake task locally to package after any changes to js/css, commit to 
 git and then deploy


Thanks for that. I've been playing with some stuff today, and came up with 
this:

https://gist.github.com/778234

Basically, I can use rake deploy to deploy to heroku, and it caches the 
assets automatically. It's an interesting strategy, I think. I'm curious if 
you guys have any opinion.  

- Trevor

-- 
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: Is there a preferred method of packaging assets in a Rails 3 app on Heroku?

2011-01-13 Thread Trevor Turk
On Thursday, January 13, 2011 5:51:42 PM UTC, David Dollar wrote:

 Another approach if you're packaging assets like this anyway would be to 
 upload them to S3 instead of adding them to the app. You could then use S3 
 as an asset host, and even take advantage of CloudFront as a CDN.


Yeah, I was thinking the same thing. I'd just have to figure out how to keep 
the timestamp thing in the view (e.g. javascripts/all.js?1294939289)

I'll think about it some more. This is such a huge improvement for me 
already, though. Going from 10+ HTTP requests for this stuff to 2 really 
speeds things up. 

- Trevor

-- 
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: Feature request: an easier way to get to your addon urls

2011-01-12 Thread Trevor Turk
On Wednesday, January 12, 2011 12:14:56 AM UTC, Adam Wiggins wrote:

 Thanks for the suggestion Trevor, I agree that would be handy.  Care
 to add it to the Heroku client and send us a patch? :)


Sure thing - I'll see what I can do.

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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.



Feature request: an easier way to get to your addon urls

2011-01-11 Thread Trevor Turk
Let's say I want to get to my app's New Relic page. Right now, I have to go 
to Heroku's website, log in, click My Apps, find my app, click the app's 
name, click Add-ons, click New Relic. 

Is there an easier way? Perhaps something on the command line, such as:

heroku addons:open newrelic

Thanks!
- Trevor

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: rails 3.0.3 bundle - tread carefully!

2010-12-01 Thread Trevor Turk
On Nov 25, 2:21 pm, Dennis dennismaj...@gmail.com wrote:
 I also had to revert back from 3.0.3 to 3.0.1 - the Paperclip gem gave
 a temp_file method not found error msg while attempting to upload an
 image.

I believe Paperclip has since been fixed. There's a change sitting in
master about this:

https://github.com/rails/rails/commit/c52e2cf4b3ef22f

Anyway, there's some other suspicious things that have me holding off
for 3.0.4 myself.

- Trevor

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: Automating pgbackups

2010-11-18 Thread Trevor Turk
On Nov 18, 6:18 pm, David Dollar ddol...@gmail.com wrote:
 I threw this together to help out a bit automating your PGbackups.

 https://github.com/ddollar/heroku_backup_task

Awesome! I'll give it a shot. Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: Automating pgbackups

2010-11-17 Thread Trevor Turk
On Nov 16, 6:44 pm, Andrew C. andrew.c...@gmail.com wrote:
 I spin up an EC2 instance from my cron job.  The EC2 instance captures
 and downloads the backup to S3, then shuts itself down.  Works well so
 far.  Obviously, it's not free, but it's freaking cheap.

Any chance of open-sourcing some of that code? It's an interesting
idea. I'm still hoping there's an easier way, but this is certainly an
idea!

- Trevor

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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.



Automating pgbackups

2010-11-16 Thread Trevor Turk
I love the new pgbackups service: http://docs.heroku.com/pgbackups

...but there's one thing lacking: an easy way to automate the
backups.

I've used Heroku's cron addon to automate pg_dump backups in the past:

https://github.com/edavis10/heroku_s3_backup/network

...but I'd like to use pgbackups instead.

Are there plans to offer an automated solution?

Is there a way to do this now? I've tried to put the Heroku gem into
my Gemfile and then execute the command from the console, but that
doesn't seem to work. I've been trying to think of other ways to run
the pgbackups with the cron addon, but I haven't come up with anything
yet. Any ideas would be most appreciated.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: new Bundler version?

2010-07-27 Thread Trevor Turk
On Jul 26, 7:57 am, Dan Croak dcr...@thoughtbot.com wrote:
 Will Heroku be upgrading to that version of Bundler? I'm not sure how
 to test our Rails 3 on Heroku otherwise.

I know all of this cutting edge stuff is a pain for Heroku to support,
but it sure is frustrating to not be able to use the Rails 3 RC with
the Bundle RC right away -- makes it hard to test! Any estimates about
RC support?

- Trevor

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: Bundler 0.9.26

2010-06-15 Thread Trevor Turk
On Jun 14, 4:37 pm, Pedro Belo pe...@heroku.com wrote:
 We will be upgrading Bundler to 0.9.26 tomorrow.

Awesome.

 On a side note, we've been studying alternatives to this process so
 you're not blocked on us whenever Rails bumps the Bundler version
 dependency. We are well aware of this issue :)

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: rails-3.0.0.beta4 on bamboo-ree-1.8.7?

2010-06-13 Thread Trevor Turk
On Jun 13, 5:49 am, Ariejan de Vroom arie...@gmail.com wrote:
 Is there any way I can tell heroku to use the 'customly installed'
 0.9.26 version instead? That would be a 'fix' for future bundler
 updates as well.

I tried to do this as well, and found it didn't work for whatever
reason. It would be awesome if we could specify the version of Bundler
we're using, as that would alleviate this problem going forward.

FWIW - I figured out the latest edge version of Rails you can use on
Heroku at this time:

gem 'rails', :git = 'git://github.com/rails/rails.git', :ref =
'5c9f27abaabba0d008cc'

It's the commit before they bumped the Bundler dependency.

- Trevor

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: rails-3.0.0.beta4 on bamboo-ree-1.8.7?

2010-06-12 Thread Trevor Turk
On Jun 10, 9:43 pm, Pedro Belo pe...@heroku.com wrote:
 Thanks for reporting. We're aware we need to update Bundler - we'll
 roll that out asap!

Any chance of an ETA on this Bundler update?

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: Howto: automate DB backups

2010-04-20 Thread Trevor Turk
On Apr 20, 9:55 am, Andy Shipman a...@cllearview.com wrote:
 That is very cool. I adapted it slightly to download to Dropbox instead - 
 using the dropbox gem - and now I get a backup locally as well as in the 
 cloud.

Awesome! Thanks for posting that.

On Apr 20, 10:33 am, Mooktakim Ahmed mookta...@fluxter.co.uk wrote:
 I had a look at the Heroku's unlimited backup option. Only problem i have
 with it is how do i schedule it to capture every day or week etc?
 i'll need the cron bundle? i'm unsure about how to execute the heroku
 bundles:capture command from within the app.

This problem is why I've made the backup rake task.

- Trevor

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: Howto: automate DB backups

2010-04-15 Thread Trevor Turk
On Apr 15, 3:26 am, johnb john.bey...@gmail.com wrote:
 I usewww.backupmyapp.com- pretty neat service, files + database.

Looks pretty cool, thanks for the link.

On Apr 15, 9:04 am, Neil Middleton neil.middle...@gmail.com wrote:
 Side note - do people generally worry about backing up S3?

They're worried about it where I work, so we bought a desktop that
runs Ubuntu with a lot of hard drive space and I run Ruby scripts with
cron jobs that back up the files to our office. Personally, I don't
think it's worth the trouble.

- Trevor

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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.



Howto: automate DB backups

2010-04-14 Thread Trevor Turk
I'm not too thrilled with the current backup options Heroku is
offering, but I had to do something. So, I wrote up an article that
shows how I'm enabling automatic nightly PostgreSQL database backups
from Heroku to Amazon S3.

http://almosteffortless.com/2010/04/14/automated-heroku-backups/

Feedback is more than welcome. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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.



Bundle upgrade

2010-02-25 Thread Trevor Turk
I'd like to request (another) bundler upgrade. They keep making fixes
to the gem, and I think Heroku is using an older one, if I'm not
mistaken.

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: Gem Bundler 0.9 now live

2010-02-17 Thread Trevor Turk
On Feb 17, 12:38 pm, Oren Teich o...@heroku.com wrote:
 Thanks, I've updated the docs to reflect this.
 Oren

Hi Oren,

Thanks for continuing with this. I'm not 100% sure that the steps in
your docs are working just yet. I've commented on this bundler ticket
with more details:

http://github.com/carlhuda/bundler/issues/issue/83/

It sounds like we may be able to sort it all out tonight, though, and
the gist that you linked to should be updated in the end. I'll keep an
eye out and update this thread if/when I feel like we've got it all
working right. My apologies in advance if I'm just not doing something
correctly ;)

- Trevor

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: Gmail SMTP Plugin and different Ruby versions

2010-02-16 Thread Trevor Turk
On Feb 13, 7:41 am, brentlintner brent.lint...@gmail.com wrote:
 I have been attempting to get Gmail SMTP mail working on both Heroku
 (1.8.6) and my local dev (1.8.7).

I've been using this for the same reason:

http://github.com/ambethia/smtp-tls

Seems to work fine.

- Trevor

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: Gem Bundler 0.9 now live

2010-02-16 Thread Trevor Turk
On Feb 16, 7:04 pm, Oren Teich o...@heroku.com wrote:
 Gem bundler 0.9 is now live on Heroku.

Using the instructions here:

http://docs.heroku.com/gems#gem-bundler

...with the latest hoptoad_notifier gem and a rails 2.3.5 app, I still
need to have the config.gem call in my config/environment.rb file:

config.gem 'hoptoad_notifier'

...or else I get an uninitalized constant HoptoadNotifier error.

You can see exactly what I expected to be able to do here:

http://github.com/trevorturk/kzak/commit/56226739d

...and the workaround in the subsequent commit here:

http://github.com/trevorturk/kzak/commit/56226739d

I'm wondering if this is a known issue, if there's some other way to
work around the issue. Also, I think the Heroku docs might need to be
updated if/when we know of the appropriate workaround. I'll also check
in with the bundler github issues list.

Thanks!
- Trevor

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: Gem Bundler 0.9 now live

2010-02-16 Thread Trevor Turk
On Feb 16, 9:55 pm, Trevor Turk trevort...@gmail.com wrote:
 ...and the workaround in the subsequent commit here:

 http://github.com/trevorturk/kzak/commit/56226739d

Sorry, that second link should have been:

http://github.com/trevorturk/kzak/commit/6cd75f050

- Trevor

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: Gem Bundler 0.9 now live

2010-02-16 Thread Trevor Turk
On Feb 16, 10:02 pm, Oren Teich o...@heroku.com wrote:
 Sorry if it wasn't clear, my understanding is that rails 2.X will always
 require that you have BOTH them gemfile and the config.gem syntax.

Hmm - I'm not clear on how this is all going to play out, but I had to
use this gist mentioned in the github issues to get things working:

http://github.com/carlhuda/bundler/issues/#issue/87

You can read through the thread for details, but basically following
this gist:

http://gist.github.com/302406

...seems to have worked for me to get bundler 0.9x working with rails
2.3x.

I suppose once everything is cleared up, it may be a good idea to
update the Heroku docs with different instructions, if necessary.

I'm sorry this has been such a trial - that's the joy of living on the
edge, I guess ;)

- Trevor

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: Gem Bundler 0.9 now live

2010-02-16 Thread Trevor Turk
On Feb 16, 10:37 pm, Oren Teich o...@heroku.com wrote:
 Interesting - you're saying that using those instructions meant you didn't
 need to do any of the annoying config.gem stuff in your environment file?

Yes. If you follow the last few commits in my github project, you can
see everything I needed to do. It's a little confusing, but in the
end, I was able to use bundler as expected, while removing all the
config.gem calls (including the one for the rails engine 'devise' that
I thought I'd definitely need to keep around).

You can see this github issue about devise as well:

http://github.com/plataformatec/devise/issues#issue/77

...basically, it looks like you need to do the hackery that's in that
gist, but then your rails 2.3.5 app will work with bundler 0.9x
without any problems.

I'm not sure if Yehuda  Company will want to come up with another
solution...? But anyway - it seems to have been necessary for me to
get everything working as expected for now.

- Trevor

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: A key is required to write a cookie containing the session data.

2010-02-11 Thread Trevor Turk
On Feb 8, 11:23 pm, Charles M Magid cmma...@gmail.com wrote:
     cookie_store.rb:163:in `ensure_session_key':   A key is required
 to write a cookie containing the session data.   Use
 config.action_controller.session =   { :key =
 _myapp_session, :secret = some secret phrase }   in config/
 environment.rb (ArgumentError)
   I am using 'static' CMS by trevorturk / static on github and using
 the heroku deployment instructions.

Just to clear this up in case anyone else runs into the same problem,
the issue was that the config vars weren't being sent to Heroku, and
those config vars include the session keys.

I'm using this technique:

http://almosteffortless.com/2009/06/25/config-vars-and-heroku/

...in case you want some more detail.

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: gem bundler support

2010-02-04 Thread Trevor Turk
On Feb 3, 8:47 pm, Glenn Rempe gl...@rempe.us wrote:
 Can you comment on which version of bundler you are using within
 heroku?  I see that bundler v. 0.9.0 was just officially released and
 I noticed that there are some significant changes to the user
 experience, but I don't know if that changes how the Gemfile will be
 interpreted by Heroku.

+1

Please let us know if/when you're upgrading bundler to use the new
syntax. I know it must be annoying that they keep changing things.
It's been a pain for me as well ;)

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: gem bundler support

2010-01-22 Thread Trevor Turk
On Jan 19, 6:52 pm, Adam Wiggins a...@heroku.com wrote:
 Heroku now has native support for gem bundler. If you push up a repo
 that has a Gemfile it its root, the slug compiler will bundle your
 gems automatically.

I've been using this very happily for a few weeks now, since I saw a
tweet about it. Thanks so much for supporting bundler so quickly!

- Trevor

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: How to investigate Backlog too deep? (follow-up)

2009-12-29 Thread Trevor Turk
On Dec 29, 9:48 am, Casper Fabricius casper.fabric...@gmail.com
wrote:
 I am in the same boat as Tim. Despite very low traffic and two active dynos, 
 my site tends to go down with a permanent Backlog too deep and no other 
 resolution than rebooting the app. It is very frustrating to have the app go 
 down like this from time to other, with no logs and no way to debug it.

 I have no long running processes in the dynos - everything like that goes to 
 Delayed Job, even sending out emails.

I've noticed this problem as well with a few of my applications. The
sites will go down and the only way to get them started again is to
commit something meaningless and re-push the application. Honestly, I
expected to hear something from Heroku about this by now.

Is this a known issue? Is there anything we can do to provide help in
solving the problem? Next time an application of mine fails with this
message, I'll create a support ticket and try to help troubleshoot.

Thanks,
- Trevor

--

You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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.




Alternative Ruby version

2009-11-25 Thread Trevor Turk
Are there plans to allow choosing a different version of Ruby? I'd
like to be able to use Ruby 1.8.7 at least, and 1.9.x to play with...

Thanks,
- Trevor

--

You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@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: Beta test: Full text search

2009-09-09 Thread Trevor Turk

On Aug 21, 11:34 am, Oren Teich o...@heroku.com wrote:
 Hi all,we have a new full text search offering in the works.  This will be
 an additional paid add-on, starting at $20/month to begin with.  

Oren, can you provide any details about what this will be? I'm just
wondering if it's using Ferret or Solr or whatever, so that I can plan
ahead with making an open source app of mine compatible with your
offering.

Thanks!
- Trevor
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Static: a super simple Rails CMS for Heroku

2009-09-03 Thread Trevor Turk

I thought some of you might be interested in a little project I put
together a few weekends ago. It's called Static, and it's a really
small CMS app made for Heroku. It supports file uploads to S3, makes
image thumbnails, lets you make pages, has an optional admin password,
and a customizable application layout that supports erb.

That's really about all it can do, which I've found to be really nice,
actually. I use it for a few simple brochure sites I've made for my
friends and such. I figure if they need any new features (can you
show my twitter posts on the home page?) then I have a little (well
tested, ~175 line) Rails app that I can enhance.

The github repo is here:
http://www.opensourcerails.com/projects/231550-Static

There's a demo site here:
http://static.heroku.com/

You can see a screenshot and read a little more here:
http://www.opensourcerails.com/projects/231550-Static

Enjoy!
- Trevor
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Backups...?

2009-07-31 Thread Trevor Turk

Are there any docs about the backups? I don't see anything about what
a single bundle backup is or how to use it.

Thanks,
- Trevor
--~--~-~--~~~---~--~~
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: Backups...?

2009-07-31 Thread Trevor Turk

On Jul 31, 12:43 pm, Oren Teich o...@heroku.com wrote:
 we're working on updating the docs, in the meantime a bundle is a collection
 of your data and app.  Capturing a bundle stores it on our site (s3), you
 can also download, upload and restore bundles with the heroku command -

Cool - thanks for the update. Looking forward to the new docs, too!

- Trevor
--~--~-~--~~~---~--~~
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: s3-paperclip uploads hanging indefinitely

2009-07-30 Thread Trevor Turk

On Jul 30, 11:11 pm, Nick Quaranto n...@quaran.to wrote:
 Alright, I think I've tracked down in my codebase where the problem is.
 Sorry for the red herring here, folks. Still though, it would be nice to see
 the logs.

Please do let us know if/when you figure it out!

- Trevor
--~--~-~--~~~---~--~~
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: s3-paperclip uploads hanging indefinitely

2009-07-29 Thread Trevor Turk

On Jul 29, 4:02 pm, Pius Uzamere pius.uzam...@gmail.com wrote:
 One of the frustrating aspects to this (at least in my case) is that
 it seems to be failing silently; there's nothing in the logs, the app
 just churns.  If it helps, I am using this base 
 app:http://github.com/dancroak/heroku_suspenders/tree/masterto do the
 uploads.

Yeah, this was the same with me. Things seem to be working properly
now, but I'm concerned that the issue might reappear if the cause was
unknown... Can you guys test things out again and post your results?

- Trevor
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Easy install on Heroku for El Dorado, my open source app

2009-07-08 Thread Trevor Turk

I just finished getting my open source forum/blog/chat app working on
Heroku last night. I included deployment instructions in the README:

http://github.com/trevorturk/eldorado/tree/master

I'm really impressed with Heroku so far. There's a _huge_ difference
between a Heroku deployment and setting up your own VPS at Slicehost
or what have you. I don't think that knowledgeable Ruby/Rails
developers realize how complicated deployment can be, even with recent
improvements like Passenger. I've had people bail on this app because
of deployment hassles and use Drupal instead. That's just not cool ;)

I did some stuff to make installation and deployment as easy as
possible, so please do check the app out and let me know what you
think. I'd be interested to hear if other people have different
strategies for making Heroku deployment even easier.

The only things that stand out as a pain are the s3 and email
constraints, but even those are just minor inconveniences. It's much
easier to set up an s3 account than it is to install ruby enterprise,
passenger, etc etc etc.

- Trevor
--~--~-~--~~~---~--~~
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: Config vars and local setup

2009-06-25 Thread Trevor Turk

On Jun 24, 3:10 pm, Adam Wiggins a...@heroku.com wrote:
 Very nice, Trevor.  I wonder if you could write this up into a blog
 post somewhere that summarizes the technique?  That way we can provide
 the link to others that prefer not to use environment variables in
 their local setup.

Sure thing. I put together a blog post that should cover everything:

http://almosteffortless.com/2009/06/25/config-vars-and-heroku/

- Trevor
--~--~-~--~~~---~--~~
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: Spam

2009-06-25 Thread Trevor Turk

On Jun 25, 12:45 pm, Carl Anderson nexus...@gmail.com wrote:
 I agree with Alex. The spam was annoying (until gmail started filtering it
 completely for me) but having it all in my email is a better option for me.

I like the Google Group, but I think it's important to have occasional
posts/help from Heroku staff. Otherwise, it should be labeled as a
user forum and specify that official staff only responds at the
support site.

The support site is great, too, though. The only thing I'd suggest is
putting all of the docs into one place. I didn't realize that the
support site had a knowledge base in addition to the proper docs
area on heroku.com. At least putting an even more docs link in the
docs area would help point the way to the knowledge base.

In any case - thanks for cleaning up the spam, and for the awesome
service!

- Trevor
--~--~-~--~~~---~--~~
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: Config vars and local setup

2009-06-23 Thread Trevor Turk

On Jun 23, 11:47 pm, Trevor Turk trevort...@gmail.com wrote:
 You can see the relevant files here:

Apologies, but I (just) changed the repo name on github, so here are
the new URLs:

http://github.com/trevorturk/eldorado/blob/8af62d1875ec1091ef1202c3f8c6c58c932076d7/config/config.example.yml
http://github.com/trevorturk/eldorado/blob/8af62d1875ec1091ef1202c3f8c6c58c932076d7/config/environment.rb
http://github.com/trevorturk/eldorado/blob/8af62d1875ec1091ef1202c3f8c6c58c932076d7/lib/tasks/heroku.rake
...and...
http://github.com/trevorturk/eldorado/tree/master

Sorry about that!
- Trevor
--~--~-~--~~~---~--~~
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: to www or to not www

2009-06-04 Thread Trevor Turk

It would be nice to have an automatic redirect that didn't require
application code, but you can also do something like the
before_filter :ensure_domain bit of documentation here:

http://docs.heroku.com/custom-domains#heroku-setup

- Trevor

On Jun 1, 11:45 pm, foi foi.fi...@gmail.com wrote:
 I have had the same problem as you. I have decided like this, at
 screenshoot's shows how to configure 
 DNShttp://i718.photobucket.com/albums/ww183/foifirst/CNAME.png
 and test of the 
 domainhttp://i718.photobucket.com/albums/ww183/foifirst/domains.png
--~--~-~--~~~---~--~~
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: Support response time

2009-06-04 Thread Trevor Turk

On Jun 4, 3:04 am, Thomas Balthazar gro...@suitmymind.com wrote:
 What is your experience with the support?

I've had reasonably good experience with the support at Heroku, but I
wouldn't give it an A+. To wait 4 days for any kind of a response for
a support ticket seems unacceptable to me. Maybe you should add
something to the ticket to bump it up to the top of their list again?

- Trevor
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---