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



WARN -- : attack prevented by Rack::Protection::IPSpoofing

2011-12-11 Thread DAZ
When a friend tried to look at a site I built on her work computer she
got a 403 error page. I looked at the logs and saw this:

WARN -- : attack prevented by Rack::Protection::IPSpoofing

I think this is because her work computer connects using a VPN and
proxy.

What is the best way to get round this so the site can be viewed?

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  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  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  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 `': 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 `'
>
> > It seems like Sinatra isn't there!
>
> > Any ideas?
>
> > cheers,
>
> > DAZ
>
> > On Nov 23, 5:59 pm, Adam Wiggins  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  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 `': 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 `'
>
> It seems like Sinatra isn't there!
>
> Any ideas?
>
> cheers,
>
> DAZ
>
> On Nov 23, 5:59 pm, Adam Wiggins  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
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 `': 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 `'

It seems like Sinatra isn't there!

Any ideas?

cheers,

DAZ


On Nov 23, 5:59 pm, Adam Wiggins  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: 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  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.



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
$irb>Card.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.



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



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



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/sl

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



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



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.



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.



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.



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  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  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
I've also been trying to skip Pony out and use Mail directly with this
code:

post '/contact' do
require 'mail'
Mail.deliver do
  from params[:from]
  to 'd...@gmail.com'
  subject params[:subject]
  body params[:content]
  port '587'
  delivery_method :smtp,{
:address  => 'smtp.sendgrid.net',
:port => '587',
:enable_starttls_auto => true,
:user_name=> ENV['SENDGRID_USERNAME'],
:password => ENV['SENDGRID_PASSWORD'],
:authentication   => :plain,
:domain   => ENV['SENDGRID_DOMAIN']
  }
end
redirect '/'
end

But it falls over because it doesn't recognise the use of params,
anybody know how to get round this?

cheers,

DAZ



On Aug 23, 4:03 pm, DAZ  wrote:
> I've got it working on Heroku! Thanks Michal!
>
> To answer my own questions:
> 1. Yes, SENDGRID_USERNAME and SENDGRID_PASSWORD are installed when you
> install the sendgrid addon.
> 2. ENV['SENDGRID_DOMAIN'] is used for the domain and this is also set.
>
> I get this error message:
> Not a Rails app, can't install the plugin quick_sendgrid
>
> I presume this isn't a problem?
>
> Anybody got any ideas how I would get this to also work locally? What
> would I have to install?
>
> cheers,
>
> DAZ
>
> On Aug 23, 11:58 am, DAZ  wrote:
>
>
>
> > 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  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  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.



Re: Contact Form Using Sendgrid & Pony

2010-08-23 Thread DAZ
I've got it working on Heroku! Thanks Michal!

To answer my own questions:
1. Yes, SENDGRID_USERNAME and SENDGRID_PASSWORD are installed when you
install the sendgrid addon.
2. ENV['SENDGRID_DOMAIN'] is used for the domain and this is also set.

I get this error message:
Not a Rails app, can't install the plugin quick_sendgrid

I presume this isn't a problem?

Anybody got any ideas how I would get this to also work locally? What
would I have to install?

cheers,

DAZ



On Aug 23, 11:58 am, DAZ  wrote:
> 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  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  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.



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



Contact Form Using Sendgrid & Pony

2010-08-22 Thread DAZ
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  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  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  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  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  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  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.
>
> --
> 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.



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



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



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: 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  wrote:
> http://docs.amazonwebservices.com/AmazonS3/latest/VirtualHosting.html...
>
> HTH,
> Matt Buck
>
>
>
> On Sat, Mar 13, 2010 at 10:38 AM, DAZ  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.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.



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.



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.



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



Basic Production Site

2010-03-08 Thread DAZ
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.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  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
-~--~~~~--~~--~--~---



Rake error message on Heroku

2009-03-15 Thread DAZ

Hi,

I'm having real trouble getting my first app up and running on the
Heroku platform.

Everything has gone fine, up until running:
heroku rake db: migrate, when I get the following error message:

rake aborted!
uninitialized constant User::Authentication

I am using the RESTful Authentication plugin and there is a line in my
User model that says:
  include Authentication

However, this folder is in the vendor folder, so I'm not sure why it
is having trouble with it.

I made this app on herokugarden and have also had it running locally
with no issues. Has anybody got any ideas what is going wrong 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 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  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  wrote:
>
> > On Thu, Mar 5, 2009 at 11:21 PM, DAZ  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  wrote:
> On Thu, Mar 5, 2009 at 11:21 PM, DAZ  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

Just to add also - this app (bubbles.heroku.com) is working fine
locally with Rails v2.2.2 and originally came from herokugarden, where
it was also working. I'm still not sure if the database is set up
properly on heroku - when does the datbase.yml file that refers to the
postgresql get created in the process?

cheers,

DAZ

On Mar 6, 7:18 am, DAZ  wrote:
> 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  wrote:
>
> > On Sun, Mar 1, 2009 at 11:49 PM, DAZ  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: 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  wrote:
> On Sun, Mar 1, 2009 at 11:49 PM, DAZ  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: 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  wrote:
> On Sun, Mar 1, 2009 at 11:49 PM, DAZ  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" 
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  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  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-22 Thread DAZ

Sorry I've been away for the last week.

Thanks for your help and ideas on this Candace. I'm only using erb
files. The problems seem to be more than this - I've just had a go at
editing and can't even access any of my view or controller code. The
model code has the same behaviour as before - it says syntax error and
no changes that I make are saved.

Please, please could somebody help out with this?

cheers,

DAZ

On Feb 15, 12:54 am, Candace Wong  wrote:
> Hi Daz,
>
> Is your site public? Or are you able to send over any examples? Are you
> using standard .erb files to render your views (or some other templating
> framework)? Have you checked that you don't have duplicate files with
> different extensions that are rendering your views? Seems obvious, but last
> week, I had .erb files and .haml files conflicting with one another. Just
> thought I'd point that out in case :)
>
> Cheers,
>
> Candace
>
> On Sat, Feb 14, 2009 at 8:20 PM, DAZ  wrote:
>
> > 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  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  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
-~--~~~~--~~--~--~---



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  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  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  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  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  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  wrote:
>
> > > > I'm also having real problems geting into the editor ... very
> > > > frustrating ... g!
>
> > > > DAZ
>
> > > > On Jan 29, 6:36 pm, trippytom  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  wrote:
> On Feb 3, 5:09 pm, DAZ  wrote:
>
> > From the editor, go to 'vendor' and click on the gems&plugins 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: 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  wrote:
> And now it is magically working again.  Thanks!
>
> On Feb 3, 9:51 pm, Dan Moore  wrote:
>
> > Incidentally, the error I'm getting is "504 Gateway Time-out" after a
> > long wait.
>
> > On Feb 3, 9:49 pm, Dan Moore  wrote:
>
> > > I'm unable to get to the editor for my app called 'wala' on
> > > HerokuGarden.
>
> > > On Feb 3, 6:09 pm, Ivan  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  wrote:
>
> > > > > I'm also having real problems geting into the editor ... very
> > > > > frustrating ... g!
>
> > > > > DAZ
>
> > > > > On Jan 29, 6:36 pm, trippytom  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

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

DAZ

On Jan 29, 6:36 pm, trippytom  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: 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  wrote:
> I am working on it now.
>
> - Ivan
>
> On Feb 3, 8:41 am, muthu  wrote:
>
> > 504 Gateway Time-out
>
> > nginx/0.6.32
>
> > On Feb 3, 8:41 am, muthu  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: How to install 'acts_as_list' plugin?

2009-02-03 Thread DAZ

Dan,

>From the editor, go to 'vendor' and click on the gems&plugins 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  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  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
-~--~~~~--~~--~--~---



acts as tree

2009-01-25 Thread DAZ

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: 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  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"  wrote:
>
> > Paul,
>
> > It's been corrected.
>
> > - Ivan
>
> > On Sun, Jan 18, 2009 at 7:49 AM, Paul Leader  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  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  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  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  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"  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  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  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"  wrote:
> >> > Same since changing my CNAME record to point to herokugarden
>
> >> > On Fri, Jan 16, 2009 at 3:43 AM, DAZ  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
-~--~~~~--~~--~--~---



Herokugarden = 502 Bad Gateway

2009-01-16 Thread DAZ

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  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
>
> 
> ...
> <%= stylesheet_link_tag 'application' %>
> <%= yield :header -%>
>
> and on my individual page I'll have:
>
> <% content_for :head do %>
> 
> 
> <% 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  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
-~--~~~~--~~--~--~---



CSS files not updating

2009-01-08 Thread DAZ

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: Resizing with RMagick + ImageMagick

2009-01-05 Thread DAZ

Any progress on this?

cheers,

DAZ

On Jan 2, 3:09 am, "Orion Henry"  wrote:
> Hey Stu.  I need ask a guy who works for me how this is set up.
> Unfortunately he's out on holiday right now.  Hang in there another day or
> so and I'll get this sorted out.
>
> On Tue, Dec 30, 2008 at 9:50 PM, shenry  wrote:
>
> > ... apologies for posting every 5 mins, too much caffeine
>
> > here is what I get in the heroku console:
>
> > >> identify /tmp/stream.24992.0
> > SyntaxError: compile error
> > /home/heroku_rack/lib/init.rb:1: unknown regexp options - tra
> > /home/heroku_rack/lib/init.rb:1: no . floating literal anymore;
> > put 0 before dot
> > identify /tmp/stream.24992.0
> >                                ^
> > /home/heroku_rack/lib/init.rb:1: syntax error, unexpected tFLOAT
> > identify /tmp/stream.24992.0
> >                                            ^
>
> > Do I need to modify the way paperclip names the temporary files to
> > avoid this error? Can anyone who's got paperclip resizing images offer
> > advice on where I might be going wrong?
>
> > Thanks,
>
> > Stu
>
> > On Dec 30, 9:03 pm, shenry  wrote:
> > > Paperclip is throwing this error during its thumbnail creation:
>
> > > /tmp/stream.24992.0 is not recognized by the 'identify' command
>
> > > any ideas? Thanks,
>
> > > Stu
>
> > > On Dec 29, 9:22 pm, shenry  wrote:
>
> > > > Hi Orion, thanks for the reply... I've removed rmagick from vendor and
> > > > required it and have the same problem. Not sure if I'm requiring
> > > > correctly, but I've tried:
>
> > > > require 'RMagick'
> > > > include Magick
>
> > > > in both the photo.rb model and environment.rb ... maybe it's a
> > > > paperclip issue?
>
> > > > Thanks,
>
> > > > Stu
>
> > > > On Dec 29, 9:12 am, "Orion Henry"  wrote:
>
> > > > > Stu,
>
> > > > > You can't vendor RMagick because of all the binary and system level
> > > > > dependencies.  But we have it installed by default.  If you delete it
> > from
> > > > > your vendor and just require it straight up that should work.
>
> > > > > Orion
>
> > > > > On Sun, Dec 21, 2008 at 11:52 PM, shenry 
> > wrote:
>
> > > > > > [a little while later ...]
>
> > > > > > I think the problem has to do with RMagick - can't seem to get the
> > gem
> > > > > > to work when deployed to Heroku for some reason. I've got it
> > vendored
> > > > > > and required in environment.rb, but I get a warning when I
> > db:migrate
> > > > > > that says "the gems that this app depend on are missing: - rmagick"
>
> > > > > > and when I run rake gems:install I get errors aplenty. Any advice?
> > > > > > Thanks in advance,
>
> > > > > > Stu
>
> > > > > > On Dec 21, 10:15 pm, shenry  wrote:
> > > > > > > I'm uploading images via Paperclip and the thumbnails aren't
> > getting
> > > > > > > generated, probably because of something I've not properly
> > configured
> > > > > > > in my app to work with Heroku's ImageMagick...
>
> > > > > > > Has anyone had success uploading and resizing in production that
> > can
> > > > > > > share some guidance? Thanks for any advice,
>
> > > > > > > Stu
--~--~-~--~~~---~--~~
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  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 # @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
-~--~~~~--~~--~--~---



Markdown not working

2009-01-04 Thread DAZ

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 #

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: Time Zones

2008-12-24 Thread DAZ

Thanks Mikong, I tried what you suggested and found it was working
fine in the console, but not in the app itself. So I checked out the
controller code and found that the problem was I was using the helper
method Time.now.to_s(:db)
I thought that this was needed before saving dates to databases, but
it turns out that you just need Time.now and everything works fine.

Thanks so much for your help - it was much appreciated. The screencast
is very useful, particularly the part about letting users pick their
own time zone.

cheers,

DAZ

On Dec 23, 6:53 pm, mikong  wrote:
> I generated my own Task model with completed_on as timestamp. I used
> timestamp because created_at/updated_at were datetime and I thought
> that could be the problem. It still works though.
>
> I don't think it really matters if Time.now in console is -0800. As
> long as your timestamp/datetime objects have time zone information
> (like the -0800 in Time.now), it should be resolved properly. Setting
> the model field value to Time.now, and then displaying it using
> distance_of_time_in_words_to_now helper should be ok (as I've tested).
>
> As mentioned by Ryan Bates in the Time Zone screencast, as long as the
> dates are stored consistently as UTC in the DB, it should work.
> Perhaps you have old tasks data in your DB with completed_on not
> stored in UTC?
>
> You can also try checking the values of the following in your console
> (where @task is set to a Task you want to check, perhaps one that
> doesn't display the proper value):
>
> >> @task.completed_on
> >> @task.completed_on_before_type_cast
> >> Time.now
--~--~-~--~~~---~--~~
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  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  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  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"  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  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"  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  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
-~--~~~~--~~--~--~---



Restful Authentication

2008-12-22 Thread DAZ

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



Time Zones

2008-12-21 Thread DAZ

Hi,

I'm based in the UK and my app has the time zone set to UTC (in
environment.rb), but heroku's server is set to UTC - 0800 hours, so in
console, Time.now produces the US time. I am using the
distance_of_time_in_words_to_now helper and this is basing its
calculation on UTC time. This means that when I complete an action, it
lists it as happening 8 hours ago!

I'd like to get these to work consistently and preferably consistently
for UK time at present and in the future allow users to set the
timezone themselves. Does anybody know how I can do 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: 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  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: editor improvement suggestion

2008-12-13 Thread DAZ

Can I second this and also add a request for code completion/triggers/
snippets?

JavaScript code highlighting would be great too!

DAZ

On Dec 11, 11:35 pm, dani  wrote:
> Hi!
>
> Heroku is great! I would like to suggest an editor improvment: a kind
> of suggestion-field to search files (i'm tired of open the folders all
> the time to reach the file i want)
>
> keep the work! is great!
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Server Failed to Start

2008-12-13 Thread DAZ

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.
> **  "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: Console says mongrel is not reponding

2008-09-14 Thread DAZ

I'm having the same problem on my app named sparkl

It seems to be okay for a short time and then doesn't want to play.

Once it is fixed will it not happen again?

Thanks,

DAZ

On Sep 11, 5:28 am, Mark <[EMAIL PROTECTED]> wrote:
> My console says:
> "Yourmongrelisnotresponding, check to see if there is a crash
> log."
>
> I've checked for a crash log, but don't see anything there.
> Everything seems to be working ok except for being able to use the
> console.
>
> App Name: myappxl1
--~--~-~--~~~---~--~~
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: 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
-~--~~~~--~~--~--~---



Is Heroku down?

2008-07-17 Thread DAZ

I get nothing when I go to heroku.com

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: Need 2 environments

2008-06-16 Thread DAZ

seconded - this would be very useful.

DAZ

On Jun 16, 4:09 am, amurmann <[EMAIL PROTECTED]> wrote:
> I also would very much appreciate this.
>
> On Jun 13, 6:59 am, Dornz <[EMAIL PROTECTED]> wrote:
>
> > It would be nice if I could have 2 instances of my app, one in
> > development and one in production. The develolpment app would be where
> > I would make changes to the code and would not be visible to the
> > public. After I had tested the changes, I could click a button that
> > would push these changes to my production site.
>
> > My main issue is that I want people to begin using my app, but I also
> > want to continue making changes to it.
>
> > I know that I could work on my local machine and use git to push my
> > changes to heroku, but I like being able to work in 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: 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: Can you do this with Git?

2008-06-03 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
-~--~~~~--~~--~--~---



Re: Can you do this with Git?

2008-06-03 Thread DAZ

Thanks morgoth - those look really useful. If there are only half as
good as railscasts then it will be a winner. I'll have a watch of them
later.

cheers,

DAZ

On Jun 3, 11:47 pm, morgoth <[EMAIL PROTECTED]> wrote:
> http://www.gitcasts.com/could be a solution
--~--~-~--~~~---~--~~
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-03 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
-~--~~~~--~~--~--~---



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



Re: Can you do this with Git?

2008-06-02 Thread DAZ

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



Can you do this with Git?

2008-06-01 Thread DAZ

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



Re: Rails Version

2008-05-19 Thread DAZ

Thanks Adam, that's good to know, and if I want to upgrade rails
versions, do I just change this line in environment.rb?

RAILS_GEM_VERSION = '2.0.2'


DAZ

On May 19, 10:27 pm, "Adam Wiggins" <[EMAIL PROTECTED]> wrote:
> On Mon, May 19, 2008 at 8:23 AM, DAZ <[EMAIL PROTECTED]> wrote:
> > But surely at some point some of the apps on Heroku will need to be
> > updated to the latest version ... and how do we know when Heroku's
> > version gets updated??
>
> Don't worry, they'll be an announcement when 2.1 (or any major
> upgrade) is available.  In most cases this will probably be shortly
> after the official release, once we've had a chance to test it
> thoroughly and do whatever is necessary to make sure it works
> seamlessly with Heroku.
>
> As I mentioned after the last upgrade, 2.0 will be supported for the
> forseeable future, even though 2.1 looks to be a non-compatibility
> breaking release.
>
> 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: Rails Version

2008-05-19 Thread DAZ

But surely at some point some of the apps on Heroku will need to be
updated to the latest version ... and how do we know when Heroku's
version gets updated??


DAZ

On May 19, 4:19 pm, mikong <[EMAIL PROTECTED]> wrote:
> No, you can't change the version of Rails based on this discussion:
>
> http://groups.google.com/group/heroku/browse_frm/thread/f7d6f486c55/
--~--~-~--~~~---~--~~
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: Rails Version

2008-05-19 Thread DAZ

Thanks guys.

Is there any way that I can change the version of rails for an app
that has already been created?

DAZ

On May 19, 11:08 am, mikong <[EMAIL PROTECTED]> wrote:
> As mentioned by Adam in an old post:
>
> You can check this stuff directly by doing `ruby -v` or `rails -v` in
> your app's console.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



  1   2   >