Sendgrid problem

2012-02-15 Thread DAZ
I am trying to implement a very simple contact form using Sinatra,
Pony and Sendgrid on the Cedar stack.

I keep getting the following error:

Net::SMTPFatalError - 550 Cannot receive from specified address
pony@unknown: Unauthenticated senders not allowed

What should be in the 'from' part of the options?

cheers,

DAZ

-- 
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: fatal: Not a git repository (or any of the parent directories): .git

2011-11-30 Thread DAZ
Cheers Adam,

It was this line:
sha1, date = `git log HEAD~1..HEAD --pretty=format:%h^
%ci`.strip.split('^')

I've been using that it to create etag and last modified headers for
caching. Konstantin Haase recommends it and uses it in his apps
(https://github.com/rkh/rkh.im/blob/master/blog.rb).

I'll have to have another look at how to generate these instead.

cheers,

DAZ

On Nov 30, 6:36 am, Adam Wiggins a...@heroku.com wrote:
 Slugs don't have git repositories in them.  Something in your app is trying
 to do a Git operation when it boots -- you should figure out what it is and
 remove it.

 You can duplicate it locally by moving your .git directory to .git-bak, and
 then try running your app.

 Adam

-- 
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: fatal: Not a git repository (or any of the parent directories): .git

2011-11-29 Thread DAZ
Forget the last message, I am still getting the error on my app.

I can now get into the console but continually get this error:

Running console attached to terminal... up, run.2
irb(main):001:0 require './main'
fatal: Not a git repository (or any of the parent directories): .git
= true
irb(main):002:0

I also get a similar error every time the app is deployed. This is
from the logs:

2011-11-29T21:56:45+00:00 heroku[api]: Deploy 4557a85 by
daz4...@gmail.com
2011-11-29T21:56:45+00:00 heroku[web.1]: State changed from up to
bouncing
2011-11-29T21:56:45+00:00 heroku[web.1]: State changed from bouncing
to created
2011-11-29T21:56:45+00:00 heroku[web.1]: State changed from created to
starting
2011-11-29T21:56:47+00:00 heroku[slugc]: Slug compilation finished
2011-11-29T21:56:49+00:00 heroku[web.1]: Stopping process with SIGTERM
2011-11-29T21:56:49+00:00 app[web.1]:  Thin web server (v1.3.1
codename Triple Espresso)
2011-11-29T21:56:49+00:00 app[web.1]:  Maximum connections set to
1024
2011-11-29T21:56:49+00:00 app[web.1]:  Listening on 0.0.0.0:51939,
CTRL+C to stop
2011-11-29T21:56:49+00:00 heroku[web.1]: Process exited
2011-11-29T21:56:51+00:00 heroku[web.1]: Starting process with command
`bundle exec rackup config.ru -s thin -p 32827`
2011-11-29T21:56:55+00:00 app[web.1]: fatal: Not a git repository (or
any of the parent directories): .git
2011-11-29T21:56:56+00:00 heroku[web.1]: State changed from starting
to up

This is something to do with requiring the main.rb file, but I can't
figure out what it is. Everything runs fine locally (and there is
definitely a git repository present!)

If anybody can help me fix this, I'd be very grateful.

Thanks,

DAZ


-- 
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: Cannot acces app in Console

2011-11-27 Thread DAZ
Hi,

I got some help on the Sinatra google groups page that helped solve
this problem.

The solution was to put the bundler stuff in my main.rb file rather
than config.ru for it to work in the console.

I still get an error when I run the following on Heroku:
$ heroku run 'bundle exec irb -r ./main'
Running bundle exec irb -r ./main attached to terminal... up, run.2
fatal: Not a git repository (or any of the parent directories): .git
irb(main):001:0

Any ideas what that's about?

cheers,

DAZ


On Nov 23, 7:37 pm, DAZ daz4...@gmail.com wrote:
 Actually I get the same error locally, so it isn't a heroku issue, but
 any help would be appreciated!

 cheers,

 DAZ

 On Nov 23, 7:35 pm, DAZ daz4...@gmail.com wrote:







  Thanks Adam,

  It's a Sinatra app. Tried this and got an error:

  $ heroku run 'bundle exec irb -r ./main'
  Running bundle exec irb -r ./main attached to terminal... up, run.15
  /app/main.rb:2:in `top (required)': undefined method `set' for
  main:Object (NoMethodError)
          from /usr/local/lib/ruby/1.9.1/irb/init.rb:281:in `require'
          from /usr/local/lib/ruby/1.9.1/irb/init.rb:281:in `block in
  load_modules'
          from /usr/local/lib/ruby/1.9.1/irb/init.rb:279:in `each'
          from /usr/local/lib/ruby/1.9.1/irb/init.rb:279:in `load_modules'
          from /usr/local/lib/ruby/1.9.1/irb/init.rb:20:in `setup'
          from /usr/local/lib/ruby/1.9.1/irb.rb:53:in `start'
          from /usr/local/bin/irb:12:in `main'

  It seems like Sinatra isn't there!

  Any ideas?

  cheers,

  DAZ

  On Nov 23, 5:59 pm, Adam Wiggins a...@heroku.com wrote:

   What do you run locally to get a console?  Whatever it is, prefix it
   with `heroku run` and you should be set.  e.g. if you normally type:

       $ bundle exec rails console

   Then to run remotely:

       $ heroku run 'bundle exec rails console'

   Or if it's a Sinatra app:

       $ bundle exec irb -r ./web

   On Heroku:

       $ heroku run 'bundle exec irb -r ./web'

   Adam

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



Cannot acces app in Console

2011-11-23 Thread DAZ
I can't access my app via the console.

If I type

$ heroku run console -r ./main
$irbCard.all

I get an error message, where I would expect []

Other commands don't recognize the app as being loaded.

The app is running on the cedar stack and has a Procfile - could this
be used to set up the console so that when it runs the app and all its
gems are included?

Any ideas how I can access my app?

cheers,

DAZ

-- 
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: fatal: Not a git repository (or any of the parent directories): .git

2011-11-23 Thread DAZ
I solved this.

It was because the Data models had not been migrated.

I managed to do this by including the line
DataMapper.auto_migrate!

in the actual code.

The problem I know have is that I can't access the app through the
console in order to populate the database.

I have submitted another post about this.

DAZ



On Nov 22, 10:12 pm, DAZ daz4...@gmail.com wrote:
 Hi,

 I've just created a new app on the Cedar stack and keep getting the
 following message in the logs:

     fatal: Not a git repository (or any of the parent
 directories): .git

 I have created a git repository and a remote called heroku was created
 when I created the app.

 I can push to the app, but the page will not load and I can't access
 anything from the console.

 Does anybody know what is going wrong?

 cheers,

 DAZ

-- 
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: Cannot acces app in Console

2011-11-23 Thread DAZ
Thanks Adam,

It's a Sinatra app. Tried this and got an error:

$ heroku run 'bundle exec irb -r ./main'
Running bundle exec irb -r ./main attached to terminal... up, run.15
/app/main.rb:2:in `top (required)': undefined method `set' for
main:Object (NoMethodError)
from /usr/local/lib/ruby/1.9.1/irb/init.rb:281:in `require'
from /usr/local/lib/ruby/1.9.1/irb/init.rb:281:in `block in
load_modules'
from /usr/local/lib/ruby/1.9.1/irb/init.rb:279:in `each'
from /usr/local/lib/ruby/1.9.1/irb/init.rb:279:in `load_modules'
from /usr/local/lib/ruby/1.9.1/irb/init.rb:20:in `setup'
from /usr/local/lib/ruby/1.9.1/irb.rb:53:in `start'
from /usr/local/bin/irb:12:in `main'

It seems like Sinatra isn't there!

Any ideas?

cheers,

DAZ


On Nov 23, 5:59 pm, Adam Wiggins a...@heroku.com wrote:
 What do you run locally to get a console?  Whatever it is, prefix it
 with `heroku run` and you should be set.  e.g. if you normally type:

     $ bundle exec rails console

 Then to run remotely:

     $ heroku run 'bundle exec rails console'

 Or if it's a Sinatra app:

     $ bundle exec irb -r ./web

 On Heroku:

     $ heroku run 'bundle exec irb -r ./web'

 Adam

-- 
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: Cannot acces app in Console

2011-11-23 Thread DAZ
Actually I get the same error locally, so it isn't a heroku issue, but
any help would be appreciated!

cheers,

DAZ

On Nov 23, 7:35 pm, DAZ daz4...@gmail.com wrote:
 Thanks Adam,

 It's a Sinatra app. Tried this and got an error:

 $ heroku run 'bundle exec irb -r ./main'
 Running bundle exec irb -r ./main attached to terminal... up, run.15
 /app/main.rb:2:in `top (required)': undefined method `set' for
 main:Object (NoMethodError)
         from /usr/local/lib/ruby/1.9.1/irb/init.rb:281:in `require'
         from /usr/local/lib/ruby/1.9.1/irb/init.rb:281:in `block in
 load_modules'
         from /usr/local/lib/ruby/1.9.1/irb/init.rb:279:in `each'
         from /usr/local/lib/ruby/1.9.1/irb/init.rb:279:in `load_modules'
         from /usr/local/lib/ruby/1.9.1/irb/init.rb:20:in `setup'
         from /usr/local/lib/ruby/1.9.1/irb.rb:53:in `start'
         from /usr/local/bin/irb:12:in `main'

 It seems like Sinatra isn't there!

 Any ideas?

 cheers,

 DAZ

 On Nov 23, 5:59 pm, Adam Wiggins a...@heroku.com wrote:







  What do you run locally to get a console?  Whatever it is, prefix it
  with `heroku run` and you should be set.  e.g. if you normally type:

      $ bundle exec rails console

  Then to run remotely:

      $ heroku run 'bundle exec rails console'

  Or if it's a Sinatra app:

      $ bundle exec irb -r ./web

  On Heroku:

      $ heroku run 'bundle exec irb -r ./web'

  Adam

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



fatal: Not a git repository (or any of the parent directories): .git

2011-11-22 Thread DAZ
Hi,

I've just created a new app on the Cedar stack and keep getting the
following message in the logs:

fatal: Not a git repository (or any of the parent
directories): .git

I have created a git repository and a remote called heroku was created
when I created the app.

I can push to the app, but the page will not load and I can't access
anything from the console.

Does anybody know what is going wrong?

cheers,

DAZ

-- 
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: Rails 3, Authlogic and cron task

2011-04-27 Thread Daz
After more searching, I have finally come across this:
http://stackoverflow.com/questions/4300240/rails-3-rake-task-cant-find-model-in-production
- which provided the hint that the problem is actually due to having
the production environment configured to be thread safe. Since the
cron would work prior to adding the registration/login/password
reminder, I was lead in the direction of Authlogic as the root of the
problem...

Now the question is: Should I not have the app configured to be thread
safe? or is the thread safe configuration combining w/ something else
to cause the cron problem?

On Apr 27, 7:41 am, Jeff Schmitz jeffrey.j.schm...@gmail.com wrote:
 Confused how Authlogic, usually found in a controller, could be a part of
 this.

 Event.send_reminders is not using authentication, is it?


-- 
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: Rails 3, Authlogic and cron task

2011-04-27 Thread Daz
there's a comment to one of the answers that mentions thread safety.

changing the environments\production.rb file

config.threadsafe!

to

config.threadsafe! unless $rails_rake_task

appears to have fixed my problem. Thx for your replies.

On Apr 27, 11:10 am, Jeff Schmitz jeffrey.j.schm...@gmail.com wrote:
 The link you provided was about eager loading, not thread safety.

 The only way I can make it jive with your earlier message is that the
 require of Authlogic from Event is failing

 maybe you can run with --trace?

 On Wed, Apr 27, 2011 at 10:17 AM, Daz dbere...@gmail.com wrote:
  After more searching, I have finally come across this:

 http://stackoverflow.com/questions/4300240/rails-3-rake-task-cant-fin...
  - which provided the hint that the problem is actually due to having
  the production environment configured to be thread safe. Since the
  cron would work prior to adding the registration/login/password
  reminder, I was lead in the direction of Authlogic as the root of the
  problem...

  Now the question is: Should I not have the app configured to be thread
  safe? or is the thread safe configuration combining w/ something else
  to cause the cron problem?

  On Apr 27, 7:41 am, Jeff Schmitz jeffrey.j.schm...@gmail.com wrote:
   Confused how Authlogic, usually found in a controller, could be a part of
   this.

   Event.send_reminders is not using authentication, is it?

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



dm-is-list problem

2010-11-02 Thread DAZ
I'm having some trouble with dm-is-list. I'm trying to set the
position of a page by using a drop down menu. I have the following
code in a Sinatra app:
Page.create(params[:page]).move(params[:position])

The strange thing is that I get the error below on the live site on
Heroku, but not on my local testing server. I have the exact same gems
installed on Heroku as my local machine, so I don't understand why one
is throwing an error and the other isn't!!

If anybody can help me it would  be much appreciated.

cheers,

DAZ


NoMethodError - undefined method `+' for nil:NilClass:
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-is-list-1.0.2/lib/dm-is-list/is/list.rb:544:in
`move_without_saving'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-is-list-1.0.2/lib/dm-is-list/is/list.rb:265:in
`__send__'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-is-list-1.0.2/lib/dm-is-list/is/list.rb:265:in
`is_list'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-core-1.0.2/lib/dm-core/model/hook.rb:77:in
`instance_eval'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-core-1.0.2/lib/dm-core/model/hook.rb:77:in `call'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-core-1.0.2/lib/dm-core/resource.rb:1156:in
`execute_hooks_for'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-core-1.0.2/lib/dm-core/resource.rb:1156:in `each'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-core-1.0.2/lib/dm-core/resource.rb:1156:in
`execute_hooks_for'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-core-1.0.2/lib/dm-core/resource.rb:700:in
`before_create_hook'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-core-1.0.2/lib/dm-core/resource.rb:981:in
`create_with_hooks'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-core-1.0.2/lib/dm-core/resource.rb:979:in `catch'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-core-1.0.2/lib/dm-core/resource.rb:979:in
`create_with_hooks'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-core-1.0.2/lib/dm-core/resource.rb:1033:in
`save_self'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-validations-1.0.2/lib/dm-validations.rb:111:in
`save_self'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-core-1.0.2/lib/dm-core/resource.rb:1018:in `_save'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-core-1.0.2/lib/dm-core/resource.rb:1234:in
`run_once'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-core-1.0.2/lib/dm-core/resource.rb:1017:in `_save'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-core-1.0.2/lib/dm-core/resource.rb:417:in `save'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-validations-1.0.2/lib/dm-validations.rb:98:in `save'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-validations-1.0.2/lib/dm-validations/support/
context.rb:30:in `validation_context'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-validations-1.0.2/lib/dm-validations.rb:98:in `save'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/dm-validations-1.0.2/lib/dm-validations.rb:83:in
`create'
 ./ib.rb:64:in `POST /page'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/sinatra-1.1.0/lib/sinatra/base.rb:1032:in `call'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/sinatra-1.1.0/lib/sinatra/base.rb:1032:in `compile!'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/sinatra-1.1.0/lib/sinatra/base.rb:620:in
`instance_eval'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/sinatra-1.1.0/lib/sinatra/base.rb:620:in `route_eval'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/sinatra-1.1.0/lib/sinatra/base.rb:604:in `route!'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/sinatra-1.1.0/lib/sinatra/base.rb:656:in
`process_route'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/sinatra-1.1.0/lib/sinatra/base.rb:653:in `catch'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba-20af-430f-bddf-17162ef8b4ff/
mnt/.gems/gems/sinatra-1.1.0/lib/sinatra/base.rb:653:in
`process_route'
 /home/slugs/324899_06e826d_32f5-5fd1a6ba

Re: Sinatra 1.1

2010-10-27 Thread DAZ
Thanks Oren, it's useful to know how it works and what the best thing
to do is.

cheers,

DAZ


On Oct 26, 7:58 pm, Oren Teich o...@heroku.com wrote:
 Both are correct.  Just add a blank line and we'll pull the latest
 version if you havn't specified.
 Best practice is to pin all versions to prevent nasty surprises.

 Oren



 On Tue, Oct 26, 2010 at 11:53 AM, DAZ daz4...@gmail.com wrote:
  thanks Oren,

  I've tested it locally, so was happy to update. So would I have to
  just change the .gems file with something trivial to 'force' an
  update?
  Or are you saying that best practice is to always specify version
  numbers?

  cheers,

  DAZ

  On Oct 26, 7:40 pm, Oren Teich o...@heroku.com wrote:
  By not specifiying a gem version we will always pull the latest
  version when you change your .gems/gemfile.  This is a bad idea
  however, as your app could randomly break if for example sinatra 2.0
  comes out and changes an API you depend on.

  Oren

  On Tue, Oct 26, 2010 at 11:35 AM, DAZ daz4...@gmail.com wrote:
   Thanks Oren,

   I changed my .gems file to say
   sinatra --version 1.1
   instead of just
   sinatra

   Is there any way of forcing Heroku to always go and look for the
   latest gems without having to specify a version number?

   cheers,

   DAZ

   On Oct 26, 4:30 pm, Oren Teich o...@heroku.com wrote:
   Simply put it in your .gems or Gemfile and you'll be all set.
   Oren

   On Tue, Oct 26, 2010 at 5:58 AM, DAZ daz4...@gmail.com wrote:
Hi,

Sinatra upgraded to version 1.1 yesterday. Is this version available
on Heroku and how do I update current apps that are using Sinatra to
the new version?

cheers,

DAZ

--
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 
athttp://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 her...@googlegroups.com.
   To unsubscribe from this group, send email to 
   heroku+unsubscr...@googlegroups.com.
   For more options, visit this group 
   athttp://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 her...@googlegroups.com.
  To unsubscribe from this group, send email to 
  heroku+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://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 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.



503 Errors

2010-10-26 Thread DAZ
My apps have had a few 503 errors recently, is this expected or has
anybody else had this or could there be a problem with my apps?

cheers,

DAZ

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



Sinatra 1.1

2010-10-26 Thread DAZ
Hi,

Sinatra upgraded to version 1.1 yesterday. Is this version available
on Heroku and how do I update current apps that are using Sinatra to
the new version?

cheers,

DAZ

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



warning: already initialized constant OrderedHash

2010-10-26 Thread DAZ
I keep getting this warning when I push a new Sinatra/DataMapper app
to Heroku.

/home/slugs/286257_c19666c_5401-ed999fc7-450c-4af4-a27f-d25cb1203dd9/
mnt/.gems/gems/dm-validations-1.0.2/lib/dm-validations.rb:33:
warning:
already initialized constant OrderedHash

I don't get this warning on my local machine. Does anybody know what
it means and how to fix it?

cheers,

DAZ

-- 
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: warning: already initialized constant OrderedHash

2010-10-26 Thread DAZ
Sorry no bells ringing so far ... !

I don't even know whether I'm using ActiveSupport (I'm using
DataMapper and Sinatra, would I be using them without knowing?)

How would it get initialized twice and how come only when deployed to
Heroku?

thanks Abel,

DAZ

On Oct 26, 2:53 pm, Abel Tamayo abel.tam...@gmail.com wrote:
 OrderedHash is part of ActiveSupport and it looks like it's being
 initialized twice.
 I hope that rings some bell.



 On Tue, Oct 26, 2010 at 2:59 PM, DAZ daz4...@gmail.com wrote:
  I keep getting this warning when I push a new Sinatra/DataMapper app
  to Heroku.

  /home/slugs/286257_c19666c_5401-ed999fc7-450c-4af4-a27f-d25cb1203dd9/
  mnt/.gems/gems/dm-validations-1.0.2/lib/dm-validations.rb:33:
  warning:
  already initialized constant OrderedHash

  I don't get this warning on my local machine. Does anybody know what
  it means and how to fix it?

  cheers,

  DAZ

  --
  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.comheroku%2bunsubscr...@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 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: Sinatra 1.1

2010-10-26 Thread DAZ
Thanks Oren,

I changed my .gems file to say
sinatra --version 1.1
instead of just
sinatra

Is there any way of forcing Heroku to always go and look for the
latest gems without having to specify a version number?

cheers,

DAZ

On Oct 26, 4:30 pm, Oren Teich o...@heroku.com wrote:
 Simply put it in your .gems or Gemfile and you'll be all set.
 Oren



 On Tue, Oct 26, 2010 at 5:58 AM, DAZ daz4...@gmail.com wrote:
  Hi,

  Sinatra upgraded to version 1.1 yesterday. Is this version available
  on Heroku and how do I update current apps that are using Sinatra to
  the new version?

  cheers,

  DAZ

  --
  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 
  athttp://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 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: Sinatra 1.1

2010-10-26 Thread DAZ
thanks Oren,

I've tested it locally, so was happy to update. So would I have to
just change the .gems file with something trivial to 'force' an
update?
Or are you saying that best practice is to always specify version
numbers?

cheers,

DAZ

On Oct 26, 7:40 pm, Oren Teich o...@heroku.com wrote:
 By not specifiying a gem version we will always pull the latest
 version when you change your .gems/gemfile.  This is a bad idea
 however, as your app could randomly break if for example sinatra 2.0
 comes out and changes an API you depend on.

 Oren



 On Tue, Oct 26, 2010 at 11:35 AM, DAZ daz4...@gmail.com wrote:
  Thanks Oren,

  I changed my .gems file to say
  sinatra --version 1.1
  instead of just
  sinatra

  Is there any way of forcing Heroku to always go and look for the
  latest gems without having to specify a version number?

  cheers,

  DAZ

  On Oct 26, 4:30 pm, Oren Teich o...@heroku.com wrote:
  Simply put it in your .gems or Gemfile and you'll be all set.
  Oren

  On Tue, Oct 26, 2010 at 5:58 AM, DAZ daz4...@gmail.com wrote:
   Hi,

   Sinatra upgraded to version 1.1 yesterday. Is this version available
   on Heroku and how do I update current apps that are using Sinatra to
   the new version?

   cheers,

   DAZ

   --
   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 
   athttp://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 her...@googlegroups.com.
  To unsubscribe from this group, send email to 
  heroku+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://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 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: Contact Form Using Sendgrid Pony

2010-08-24 Thread DAZ
Thanks for the replies everybody.

I know have it working on Heroku.

I guess that I can't use Sendgrid locally? What would I have to have
set up to get my contact form to work locally in development?

cheers,

DAZ

On Aug 22, 8:53 pm, Mike Abner mike.ab...@gmail.com wrote:
 Works well.

 http://docs.heroku.com/sendgrid

 You just have to set up pony correctly using the heroku config vars
 that get set when you add sendgrid to your app.

 Look at the bottom of that page and you'll see them.

 Mike



 On Sun, Aug 22, 2010 at 12:41 PM, DAZ daz4...@gmail.com wrote:
  Hi,

  I'm using Sinatra and would like to create a very simple contact page
  that will send me an email when filled in.

  Is this possible on Heroku using Sendgrid and Pony? Do I need to also
  use a gmail account?

  Has anybody got any experience of this or advice?

  cheers,

  DAZ

  --
  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 
  athttp://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 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: Contact Form Using Sendgrid Pony

2010-08-23 Thread DAZ
Thanks Michal, This is brilliant, just a couple of questions:

1. Where do I get SENDGRID_USERNAME and SENDGRID_PASSWORD from, or are
they set up automatically when I install the Sendgrid addon?
2. What do I change the HELO domain to?

cheers,

DAZ



On Aug 23, 11:53 am, misza222 misza...@gmail.com wrote:
 Hi Daz,

 How about that:
 ==
 post '/contact' do
     require 'pony'
     Pony.mail(
       :to = 'your-email-address',
       :from = params[:from],
       :subject = params[:subject],
       :body = params[:content],
       :via = :smtp,
       :via_options = {
         :address              = 'smtp.sendgrid.net',
         :port                 = '587', # 587 for encryption
         :enable_starttls_auto = true,
         :user_name            = ENV['SENDGRID_USERNAME'],
         :password             = ENV['SENDGRID_PASSWORD'],
         :authentication       = :plain,
 # :plain, :login, :cram_md5, no auth by default
         :domain               = 'change-that-domain.com'     # the
 HELO domain provided by the client to the server
       })
     flash[:notice] = Thank you for your e-mail.

     redirect '/'
 end
 ===
 Add necessary checks on params, change HELO domain and it's done I
 suppose.

 Michal

 On Aug 22, 8:41 pm, DAZ daz4...@gmail.com wrote:



  Hi,

  I'm using Sinatra and would like to create a very simple contact page
  that will send me an email when filled in.

  Is this possible on Heroku using Sendgrid and Pony? Do I need to also
  use a gmail account?

  Has anybody got any experience of this or advice?

  cheers,

  DAZ

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



Web Stats

2010-05-28 Thread DAZ
Hi,

Is it possible to get basic web stats such as page hits about sites
that are hosted on Heroku? If not, is the easiest way to use Google
Analytics or something similar?

cheers,

DAZ

-- 
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: error message with Heroku gem

2010-04-11 Thread DAZ
Now I get this:

/usr/local/lib/site_ruby/1.8/rubygems.rb:827:in
`report_activate_error': RubyGem version error: rest-client(1.4.2 not
~ 1.3.0) (Gem::LoadError)

I had to uninstall version 1.4.2 and go back to version 1.3.1

Any chance the heroku gem could be updated to work with the updated
rest-client gem?

cheers,

DAZ




On Apr 1, 3:41 pm, Roy Pardee rpar...@gmail.com wrote:
 If you don't need that 1.0.3 you might try uninstalling it (sudo gem
 uninstall rest-client -v 1.0.3).





 On Thu, Apr 1, 2010 at 3:53 AM, DAZ daz4...@gmail.com wrote:
  Mine looks like this:
  rest-client (1.4.2, 1.0.3)

  Looks like I missed out on the 1.3 update and it seems that 1.4.2
  doesn't work. Does Heroku need updating or is there a way of getting
  the 1.3 version?

  cheers,

  DAZ

  On Apr 1, 11:34 am, Chris r3ap3r2...@gmail.com wrote:
   sudo gem update rest-client

   That should get you to the latest 1.4.2
   Although I was using 1.3.1 up until I ran that command to test for you
   :-) so I'm not sure if 1.4.2 will work or not.  I do know that 1.3.1
   works.

   You can do a gem list and see which version you have.

   Mine looks like this now:
   rest-client (1.4.2, 1.3.1, 1.2.0)

   -Chris

   On Thu, Apr 1, 2010 at 7:31 PM, DAZ daz4...@gmail.com wrote:
Cheers Chris,

I thought that, but sudo gem update doesn't seem to update rest-
client. Is there any way I can target that specific gem and get the
correct version?

thanks,

DAZ

On Apr 1, 11:27 am, Chris r3ap3r2...@gmail.com wrote:
You need to update your rest-client gem to something  1.3.0
-Chris

On Thu, Apr 1, 2010 at 7:24 PM, DAZ daz4...@gmail.com wrote:
 Hi,

 I updated the Heroku gem yesterday and now I get this message if I
  try
 to use it:

 /usr/local/lib/site_ruby/1.8/rubygems.rb:827:in
 `report_activate_error': RubyGem version error: rest-client(1.0.3
  not
 ~ 1.3.0) (Gem::LoadError)
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:261:in
  `activate'
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:296:in
  `activate'
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:295:in `each'
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:295:in
  `activate'
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:68:in `gem'
        from /usr/bin/heroku:18

 Anybody else get this or know how to fix it?

 Thanks,

 DAZ

 --
 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.comheroku%2bunsubscr...@googlegroups.com
  .
 For more options, visit this group athttp://
  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 her...@googlegroups.com.
To unsubscribe from this group, send email to
  heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
  .
For more options, visit this group athttp://
  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 her...@googlegroups.com.
  To unsubscribe from this group, send email to
  heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.

 --
 Roy Pardeehttp://facebook.com/rpardee

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



error message with Heroku gem

2010-04-01 Thread DAZ
Hi,

I updated the Heroku gem yesterday and now I get this message if I try
to use it:

/usr/local/lib/site_ruby/1.8/rubygems.rb:827:in
`report_activate_error': RubyGem version error: rest-client(1.0.3 not
~ 1.3.0) (Gem::LoadError)
from /usr/local/lib/site_ruby/1.8/rubygems.rb:261:in `activate'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:296:in `activate'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:295:in `each'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:295:in `activate'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:68:in `gem'
from /usr/bin/heroku:18

Anybody else get this or know how to fix it?

Thanks,

DAZ

-- 
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: error message with Heroku gem

2010-04-01 Thread DAZ
Cheers Chris,

I thought that, but sudo gem update doesn't seem to update rest-
client. Is there any way I can target that specific gem and get the
correct version?

thanks,

DAZ

On Apr 1, 11:27 am, Chris r3ap3r2...@gmail.com wrote:
 You need to update your rest-client gem to something  1.3.0
 -Chris



 On Thu, Apr 1, 2010 at 7:24 PM, DAZ daz4...@gmail.com wrote:
  Hi,

  I updated the Heroku gem yesterday and now I get this message if I try
  to use it:

  /usr/local/lib/site_ruby/1.8/rubygems.rb:827:in
  `report_activate_error': RubyGem version error: rest-client(1.0.3 not
  ~ 1.3.0) (Gem::LoadError)
         from /usr/local/lib/site_ruby/1.8/rubygems.rb:261:in `activate'
         from /usr/local/lib/site_ruby/1.8/rubygems.rb:296:in `activate'
         from /usr/local/lib/site_ruby/1.8/rubygems.rb:295:in `each'
         from /usr/local/lib/site_ruby/1.8/rubygems.rb:295:in `activate'
         from /usr/local/lib/site_ruby/1.8/rubygems.rb:68:in `gem'
         from /usr/bin/heroku:18

  Anybody else get this or know how to fix it?

  Thanks,

  DAZ

  --
  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 
  athttp://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 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: error message with Heroku gem

2010-04-01 Thread DAZ
Mine looks like this:
rest-client (1.4.2, 1.0.3)

Looks like I missed out on the 1.3 update and it seems that 1.4.2
doesn't work. Does Heroku need updating or is there a way of getting
the 1.3 version?

cheers,

DAZ


On Apr 1, 11:34 am, Chris r3ap3r2...@gmail.com wrote:
 sudo gem update rest-client

 That should get you to the latest 1.4.2
 Although I was using 1.3.1 up until I ran that command to test for you
 :-) so I'm not sure if 1.4.2 will work or not.  I do know that 1.3.1
 works.

 You can do a gem list and see which version you have.

 Mine looks like this now:
 rest-client (1.4.2, 1.3.1, 1.2.0)

 -Chris



 On Thu, Apr 1, 2010 at 7:31 PM, DAZ daz4...@gmail.com wrote:
  Cheers Chris,

  I thought that, but sudo gem update doesn't seem to update rest-
  client. Is there any way I can target that specific gem and get the
  correct version?

  thanks,

  DAZ

  On Apr 1, 11:27 am, Chris r3ap3r2...@gmail.com wrote:
  You need to update your rest-client gem to something  1.3.0
  -Chris

  On Thu, Apr 1, 2010 at 7:24 PM, DAZ daz4...@gmail.com wrote:
   Hi,

   I updated the Heroku gem yesterday and now I get this message if I try
   to use it:

   /usr/local/lib/site_ruby/1.8/rubygems.rb:827:in
   `report_activate_error': RubyGem version error: rest-client(1.0.3 not
   ~ 1.3.0) (Gem::LoadError)
          from /usr/local/lib/site_ruby/1.8/rubygems.rb:261:in `activate'
          from /usr/local/lib/site_ruby/1.8/rubygems.rb:296:in `activate'
          from /usr/local/lib/site_ruby/1.8/rubygems.rb:295:in `each'
          from /usr/local/lib/site_ruby/1.8/rubygems.rb:295:in `activate'
          from /usr/local/lib/site_ruby/1.8/rubygems.rb:68:in `gem'
          from /usr/bin/heroku:18

   Anybody else get this or know how to fix it?

   Thanks,

   DAZ

   --
   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 
   athttp://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 her...@googlegroups.com.
  To unsubscribe from this group, send email to 
  heroku+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://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 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: Zerigo

2010-03-23 Thread DAZ
Thanks for the help Morten.

It is indeed easy to set this up with the Zerigo addon.

I now have a CNAME set up that directs
http://docs.energiehelpline.co.uk.s3.amazonaws.com/foo.pdf
to
http://docs.energiehelpline.co.uk/foo.pdf

cheers for the help everybody,

DAZ




On Mar 22, 5:26 pm, Morten Bagai mor...@heroku.com wrote:
 Guys, just to clarify how the Zerigo add-on works, once you have pointed
 your domain to their DNS servers:

 1) Adding a root domain to your app

 When you add a root domain to your with heroku domains:add foo.com, the
 Zerigo add-on will automatically pick that up and add A Records pointing to
 all of Heroku's current front-end load balancers.

 2) Adding a hostname to your app

 When adding a hostname as in heroku domains:addwww.foo.com, the Zerigo
 add-on will create a CNAME pointing to proxy.heroku.com.

 All versions of the add-on allows you to sign in to Zerigo's configuration
 UI and add additional hostnames, changes existing ones and modify MX records
 etc. You get to the Zerigo UI by:

 1) Go to MyApps and select your app
 2) Click the Zerigo add-on in the add-ons menu on the upper right
 3) On the Zerigo add-on configuration page, choose the domain you want to
 configure, and you'll automatically be signed into Zerigo.com

 Once you're in the Zerigo UI it should be simple to add the CNAME you'd like
 to map to your AWS hostname.

 Best,

 Morten



 On Mon, Mar 22, 2010 at 5:09 AM, Paul Leader paul.lea...@gmail.com wrote:
  Hi Daz

   I'd also like to map docs.energiehelpline.co.uk to map to
   docs.enegiehelpine.co.uk.s3.amazonaws.com, as outlined in this thread
   here:
 http://groups.google.com/group/heroku/browse_thread/thread/55d6cfea1f...

  There are two options that I can think of.  One is to setup a
  redirector (either on heroku or on another server that performs a 301
  or 302 redirection to the correct location on S3.

  The other alternative, which I use, is Amazon CloudFront, which is
  their content distribution network.

  If you go tohttp://graphomatic.net/you'll see a video, which is
  hosted onhttp://media.graphomatic.net.   media.graphomatic.net is
  actually a CNAME record pointing to an address on Amazon's Cloudfront
  network, which is in turn mapped to a bucket on S3.  This gives me
  nicer URLs, and also faster downloads of the video.

  Obviously that adds a little to you S3 costs, but I find S3 so cheap
  that it's not a big deal.  If you need to serve a lot of large files
  then it may be prohibitive.

  Paul

  --
  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.comheroku%2bunsubscr...@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 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.



Zerigo

2010-03-21 Thread DAZ
Anybody know much about the Zerigo addon?

I've managed to get www.energiehelpline.co.uk to map to my app on
heroku, but would also like energiehelpline.co.uk to map there too, is
this possible?

I'd also like to map docs.energiehelpline.co.uk to map to
docs.enegiehelpine.co.uk.s3.amazonaws.com, as outlined in this thread
here:
http://groups.google.com/group/heroku/browse_thread/thread/55d6cfea1ff5d8ce

Can anybody help me out with this?

cheers,

DAZ

-- 
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: Zerigo

2010-03-21 Thread DAZ
I think I've sorted the first point. I just needed to add
energiehelpline.co.uk to the custom domains addon.

Anybody know how I can get my links to s3 files to look nicer?

Thanks,

DAZ

On Mar 21, 4:47 pm, DAZ daz4...@gmail.com wrote:
 Anybody know much about the Zerigo addon?

 I've managed to getwww.energiehelpline.co.ukto map to my app on
 heroku, but would also like energiehelpline.co.uk to map there too, is
 this possible?

 I'd also like to map docs.energiehelpline.co.uk to map to
 docs.enegiehelpine.co.uk.s3.amazonaws.com, as outlined in this thread
 here:http://groups.google.com/group/heroku/browse_thread/thread/55d6cfea1f...

 Can anybody help me out with this?

 cheers,

 DAZ

-- 
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: Using Zerigo to simplify S3 urls

2010-03-15 Thread DAZ
Thanks for that Matt.

It sees to say that I should use something like

docs.energiehelpine.co.uk as the bucket name

and then map docs.enegiehelpine.co.uk.s3.amazonaws.com to
docs.enegiehelpine.co.uk

The problem is, I can't figure out how I do that last step using
zerigo!

Any help much appreciated,

DAZ




On Mar 13, 6:11 pm, Matt Buck mattb...@capitalthought.com wrote:
 http://docs.amazonwebservices.com/AmazonS3/latest/VirtualHosting.html...

 HTH,
 Matt Buck



 On Sat, Mar 13, 2010 at 10:38 AM, DAZ daz4...@gmail.com wrote:
  Hi,

  I'm storing some pdf documents on Amazon S3. To access them I use urls
  like:
 http://energie.documents.s3.amazonaws.com/news.pdf

  Is it possible I can configure Zerigo (or anything else) to map
 http://www.energiehelpline.co.uk/documents/

  to

 http://energie.documents.s3.amazonaws.com/

  This would help to simplify the urls used for these documents.

  Thanks,

  DAZ

  --
  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.comheroku%2bunsubscr...@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 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.



Using Zerigo to simplify S3 urls

2010-03-13 Thread DAZ
Hi,

I'm storing some pdf documents on Amazon S3. To access them I use urls
like:
http://energie.documents.s3.amazonaws.com/news.pdf

Is it possible I can configure Zerigo (or anything else) to map
http://www.energiehelpline.co.uk/documents/

to

http://energie.documents.s3.amazonaws.com/

This would help to simplify the urls used for these documents.

Thanks,

DAZ

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



Cron Job to save bundles

2010-03-13 Thread DAZ
I'm using the free bundle addon that has the limitation of only one
bundle saved at a time.

Is it possible to create a Cron Job that does the following:
deleted the current bundle
save a new bundle
downloaded it each day

cheers,

DAZ

-- 
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: Basic Production Site

2010-03-08 Thread DAZ
Thanks for that Terence,

Just a question about your last point. How do I choose which plan? Say
I went for the free plan (Blossom), how do I know if it needs
upgrading - does it crash, do I get an email warning or does it just
increase as needed and then I get charged?

cheers,

DAZ



On Mar 8, 8:38 pm, Terence Lee hon...@gmail.com wrote:
 Answers below.

 On Mon, 2010-03-08 at 12:31 -0800, DAZ wrote:
  Hi,

  I'm planning on launching a production site using Heroku, but have a
  few questions:

  1) Are sites that are hosted on Heroku backed up or do I have to do it
  manually - what is the procedure for doing this?

 You have to do it manually.  Heroku provides bundles which will backup
 both the git repo code and the database which you can download as a
 archive.  http://docs.heroku.com/backups

 There are scripts about for backing this up to s3 as well.

  2) Is the database backed up as well?
  3) How does the pricing work? This site has around 500 unique visitors
  a day, generating 4000 hits. It is a basic CMS site with a database
  backend. Do I need to choose what type of plan I have in advance or
  will I be told if any limits are being exceeded?

 You need to choose one of the plans from here:http://heroku.com/pricing
 with regards to your database option.  Scaling dynos/workers can be done
 dynamically from the command line or website to scale to the load.





  Thanks for any help anybody can give me,

  DAZ

-- 
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: Basic Production Site

2010-03-08 Thread DAZ
Thanks Oren,

That's useful as a starting point. What do I use to 'see how it goes'
- sorry I'm new to this game and not sure if I'd know if the site was
performing well or not. What do you mean when you say 'scaling traffic
instantly' - why would I add dynos and/or workers?

cheers,

DAZ

On Mar 8, 9:06 pm, Oren Teich o...@heroku.com wrote:
 Everything is fully backed for disaster recovery purposes.  We don't provide
 user accessible backups - it's only in case something goes wrong with the
 systems.  This includes your DB and your app.

 Start on a koi + 1 dyno, and see how it goes. You can scale the traffic
 instantly.

 Oren



 On Mon, Mar 8, 2010 at 12:31 PM, DAZ daz4...@gmail.com wrote:
  Hi,

  I'm planning on launching a production site using Heroku, but have a
  few questions:

  1) Are sites that are hosted on Heroku backed up or do I have to do it
  manually - what is the procedure for doing this?
  2) Is the database backed up as well?
  3) How does the pricing work? This site has around 500 unique visitors
  a day, generating 4000 hits. It is a basic CMS site with a database
  backend. Do I need to choose what type of plan I have in advance or
  will I be told if any limits are being exceeded?

  Thanks for any help anybody can give me,

  DAZ

  --
  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.comheroku%2bunsubscr...@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 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: Basic Production Site

2010-03-08 Thread DAZ
Thanks to all of you taking the time to make this much clearer.

Looking forward to getting it all set up.

Thanks again,

DAZ



On Mar 8, 9:20 pm, Carl Fyffe carl.fy...@gmail.com wrote:
 There is an add-on for New Relic:http://addons.heroku.com/newrelic

 Basically you want to watch how long your response time is using the
 Apdex Scoring to determine if your site is fast enough for the traffic
 that you have.http://newrelic.com/features.html#ApdexScoring

 With the traffic that you have, more than likely you won't need but
 one dyno (as Oren stated).



 On Mon, Mar 8, 2010 at 4:17 PM, Terence Lee hon...@gmail.com wrote:
  You would add dynos to increase the number of rails instances that are
  run concurrently, so you can scale your site.  Workers would correspond
  to background jobs.

  -Terence

  On Mon, 2010-03-08 at 13:10 -0800, DAZ wrote:
  Thanks Oren,

  That's useful as a starting point. What do I use to 'see how it goes'
  - sorry I'm new to this game and not sure if I'd know if the site was
  performing well or not. What do you mean when you say 'scaling traffic
  instantly' - why would I add dynos and/or workers?

  cheers,

  DAZ

  On Mar 8, 9:06 pm, Oren Teich o...@heroku.com wrote:
   Everything is fully backed for disaster recovery purposes.  We don't 
   provide
   user accessible backups - it's only in case something goes wrong with the
   systems.  This includes your DB and your app.

   Start on a koi + 1 dyno, and see how it goes. You can scale the traffic
   instantly.

   Oren

   On Mon, Mar 8, 2010 at 12:31 PM, DAZ daz4...@gmail.com wrote:
Hi,

I'm planning on launching a production site using Heroku, but have a
few questions:

1) Are sites that are hosted on Heroku backed up or do I have to do it
manually - what is the procedure for doing this?
2) Is the database backed up as well?
3) How does the pricing work? This site has around 500 unique visitors
a day, generating 4000 hits. It is a basic CMS site with a database
backend. Do I need to choose what type of plan I have in advance or
will I be told if any limits are being exceeded?

Thanks for any help anybody can give me,

DAZ

--
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.comheroku%2bunsubscr...@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 her...@googlegroups.com.
  To unsubscribe from this group, send email to 
  heroku+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://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 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: Basic Production Site

2010-03-08 Thread DAZ
Sorry just one more question in reply to Oren - how often do you
backup for disaster recovery purposes, daily?

cheers,

DAZ



On Mar 8, 9:06 pm, Oren Teich o...@heroku.com wrote:
 Everything is fully backed for disaster recovery purposes.  We don't provide
 user accessible backups - it's only in case something goes wrong with the
 systems.  This includes your DB and your app.

 Start on a koi + 1 dyno, and see how it goes. You can scale the traffic
 instantly.

 Oren



 On Mon, Mar 8, 2010 at 12:31 PM, DAZ daz4...@gmail.com wrote:
  Hi,

  I'm planning on launching a production site using Heroku, but have a
  few questions:

  1) Are sites that are hosted on Heroku backed up or do I have to do it
  manually - what is the procedure for doing this?
  2) Is the database backed up as well?
  3) How does the pricing work? This site has around 500 unique visitors
  a day, generating 4000 hits. It is a basic CMS site with a database
  backend. Do I need to choose what type of plan I have in advance or
  will I be told if any limits are being exceeded?

  Thanks for any help anybody can give me,

  DAZ

  --
  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.comheroku%2bunsubscr...@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 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.



Learn Sinatra

2010-01-17 Thread DAZ
My New Year's resolution is to learn Sinatra (a cool micro-framework
that uses Ruby). I've set up a blog on Heroku that you you can see
here:
http://ididitmyway.heroku.com/

The first few posts cover:
* What Is Sinatra?
* Installing Sinatra
* Using Git for Source Control
* Writing A Simple Sinatra App
* Hosting A Sinatra App using Heroku

If you've been thinking about trying out this simple, but powerful
framework, here's your chance to come along for the ride.

I'd appreciate any comments or feedback.

cheers,

DAZ
-- 
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: Rake error message on Heroku

2009-03-17 Thread DAZ

That works! Thanks a lot Adam. I have no idea why this was using Git
submodules - I didn't set them up as far as I know. Your docs were
very clear and helpful too - great job guys!

I'm up and running on Heroku!

Thanks again,

DAZ


On Mar 16, 3:02 am, Adam Wiggins a...@heroku.com wrote:
 Your vendor/plugins/restful-authentication directory is empty in the repo on
 Heroku.  Perhaps you're using Git submodules?  
 See:http://heroku.com/docs#toc62

 Adam
--~--~-~--~~~---~--~~
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: New App on Heroku not working

2009-03-09 Thread DAZ

This error message is when I try to run  heroku rake db:migrate

Again, this error message didn't appear on herokugarden or when I ran
the rake task locally. Anybody got any ideas of what needs fixing?

Thanks,

DAZ




On Mar 8, 5:07 pm, DAZ daz4...@gmail.com wrote:
 Thanks for the help on this guys. Now the error message is:

 uninitialized constant User::Authentication

 This comes from the RESTful Authentication plugin, but it hasn't
 caused rake to abort before. Any ideas what needs doing next?

 cheers,

 DAZ

 On Mar 7, 11:44 pm, Adam Wiggins a...@heroku.com wrote:

  On Thu, Mar 5, 2009 at 11:21 PM, DAZ daz4...@gmail.com wrote:
   Here is my development.rb file, I can't see any reference to
   cache_template_loading, is the line I need to remove here?

  Oops, sorry - it's actually config/environments/production.rb, line
  13.  As someone else pointed out, Heroku runs in production mode.  It
  was probably working on Garden because it was running in development
  mode there.

  Adam
--~--~-~--~~~---~--~~
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: New App on Heroku not working

2009-03-08 Thread DAZ

Thanks for the help on this guys. Now the error message is:

uninitialized constant User::Authentication

This comes from the RESTful Authentication plugin, but it hasn't
caused rake to abort before. Any ideas what needs doing next?

cheers,

DAZ


On Mar 7, 11:44 pm, Adam Wiggins a...@heroku.com wrote:
 On Thu, Mar 5, 2009 at 11:21 PM, DAZ daz4...@gmail.com wrote:
  Here is my development.rb file, I can't see any reference to
  cache_template_loading, is the line I need to remove here?

 Oops, sorry - it's actually config/environments/production.rb, line
 13.  As someone else pointed out, Heroku runs in production mode.  It
 was probably working on Garden because it was running in development
 mode there.

 Adam
--~--~-~--~~~---~--~~
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: New App on Heroku not working

2009-03-05 Thread DAZ

Hi Adam,

Here is my development.rb file, I can't see any reference to
cache_template_loading, is the line I need to remove here?

# Settings specified here will take precedence over those in config/
environment.rb

# In the development environment your application's code is reloaded
on
# every request.  This slows down response time but is perfect for
development
# since you don't have to restart the webserver when you make code
changes.
config.cache_classes = false

# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true

# Show full error reports and disable caching
config.action_controller.consider_all_requests_local = true
config.action_view.debug_rjs = true
config.action_controller.perform_caching = false

# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = false








On Mar 4, 8:08 pm, Adam Wiggins a...@heroku.com wrote:
 On Sun, Mar 1, 2009 at 11:49 PM, DAZ daz4...@gmail.com wrote:
  rake aborted!
  undefined method `cache_template_loading=' for ActionView::Base:Class

 This method was removed in Rails 2.2.  You'll need to either 1.
 explicitly set your Rails version to 2.1 in environment.rb, or delete
 the line mentioning cache_template_loading from
 config/environments/development.rb.

 Adam
--~--~-~--~~~---~--~~
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: acts as tree

2009-03-04 Thread DAZ

Hey Zeh,

Use this url:

git://github.com/rails/acts_as_tree.git

DAZ

On Mar 4, 12:55 pm, zeh...@googlemail.com zeh...@googlemail.com
wrote:
 Hey there, i have the same problem. iam very new to rails so i dont
 know if its included into the default distribution. i read that in
 rails2 its only available via plugin, but the plugin is not found in
 the herokugardens gems and plugins list. how to install it? i can
 install it using the install from url function in herokugarden, but
 i dont know the excact url. should it be ending with .zip ? .rb ?
 thanks for help

 zeh

 On Jan 25, 3:11 pm, DAZ daz4...@gmail.com wrote:

  How come acts_as_tree isn't available as a plugin?

  DAZ
--~--~-~--~~~---~--~~
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: New App on Heroku not working

2009-03-02 Thread DAZ

bubbles.heroku.com



On Mar 2, 4:40 pm, Morten Bagai mor...@heroku.com wrote:
 Daz,

 What's the name of your app?

 /Morten

 On Mar 1, 2009, at 11:49 PM, DAZ wrote:



  Hi,

  I've been using Herokugarden for a while and decided to give Heroku
  beta a try.

  I am using a current app that works locally using sqlite database. I
  followed the quickstart instructions and everything went okay until I
  tried heroku rake db:migrate, when I get the following error:

  rake aborted!
  undefined method `cache_template_loading=' for ActionView::Base:Class

  I am using sqlite locally and have set git up to ignore these files by
  following the instructions in the guide. How do I set up the database
  settings for use on Heroku?

  When I go to the webpage for my site I get the following error
  message:

  App failed to start

  ** Ruby version is not up-to-date; loading cgi_multipart_eof_fix

  Cany anybody help me with this?

  cheers,

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



New App on Heroku not working

2009-03-01 Thread DAZ

Hi,

I've been using Herokugarden for a while and decided to give Heroku
beta a try.

I am using a current app that works locally using sqlite database. I
followed the quickstart instructions and everything went okay until I
tried heroku rake db:migrate, when I get the following error:

rake aborted!
undefined method `cache_template_loading=' for ActionView::Base:Class

I am using sqlite locally and have set git up to ignore these files by
following the instructions in the guide. How do I set up the database
settings for use on Heroku?

When I go to the webpage for my site I get the following error
message:

App failed to start

** Ruby version is not up-to-date; loading cgi_multipart_eof_fix

Cany anybody help me with this?

cheers,

DAZ
--~--~-~--~~~---~--~~
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: Editor not working

2009-02-14 Thread DAZ

Thanks for the reply Candace, I've had problems with CSS files and
images too - but they seem more to do with the browser cache.

At the moment I'm trying to edit some views - the behaviour is very
bizarre - I make changes in the editor, save them, view the page and
it hasn't changed, go back to the editor and the changes I made are
not there - seems that they are just not saving at all, even though it
says it has saved them. Another problem is that it is saying that all
my views have syntax errors, even though I'm sure there aren't any.

Any help on this from anybody would be appreciated!

cheers,

DAZ



On Feb 14, 4:05 am, Candace Wong candace.p.w...@gmail.com wrote:
 Hi Daz,

 I was getting the same thing for a while but it was only happening on static
 resources (.css files, images). Is this what's happening?

 Cheers,

 Candace

 On Sat, Feb 14, 2009 at 8:02 AM, DAZ daz4...@gmail.com wrote:

  I'm trying to work with the online editor on my app
  (gears.herokugarden.com) and I'm getting nothing - no changes are
  taking effect or being saved. Anybody else getting this and can it be
  fixed?

  cheers,

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



Editor not working

2009-02-13 Thread DAZ

I'm trying to work with the online editor on my app
(gears.herokugarden.com) and I'm getting nothing - no changes are
taking effect or being saved. Anybody else getting this and can it be
fixed?

cheers,

DAZ
--~--~-~--~~~---~--~~
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: editor hosed?

2009-02-04 Thread DAZ

Seems to be working now Ivan - thanks so much for sorting this out so
quickly!

DAZ

On Feb 4, 7:26 pm, Ivan i...@heroku.com wrote:
 To all,

 My sincerest apologies if I told you it was working before. The editor
 is run across several systems and there was one that was misbehaving.
 This system has been corrected and the editor should now be working
 for all.

 If you are still having issues, please send an email with your app
 name to feedb...@heroku.com.

 Thanks,

 - Ivan

 On Feb 4, 1:02 pm, Adam adama...@gmail.com wrote:

  I have been getting a gateway timeout when trying to edit my code for
  project textminder on HerokuGarden.  This has been off and on for a
  few days but has timed out much more often than it has worked.  Not
  critical but thought I'd mention it since it seems to be going
  around.  I really enjoy using your product, thanks for everything.

  Adam

  On Feb 3, 6:09 pm, Ivan i...@heroku.com wrote:

   Daz, Trippytom,

   What app are you having trouble with and is it a HerokuGarden or
   Heroku app?

   - Ivan

   On Feb 3, 5:31 pm, DAZ daz4...@gmail.com wrote:

I'm also having real problems geting into the editor ... very
frustrating ... g!

DAZ

On Jan 29, 6:36 pm, trippytom trippy...@yahoo.com wrote:

 I was adding a new file to my app, when I got redirected to a page
 with the following:

 We're sorry, but something went wrong.
 We've been notified about this issue and we'll take a look at it
 shortly.

 The app still works, I just can't get into the edit mode ... I can for
 other apps of heroku.  Any ideas?  Thanks!
--~--~-~--~~~---~--~~
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 to install 'acts_as_list' plugin?

2009-02-03 Thread DAZ

Dan,

From the editor, go to 'vendor' and click on the gemsplugins link
then enter this 'git://github.com/rails/acts_as_list.git' in the text
box. That should install acts_as_list.

DAZ

On Feb 2, 3:05 pm, Ed Jones ed.jo...@gmail.com wrote:
 Dan, maybe you could spell out where it doesn't work.

 I haven't tried installing anything on hgarden--keep hoping they'll
 fix things so that the old app works as it did on Heroku. But it seems
 maybe I saw some hints about pluggins in the last couple weeks posts?

 Does plugin install give an error?
 e

 On Feb 1, 4:19 am, Dan Moore danielcmo...@gmail.com wrote:

  Greetings,

  I've tried everything I can think of to install the 'acts_as_list'
  plugin in Herokugarden, but nothing seems to work.  Does anyone have
  instructions for doing this that work?

  Thanks!
--~--~-~--~~~---~--~~
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: amigle.com

2009-02-03 Thread DAZ

I'm getting 504 errors when I try to use the in-browser editor.
Finding it impossible to work on my site!

DAZ

On Feb 3, 6:40 pm, Ivan i...@heroku.com wrote:
 I am working on it now.

 - Ivan

 On Feb 3, 8:41 am, muthu muth...@gmail.com wrote:

  504 Gateway Time-out

  nginx/0.6.32

  On Feb 3, 8:41 am, muthu muth...@gmail.com wrote:

   Hi,

   Our website is down ! Please help us to restore the site back.

   Thanks,

   Muthu
--~--~-~--~~~---~--~~
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: editor hosed?

2009-02-03 Thread DAZ

I'm also having real problems geting into the editor ... very
frustrating ... g!

DAZ

On Jan 29, 6:36 pm, trippytom trippy...@yahoo.com wrote:
 I was adding a new file to my app, when I got redirected to a page
 with the following:

 We're sorry, but something went wrong.
 We've been notified about this issue and we'll take a look at it
 shortly.

 The app still works, I just can't get into the edit mode ... I can for
 other apps of heroku.  Any ideas?  Thanks!
--~--~-~--~~~---~--~~
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: editor hosed?

2009-02-03 Thread DAZ

my app is gears.herokugarden.com

The editor is still not working

cheers,

DAZ

On Feb 4, 3:52 am, Dan Moore danielcmo...@gmail.com wrote:
 And now it is magically working again.  Thanks!

 On Feb 3, 9:51 pm, Dan Moore danielcmo...@gmail.com wrote:

  Incidentally, the error I'm getting is 504 Gateway Time-out after a
  long wait.

  On Feb 3, 9:49 pm, Dan Moore danielcmo...@gmail.com wrote:

   I'm unable to get to the editor for my app called 'wala' on
   HerokuGarden.

   On Feb 3, 6:09 pm, Ivan i...@heroku.com wrote:

Daz, Trippytom,

What app are you having trouble with and is it a HerokuGarden or
Heroku app?

- Ivan

On Feb 3, 5:31 pm, DAZ daz4...@gmail.com wrote:

 I'm also having real problems geting into the editor ... very
 frustrating ... g!

 DAZ

 On Jan 29, 6:36 pm, trippytom trippy...@yahoo.com wrote:

  I was adding a new file to my app, when I got redirected to a page
  with the following:

  We're sorry, but something went wrong.
  We've been notified about this issue and we'll take a look at it
  shortly.

  The app still works, I just can't get into the edit mode ... I can 
  for
  other apps of heroku.  Any ideas?  Thanks!
--~--~-~--~~~---~--~~
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 to install 'acts_as_list' plugin?

2009-02-03 Thread DAZ

No problem Dan,

I've found that entering urls from github to be the best and most
reliable way of installing plugins as it usually guarantees the most
up to date version.

DAZ

On Feb 4, 3:58 am, Dan Moore danielcmo...@gmail.com wrote:
 On Feb 3, 5:09 pm, DAZ daz4...@gmail.com wrote:

  From the editor, go to 'vendor' and click on the gemsplugins link
  then enter this 'git://github.com/rails/acts_as_list.git' in the text
  box. That should install acts_as_list.

 No no no, this won't do at all.  I'm looking for a much more
 complicated solution!  This is too easy, and works.

 ;)

 Thanks!
--~--~-~--~~~---~--~~
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: Herokugarden = 502 Bad Gateway

2009-01-20 Thread DAZ

Snap. I'm getting 'server failed to start' on all my apps.

DAZ

On Jan 19, 8:07 pm, Paul Leader paul.lea...@gmail.com wrote:
 Hi guys,

 It's broken again.

 http://me-monitor.herokugarden.com/is returning 502.

 The edit interface is showing the We're sorry, but something went
 wrong. message.

 Paul

 On Jan 19, 2:37 am, Ivan Makfinsky i...@heroku.com wrote:

  Paul,

  It's been corrected.

  - Ivan

  On Sun, Jan 18, 2009 at 7:49 AM, Paul Leader paul.lea...@gmail.com wrote:
   Hi

   I'm getting 502s for my app me-monitor as well.  It was working ok
   immediatly after the move, but now fails.

   Also, I can't save changes to files in the code editor.

   Thanks

   Paul

   On Jan 16, 7:37 pm, Ivan i...@heroku.com wrote:
Right now, we are sifting through the logs to make sure that
everything's running correctly.

You're app has been reset and it's up now.

- Ivan

On Jan 16, 12:47 pm, Alfonso aadrias...@gmail.com wrote:

 hi Ivan, thanks for the quick look, I'm still getting 502's though.

 Any steps i can take to remedy this?

 On Jan 16, 9:43 am, Ivan i...@heroku.com wrote:

  Alfonso,

  It may be something residual from the migration this morning. I have
  reset the app and it looks better.

  We are still working out small glitches as we come across them, bear
  with us and continue to let us know about issues you may have with
   the
  platform.

  - Ivan

  On Jan 16, 12:20 pm, Alfonso aadrias...@gmail.com wrote:

   Also having 502 Bad Gateway on

   appname: wwhow

   Something's going on: I renamed it to wwhow-dev and everything
   works.
   Rename it back to wwhow and nothing works (can't edit anymore)
   I blew away the app and reimported it , same situation.

   Maybe I messed it up by deleting the app?
--~--~-~--~~~---~--~~
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: Herokugarden = 502 Bad Gateway

2009-01-16 Thread DAZ

Thanks for sorting this Ivan!

cheers,

DAZ

On Jan 16, 2:47 pm, Sammy Larbi sla...@gmail.com wrote:
 Upon reload it's now gone and my app shows.

 Thanks for the rapid progress.

 On Fri, Jan 16, 2009 at 8:47 AM, Sammy Larbi sla...@gmail.com wrote:
  I'm now getting (if I may say, very cool looking) Maintenance in progress
  page up.

  On Fri, Jan 16, 2009 at 8:44 AM, Ivan i...@heroku.com wrote:

  Folks,

  Thanks for your patience.

  The transition took longer than planned. Everything should be working
  now.

  Let me know if there are any issues with your apps.

  - Ivan

  On Jan 16, 7:03 am, Sammy Larbi sla...@gmail.com wrote:
   Same since changing my CNAME record to point to herokugarden

   On Fri, Jan 16, 2009 at 3:43 AM, DAZ daz4...@gmail.com wrote:

Since the transition, all my apps don't work and just come up with the
502 Bad Gateway message. It is very frustrating not being able to work
on or view an app. Will they be fixed soon?

Also, when will it be possible to sign up for the production platform?

cheers,

DAZ
--~--~-~--~~~---~--~~
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: CSS files not updating

2009-01-14 Thread DAZ

Thanks for the feedback Keenan,
I am running in development mode. I figured that it was because I was
updating a stylesheet that was imported from the stylesheet that was
linked from the layout file, but even when I update this file, the CSS
doesn't update, so there still seems to be some sort of problem that
is infuriating!

Thanks for the idea of using content_for - I'll use that in future,
but it would be nice to know how to get the external css files to have
a more instant effect.

cheers,

DAZ



On Jan 8, 6:15 pm, Keenan Brock kee...@thebrocks.net wrote:
 Hi DAZ,

 You may want to run in development mode?

 In development mode, the stylesheet tag, tweaks the stylesheet name  
 different style.css?1242346 - that last number is based upon the mod  
 date of the stylesheet . So when you change the sheet, the browser  
 requests a different file and you don't have that problmem.

 Sometimes when I am working with stylesheets, I make the mods directly  
 in my individual page rather than in the main applicaiton file.

 in my layout I typically have a

 head
 title...
 %= stylesheet_link_tag 'application' %
 %= yield :header -%

 and on my individual page I'll have:

 % content_for :head do %
 style
 /style
 % end -%

 I tweak the css in the individual page until things are what I want.
 Then I cut and paste that stuff into the public/stylesheets/
 application.css file.
 [I usually use the application name and not the word 'applicaiton' but  
 everyone does things a little differently.]

 Hope that helps,
 Keenan

 On Jan 8, 2009, at 6:13 AM, DAZ daz4...@gmail.com wrote:



  I'm having a bit of trouble with CSS files not always displaying the
  most recent styles after I edit the file. The stylesheets seem to be
  being cached on the server side (clearing my browser cache seems to
  make no difference). Is there any way to get the app to use the most
  up to date CSS files?

  cheers,

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



uninstalling github plugins

2009-01-06 Thread DAZ

If I install a plugin directly from a github url, there doesn't appear
to be an 'uninstall' option, how would I get rid of the plugin if I
didn't want it?

cheers,

DAZ
--~--~-~--~~~---~--~~
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: Markdown not working

2009-01-05 Thread DAZ

This seems to be working again now - not sure what the problem was!

DAZ

On Jan 4, 4:55 pm, DAZ daz4...@gmail.com wrote:
 Hi, I've used markdown before on Heroku and have the BlueCloth gem
 installed, but since updating an app to Rails 2.2.2 I get the
 following error in the console:

 markdown(We are using __Markdown__ now!)
 NoMethodError: undefined method `markdown' for #Object:0xb7d189ec
 @heroku_console_output=[]

 Does anybody know what happened to markdown?

 DAZ
--~--~-~--~~~---~--~~
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: Restful Authentication

2008-12-23 Thread DAZ

Yes it is there, I was looking for a line exactly like
cache_template_extensions

I've commented it out and now the plugin works, so thanks to both of
you. I guess that this line is not in any 'fresh' version 2.2 apps (I
have just updated by changing the line RAILS_GEM_VERSION = '2.1' to
RAILS_GEM_VERSION = '2.2.2'

Thanks again!

DAZ



On Dec 23, 2:48 pm, mikong michaelgal...@gmail.com wrote:
 Are you sure it's not in your development.rb? The line

 config.action_view.cache_template_extensions         = false
--~--~-~--~~~---~--~~
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: Time Zones

2008-12-23 Thread DAZ

Thanks Mikong,

I think the problem is that when a task is saved to the database,
completed_on gets set to Time.now

Going into console and typing Time.now gives:
Tue Dec 23 10:05:00 -0800 2008

I think this is where the problem lies (the auto updated_at and
created_at timestamps must get round this somehow) ... any ideas?

cheers,

DAZ

On Dec 23, 4:36 pm, mikong michaelgal...@gmail.com wrote:
 Handling time zones ever since Rails 2.1 should be invisible to the
 developer. You might want to check out

 http://railscasts.com/episodes/106-time-zones-in-rails-2-1

 I tested your case in a recently generated app in Heroku (default
 config.time_zone in environment.rb is 'UTC'). I've generated a User
 scaffold (the migration had timestamps by default). I created a user.
 Even if I use distance_of_time_in_words(@user.created_at), the
 displayed time is correct (1 minute ago, 7 minutes ago, and so on).
 Even after changing the time zone in environment.rb to 'Fiji', it's
 still displayed correctly.
--~--~-~--~~~---~--~~
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: Restful Authentication

2008-12-23 Thread DAZ

Yes it is there, I was looking for a line exactly like
cache_template_extensions

I've commented it out and now the plugin works, so thanks to both of
you. I guess that this line is not in any 'fresh' version 2.2 apps (I
have just updated by changing the line RAILS_GEM_VERSION = '2.1' to
RAILS_GEM_VERSION = '2.2.2'

Thanks again!

DAZ



On Dec 23, 2:48 pm, mikong michaelgal...@gmail.com wrote:
 Are you sure it's not in your development.rb? The line

 config.action_view.cache_template_extensions         = false
--~--~-~--~~~---~--~~
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: Restful Authentication

2008-12-22 Thread DAZ

Thanks Corey, but which line am I looking to delete? Is it this one:
cache_template_extensions

because I can't seem to find it in any of my environment files.

DAZ



On Dec 22, 6:26 pm, Corey Haines coreyhai...@gmail.com wrote:
 Here's a thread with the answer.

 http://groups.google.com/group/heroku/browse_thread/thread/34a862bd64...



 On Mon, Dec 22, 2008 at 12:41 PM, DAZ daz4...@gmail.com wrote:

  Has anybody got this working on Heroku?

  It installs in the vendor folder, but when I run the generate script,
  I get the following error:

  /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:530:in
  `send': undefined method `cache_template_extensions=' for
  ActionView::Base:Class (NoMethodError) from /usr/lib/ruby/gems/1.8/
  gems/rails-2.2.2/lib/initializer.rb:530:in
  `initialize_framework_settings' from /usr/lib/ruby/gems/1.8/gems/
  rails-2.2.2/lib/initializer.rb:529:in `each' from /usr/lib/ruby/gems/
  1.8/gems/rails-2.2.2/lib/initializer.rb:529:in
  `initialize_framework_settings' from /usr/lib/ruby/gems/1.8/gems/
  rails-2.2.2/lib/initializer.rb:526:in `each' from /usr/lib/ruby/gems/
  1.8/gems/rails-2.2.2/lib/initializer.rb:526:in
  `initialize_framework_settings' from /usr/lib/ruby/gems/1.8/gems/
  rails-2.2.2/lib/initializer.rb:154:in `process' from /usr/lib/ruby/
  gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `send' from /usr/
  lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `run'
  from /mnt/home/userapps/15346/config/environment.rb:13 from /usr/local/
  lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
  `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/
  custom_require.rb:31:in `require' from /usr/lib/ruby/gems/1.8/gems/
  rails-2.2.2/lib/commands/generate.rb:1 from /usr/local/lib/site_ruby/
  1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/
  local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
  from script/generate:3

  cheers,

  DAZ

 --http://www.coreyhaines.com
 The Internet's Premiere source of information about Corey Haines
--~--~-~--~~~---~--~~
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: Restful Authentication

2008-12-22 Thread DAZ

Thanks Corey, but which line am I looking to delete? Is it this one:
cache_template_extensions

because I can't seem to find it in any of my environment files.

DAZ



On Dec 22, 6:26 pm, Corey Haines coreyhai...@gmail.com wrote:
 Here's a thread with the answer.

 http://groups.google.com/group/heroku/browse_thread/thread/34a862bd64...



 On Mon, Dec 22, 2008 at 12:41 PM, DAZ daz4...@gmail.com wrote:

  Has anybody got this working on Heroku?

  It installs in the vendor folder, but when I run the generate script,
  I get the following error:

  /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:530:in
  `send': undefined method `cache_template_extensions=' for
  ActionView::Base:Class (NoMethodError) from /usr/lib/ruby/gems/1.8/
  gems/rails-2.2.2/lib/initializer.rb:530:in
  `initialize_framework_settings' from /usr/lib/ruby/gems/1.8/gems/
  rails-2.2.2/lib/initializer.rb:529:in `each' from /usr/lib/ruby/gems/
  1.8/gems/rails-2.2.2/lib/initializer.rb:529:in
  `initialize_framework_settings' from /usr/lib/ruby/gems/1.8/gems/
  rails-2.2.2/lib/initializer.rb:526:in `each' from /usr/lib/ruby/gems/
  1.8/gems/rails-2.2.2/lib/initializer.rb:526:in
  `initialize_framework_settings' from /usr/lib/ruby/gems/1.8/gems/
  rails-2.2.2/lib/initializer.rb:154:in `process' from /usr/lib/ruby/
  gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `send' from /usr/
  lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `run'
  from /mnt/home/userapps/15346/config/environment.rb:13 from /usr/local/
  lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
  `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/
  custom_require.rb:31:in `require' from /usr/lib/ruby/gems/1.8/gems/
  rails-2.2.2/lib/commands/generate.rb:1 from /usr/local/lib/site_ruby/
  1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/
  local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
  from script/generate:3

  cheers,

  DAZ

 --http://www.coreyhaines.com
 The Internet's Premiere source of information about Corey Haines
--~--~-~--~~~---~--~~
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: Server Failed to Start

2008-12-13 Thread DAZ

It's back up and working again now. Thanks to whoever fixed it.
Anybody got any idea what went wrong?

DAZ

On Dec 13, 3:18 pm, DAZ daz4...@gmail.com wrote:
 Hi I keep getting this message when I try to view my app - anybody
 know how I can get it working?

 The server for tickl failed to start. Details:
 *** glibc detected *** corrupted double-linked list: 0x086b7ea8 *** 
 Thin web server (v0.8.2 codename Double Margarita)  Threaded mode
 OFF  Maximum connections set to 1024  Listening on 0.0.0.0:47357,
 CTRL+C to stop

 cheers,

 DAZ
--~--~-~--~~~---~--~~
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: Katana Editor

2008-11-27 Thread DAZ

Thanks lowellv,

Does anywhere have exact instructions? I seem to remember that in the
past there were also other issues such as editing certain config lines
to get it to work (I think this was on Ubuntu 7.10).

Thanks,

DAZ

On Nov 27, 12:14 pm, lowellv [EMAIL PROTECTED] wrote:
 install rails as a gem through rubygems and not ubuntu's package
 management.

 On Nov 26, 1:49 pm, DAZ [EMAIL PROTECTED] wrote:

  Installing Rails locally every time Ubuntu changes versions can be a
  real pain, so I stopped doing it and just used Heroku online, but I
  guess I might have to do a local install and get with using git.

  DAZ
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Katana Editor

2008-11-26 Thread DAZ

Thanks for the replies. I'm using FF3 on Ubuntu. I can't seem to
figure out when this happens, it just goes crazy occasionally. I love
editing online and wish Katana would see some lovin' as it has the
potential to be great (open source it guys!!) - how cool would
autocompletion be??

Installing Rails locally every time Ubuntu changes versions can be a
real pain, so I stopped doing it and just used Heroku online, but I
guess I might have to do a local install and get with using git.

DAZ




On Nov 26, 12:00 pm, waldo [EMAIL PROTECTED] wrote:
 I've had the editor move around lines, insertion point, select text
 (ctrl+right-arrow) and copy-paste mess up.

 My superstitions for each of these problems:

 Moving / splitting lines
 * This tends to happen when the editor doesn't like my (wrong) syntax.

 Insertion point
 * Seems to happen more often when using the mouse to select a cursor
 position - generally using the keyboard to navigate gives much more
 reliable results.

 Select text
 * Using ctrl+arrow (left or right) to select words tends to break if
 the editor hasn't properly parsed the line - note it may appear to
 have correctly selected the appropriate section (or nothing will get
 selected) but deleting (or copying) the text will occur on a different
 section to that which is shown as selected.
 * Examples that screw up:
 ** @mr_mistake = Us.new( :email = mr#mistake.com, :counter = 6 )
 *** The # inside quotes breaks things. Result nothing is selectable
 beyond the #.
 ** @john = Us.new( :email = [EMAIL PROTECTED], :counter = 0 )
 *** The @ inside quotes breaks things. Result [EMAIL PROTECTED] appears
 selected but only the first john gets deleted.
 ** div id=body class=sample_hide style=%= has_error ?  :
 display: none; %
 *** The %= inside quotes breaks things. Result nothing is selectable
 beyond the %=.
 * Screws up selecting anything on the line to the right of the
 weirdness.
 * Essentially any time the syntax highlighting is messed up this issue
 will occur.

 Copy-paste
 * Is effected by the insertion and select text issues.
 * Sometimes it appears to copy, cut - but although the action is
 performed (cut text gets removed) the text never actually reaches the
 system's clipboard - previous clipboard content remains.
 * Short-cuts aren't setup for capital letters (this is different to
 general behaviour - in windows at least).
 ** The effect of this is when I hit the caps lock key - cut, copy and
 paste short-cut keys appear to stop working.

 Waldo

 P.S. I don't have much choice (at the moment) other than editing
 online.

 On 25 Nov, 22:05, giorgio [EMAIL PROTECTED] wrote:

  I have had this proble wher the cursor is several characters or even
  lines away from where the actual insertion point is.
  I have not found any reliable way to fix it.

  I dont edit online anymore.

  G.

  On Nov 26, 6:14 am, Chris Schumann [EMAIL PROTECTED] wrote:

   I've seen this in FF3 on Linux, but only when I change the text size.
   When I revert to normal size, the editor behaves just finr.

   Chris

   On Nov 25, 3:11 pm, DAZ [EMAIL PROTECTED] wrote:

I'm having sporadic trouble with the in-browser editor. Every now and
then it seems to have real trouble knowing which line I am on and
inserts random line breaks, or gets rid of line breaks, rendering the
ruby code useless.

Does anybody know how to fix this?

cheers,

DAZ
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Katana Editor

2008-11-24 Thread DAZ

I'm having sporadic trouble with the in-browser editor. Every now and
then it seems to have real trouble knowing which line I am on and
inserts random line breaks, or gets rid of line breaks, rendering the
ruby code useless.

Does anybody know how to fix this?

cheers,

DAZ
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Is Heroku down?

2008-07-18 Thread DAZ

very funny - do you guys do standup when you not hacking away? : )

Back up now. I think I had a browser issue and should have should
restarted firefox because even heroku.com gave me a blank untitiled
page.

cheers,

DAZ



On Jul 18, 4:13 am, Adam Wiggins [EMAIL PROTECTED] wrote:
 On Thu, Jul 17, 2008 at 8:13 PM, DAZ [EMAIL PROTECTED] wrote:
  I get nothing when I go to heroku.com

 Try:

 http://downforeveryoneorjustme.com/heroku.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Is Heroku down?

2008-07-18 Thread DAZ

Back up now. I think I had a browser issue and should have should
restarted firefox because even heroku.com gave me a blank untitiled
page.

cheers,

DAZ

On Jul 18, 4:13 am, Adam Wiggins [EMAIL PROTECTED] wrote:
 On Thu, Jul 17, 2008 at 8:13 PM, DAZ [EMAIL PROTECTED] wrote:
  I get nothing when I go to heroku.com

 Try:

 http://downforeveryoneorjustme.com/heroku.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Firefox 3 (currently RC2) would be a good idea

2008-06-10 Thread DAZ

Can I get this started again - Ubuntu updated to Firefox 3 full
version today so it would be great if it could be supported.

Thanks,

DAZ
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Production Environment

2008-06-04 Thread DAZ

I don't seem to have a 'Mode' section here.

I have an option to change the name, choice of public or private and a
list of collaborators.

Any chance that this is only for blessed apps only?

DAZ

On Jun 3, 2:21 pm, mikong [EMAIL PROTECTED] wrote:
 Go to the Settings page of your app. Under the Sharing tab, there's a
 Mode section where you can choose Development or Production.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Can you do this with Git?

2008-06-04 Thread DAZ

Looks like when I've finished it then, I'll have to learn how to write
a plugin

A few questions about that, if anybody knows:
* Are there any good instructions anywhere on how to write a plugin?
* Like I mentioned before, if I have a vanilla version of the plugin
and a site that uses this plugin and I improve part of the plugin on
the site, can I merge these changes into the plain vanilla version of
the plugin and then pass these changes around to any other sites that
use the plugin?
* Once you have made a plugin, can you improve it and easily update
sites that are using the plugin?

thanks for all the help on this,

DAZ

On Jun 3, 11:24 pm, Morten Bagai [EMAIL PROTECTED] wrote:
 Hi,

  From what you described it sounds like a plugin is the appropriate
 strategy.

 /Morten

 On Jun 2, 2008, at 5:53 AM, DAZ wrote:



  Thanks Scott, I was thinking of getting the stuff from Peepcode, but
  just wanted to check first if what I was describing was even possible
  with git. Or is it worth learning anywya?

  thanks again,

  DAZ

  On Jun 2, 1:21 pm, Scott Gardner [EMAIL PROTECTED] wrote:
  Hi DAZ, checkout peepcode.com's Git screencasts and PDFs. You will
  gain a solid understanding of Git from them. Good luck

  On Jun 1, 11:39 am, DAZ [EMAIL PROTECTED] wrote:

  Hi,

  I have almost built a sort of mini content management system that
  has
  a basic user login and allows you to create pages. I'd like to use
  this as the basis for starting some projects.

  What I was wondering was if I set up 2 sites - site A and site B -
  using the barebones miniCMS files and then built upon this for each
  site, adding new models, styles and views.

  Say that I then really improved the User model in site A. Is there a
  way of somehow getting these changes into site B AND the core files.
  It sounds like Git can do this by mergin, but I just don't know
  enough
  about Git at all.

  If this is possible, could anybody point me to any good tutorials on
  using Git - specifically how to do what I described?

  ...or should I just make the original files a plugin or generator?

  Thanks,

  DAZ
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Production Environment

2008-06-02 Thread DAZ

Hi,

How do I run in the production environment?

I want to test if my custom 404 errors are working

thanks,

DAZ
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Rails Version

2008-05-19 Thread DAZ

Hi,

Which version of Rails is running on Heroku? Is this fixed from when
the project is created so therefore different for each project or is
it continually updated centrally, so each project uses the same
version of rails? I've noticed that the new named_scope methods from
rails 2.1 don't work, so I guess that that version isn't running on my
project!

thanks,

DAZ
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Markdown?

2008-05-09 Thread DAZ

Hi,

I'm trying to use the markdown helper, eg:

%= markdown @post.content %

It is saying:
undefined method `markdown' for #ActionView::Base:0xb753917c

Is this because bluecloth is not installed?

I've gone to the plugins and gems sections, but can't find a button to
install bluecloth. What should I do?

cheers,

DAZ
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Markdown?

2008-05-09 Thread DAZ

What do I need to upload?


On May 9, 4:18 pm, mikong [EMAIL PROTECTED] wrote:
 There's an 'Upload' link on the Gems  Plugins page of Heroku.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Uploading multiple files

2008-04-27 Thread DAZ

I've found that downloading an app, then using drag and drop on the
desktop, then uploading it back again is the quickest option, but
surely it can't be that hard to make transferring multiple files
easier from within the code editor itself?

DAZ

On Apr 19, 4:58 pm, DAZ [EMAIL PROTECTED] wrote:
 Is it possible to upload lots of files at once?

 I have a number of CSS files that I usually use each time I start a
 project and it is a pain uploading them one by one

 DAZ
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: syntax error in console

2008-04-27 Thread DAZ

I get:
undefined method `acts_as_tree'

and can't seem to find acts_as_tree in the plugins list!

Anybody know how to rectify this?

cheers,

DAZ


On Mar 11, 1:39 pm, rob [EMAIL PROTECTED] wrote:
 Oh...!

 Thanks.

 I don't seeacts_as_treein that list so I'm gonna assume it's already
 installed and see how I go...

 On Mar 11, 5:34 am, Nick [EMAIL PROTECTED] wrote:

  Hi,
  You don't have a command line console. The console you seem to be
  using is the ruby console which naturally expects ruby code. The
  important tasks can be performed in other ways - e.g. rake, generate.
  In particular plugins/gems can be installed from the corresponding
  manager which you can read by clicking the link that appears when you
  expand the vendors directory.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Code Editor

2008-04-22 Thread DAZ

I've noticed that the editor has some short-cut keys like ctrl-s for
saving and tab indents. Are there any more? tab auto-completion/
snippets would be great.

Adam, if you could get round to open sourcing this it would be truly
wonderful. I'm sure the community would rally round and get support
for lots of different languages too. Is the code highlighting done
using CSS? I'm thinking it would be easy to make it themeable

DAZ

On Apr 22, 12:42 pm, Michael Erasmus [EMAIL PROTECTED] wrote:
 Another great feature would be the ability to handle custom, user-
 defined language grammars like textmate does.

 On Apr 22, 4:07 am, Adam Wiggins [EMAIL PROTECTED] wrote:

  I've actually wanted to extract the javascript text editor as its own
  open source project for a while now, just haven't found the time.  One
  of these days... :)

  Adam
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Will this be FREE?

2008-04-22 Thread DAZ

It's free while it's in beta, but then you'll have to pay for it on an
'how much you use' basis. It is discussed here:
http://groups.google.com/group/heroku/browse_frm/thread/2aa39e00837ef131/118c18f87fc7162d

Note that they do say that small scale apps should be free.

The guys explain their ideas on the Ruby on Rails podcast here:
http://podcast.rubyonrails.org/programs/1/episodes/heroku

Hope that helps,

DAZ


On Apr 22, 8:17 pm, AzamSharp [EMAIL PROTECTED] wrote:
 Heroku is super awesome! Will this be a FREE service?

 Thanks,
 Azam
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Pricing Limits

2008-04-19 Thread DAZ

Thanks for the reply Mikong. This all sounds good. I hope they keep a
free account for people just playing with rails and offer some price
plans that are competitive for small sites.

DAZ

On Apr 19, 3:44 am, mikong [EMAIL PROTECTED] wrote:
 Heroku is still in Beta and it's free for now. They haven't announced
 their pricing yet, but supposedly it will be modeled after utility
 companies, you pay as you use more resources (i.e. metered resources).

 I have no idea about their limits.

 You need to request for a blessing (go to Settings - Other) and once
 granted, you can use a custom domain. Blessing will only be given to
 apps that have significant functionality already.

 Here's a link to Adam Wiggins' post on pricing and release date
 questions:

 http://groups.google.com/group/heroku/browse_frm/thread/2aa39e00837ef...
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Rails versions

2008-04-19 Thread DAZ

Hi,

I gather that Heroku is using Rails version 2.x, what happens when
this changes and what will the policy be on changing it? Will we have
to update the config files of apps ourself or will older versions
continue to be supported? Is it possible to freeze rails into the app
using Heroku and is is possible to run on edge rails?

cheers,

DAZ
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Uploading multiple files

2008-04-19 Thread DAZ

Is it possible to upload lots of files at once?

I have a number of CSS files that I usually use each time I start a
project and it is a pain uploading them one by one

DAZ
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Pricing Limits

2008-04-18 Thread DAZ

Hi,

I've just had an invite - thanks, this looks really cool. I've just
got a couple of questions:

1. Do I have to pay for this service? If so, how much?

2. Are there any limits (i.e. app size, band-width, number of apps
etc)

3. If I set up a site, say myapp.heroku.com, can I make www.amazingapp.com
point to this app too (assuming I own the www.amazingapp.com name)?

cheers,

DAZ
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---