PGError: ERROR: type modifier is not allowed for type bytea

2010-09-16 Thread giorgio
In my schema.rb I have
  create_table attachments, :force = true do |t|
t.string  original_filename
t.string  content_type
t.binary  content,   :limit = 16777215
t.string  description
t.integer client_id
  end

When I do heroku rake db:schema:load

I get:
PGError: ERROR:  type modifier is not allowed for type bytea
LINE 1: ... content_type character varying(255), content
bytea(1677...
 ^
: CREATE TABLE attachments (id serial primary key,
original_filename character varying(255), content_type character
varying(255), content bytea(16777215), description character
varying(255), client_id integer)

It appears from searching this forum that Postgres does not like the
limit with binary.

Does this mean that I have to edit my schema.rb or is there some other
way?

Cheers
George

-- 
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: Missing the Rails 2.3.5 gem.

2010-06-02 Thread giorgio
I get the same message but I dont understand your solution!

I have in my Gemfile:
gem rails, = 2.3.5, :require = rails
But I still get the message Missing the Rails 2.3.5 gem. Please `gem
install -v=2.3.5 rails .

Just to make it more confusing the app is a clone of another one which
works fine on Heroku...

Am I missing something? Do I just need to scrap the Heroku app and
start again?

Cheers
George

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



App suddenly fails to load

2010-05-21 Thread giorgio
Hi,
One of my apps has suddenly refused to load.
I haven't touched it for weeks or even months so I am a bit baffled. I
was not doing anything to the app .. I have just been informed by a
user that it was down and there is a failed to load message on the
screen.
It appears to imply that a gem is missing.. but the app has been
running for a year or so unchanged!

The message that appears on the page is :

App failed to start

An error happened during the initialization of your app.

This may be due to a typo, wrong number of arguments, or calling a
function that doesn’t exists. Check the stack trace below for specific
details.

Make sure the app is working locally in production mode, by running it
with RAILS_ENV (for Rails apps) or RACK_ENV (for Sinatra or other rack
apps) set to production. e.g. RAILS_ENV=production script/server.

/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
connection_adapters/abstract/connection_specification.rb:74:in
`establish_connection': Please install the  adapter: `gem install
activerecord--adapter` (no such file to load -- active_record/
connection_adapters/_adapter) (RuntimeError)
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/
active_record/connection_adapters/abstract/connection_specification.rb:
58:in `establish_connection'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/
active_record/connection_adapters/abstract/connection_specification.rb:
53:in `establish_connection'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:
392:in `initialize_database'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:
139:in `process'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:
112:in `send'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:
112:in `run'
from /disk1/home/slugs/14199_e3ce321_17fe/mnt/config/environment.rb:
16
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `gem_original_require'
 ... 14 levels...
from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:
29:in `instance_eval'
from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:
29:in `initialize'
from /home/heroku_rack/heroku.ru:1:in `new'
from /home/heroku_rack/heroku.ru:1

Any pointers would be very welcome
Cheers
George

-- 
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: RubyZip problem

2010-01-19 Thread giorgio
Thanks for the tip but...
What is the guarantee that gem_bundler will manage to bundle the gem
into vendor if the rake task cant?

G.
-- 
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: Small tutorial about Heroku/Github

2009-06-02 Thread Giorgio Clavelli
Thank you very much Thomas

Giorgio

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



heroku db:push times out

2009-05-20 Thread giorgio

I only have a very small database but it is timing out when I do a
heroku db:push

The error is:
Auto-detected local database: 
mysql://r...@localhost/oypoints_development?encoding=utf8
Sending schema
!!! Caught Server Exception
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
html
head
meta http-equiv=Content-Type content=text/html;
charset=utf-8 /
titleHeroku | Request timed out/title
/head
body
div style=margin: 2em 5em
h1Heroku | Request timed out/h1

pThe application failed to respond within 30 seconds./p
pIf you are the application owner, see a href=http://
docs.heroku.com/performancehttp://docs.heroku.com/performance/a
for information on how to avoid this timeout./p
/div
/body
/html

What can I do?
I thought the db:push was supposed to be the best way to get data to
the server.

Regards
George
--~--~-~--~~~---~--~~
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: heroku db:push times out

2009-05-20 Thread giorgio

The url specified (http://docs.heroku.com/performance) gives an
internal server error.
I tried pushing the data.yml to heroku and running a rake db:data:load
but that failed too.

I now have no database at all on the application.

Any suggestions appreciated.

George
--~--~-~--~~~---~--~~
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: heroku db:push times out

2009-05-20 Thread giorgio

I had to create a new app and then the db:push worked to this new app.

I renamed the old app to -old and renamed the new app to the original
name.

I just need to setup the custom domains and user can get back on...

HOWEVER

We now need an add-on for custom domains.

I  duly installed the add-on.

It wont let me use it until I have verified at http://heroku.com/billing.

When I go there I get
Page Not Found
Sorry champ, no luck at that URL. Cut-and-paste error, maybe?

I'm now stuck with the old app with no database and the new app with
no custom domains.

Not sure what to try next.
My users must think I am incompetent (maybe I am).

George

--~--~-~--~~~---~--~~
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: Mephisto and read only file system

2009-05-11 Thread giorgio

Thanks for the reply Morten,

I dont know if I've got the time to get too sidetracked. I just wanted
a simple cms that was pretty plug and play for a small club site..

Radiant put me off with its non standard application structure so I
thought I'd give Mephisto a shot.
I'm not really even sure its the solution I want but surprisingly
there dont seem to be many cms apps in Rails...

Cheers George

On May 12, 8:40 am, Morten Bagai mor...@heroku.com wrote:
 Hey,

 I was actually just playing with this yesterday. I was able to get it
 to work, by patching lib/mephisto/theme_root so that it puts themes
 in /tmp like this:

 THEME_ROOT = Pathname.new(RAILS_ROOT) + tmp/ +
  (Rails.env.production? ? themes : themes/#{Rails.env})

 It worked, but it's clearly not a sustainable solution since themes
 shouldn't really go in /tmp. How to do it right seems like a slightly
 tricky question to me, actually, since you both have themes that are
 copied and runtime-generated.

 If you're interested in fooling around with it, I'd be happy to share
 my tweaked version with you. It also includes the right .gems file to
 get mephisto's (many) dependencies installed on Heroku.

 Best,

 Morten

 On May 10, 2009, at 3:41 AM, giorgio wrote:



  Hi,

  I read Adam's entry that he had got Mephisto running on heroku...

  However I get read only file system errors.

  Is there any work around?

  Here's the stack trace:

  Processing MephistoController#dispatch (for 203.97.nnn.nnn at
  2009-05-10 03:35:29) [GET]
   Parameters: {action=dispatch, controller=mephisto, path=
  []}

  Errno::EROFS (Read-only file system - /disk1/home/slugs/
  14579_c8bad6a_f265/mnt/themes/site-1 - Heroku has a read-only
  filesystem.  Seehttp://heroku.com/docs#toc59):
 /usr/local/lib/ruby/1.8/fileutils.rb:243:in `mkdir'
 /usr/local/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir'
 /usr/local/lib/ruby/1.8/fileutils.rb:217:in `mkdir_p'
 /usr/local/lib/ruby/1.8/fileutils.rb:215:in `reverse_each'
 /usr/local/lib/ruby/1.8/fileutils.rb:215:in `mkdir_p'
 /usr/local/lib/ruby/1.8/fileutils.rb:201:in `each'
 /usr/local/lib/ruby/1.8/fileutils.rb:201:in `mkdir_p'
 /app/models/site.rb:147:in `themes'
 /app/models/site.rb:159:in `theme'
 (__DELEGATION__):2:in `templates'
 /app/models/site.rb:244:in `find_preferred_template'
 /app/models/site.rb:304:in `set_content_template'
 /app/models/site.rb:201:in `call_render'
 /app/controllers/application.rb:87:in `render_liquid_template_for'
 /app/controllers/mephisto_controller.rb:29:in `dispatch_list'
 /app/controllers/mephisto_controller.rb:11:in `send'
 /app/controllers/mephisto_controller.rb:11:in `dispatch'
 /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
  action_controller/base.rb:1253:in `send'
 /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
  action_controller/base.rb:1253:in `perform_action_without_filters'
 /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
  action_controller/filters.rb:617:in `call_filters'
 /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
  action_controller/filters.rb:638:in `run_before_filters'
 /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
  action_controller/filters.rb:206:in `call'
 /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
  action_controller/filters.rb:206:in `around_proc'
 /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
  active_support/callbacks.rb:182:in `call'
 /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
  active_support/callbacks.rb:182:in `evaluate_method'
 /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
  action_controller/filters.rb:184:in `call'
 /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
  action_controller/filters.rb:635:in `run_before_filters'
 /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
  action_controller/filters.rb:615:in `call_filters'
 /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
  action_controller/filters.rb:638:in `run_before_filters'
 /app/controllers/application.rb:108:in `get_requests_are_readonly'
 /config/initializers/readonly_records.rb:18:in
  `with_readonly_records'
 /app/controllers/application.rb:107:in `get_requests_are_readonly'
 /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
  active_support/callbacks.rb:178:in `send'
 /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
  active_support/callbacks.rb:178:in `evaluate_method'
 /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
  action_controller/filters.rb:186:in `call'
 /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
  action_controller/filters.rb:635:in `run_before_filters'
 /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
  action_controller/filters.rb:615:in `call_filters'
 /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
  action_controller/filters.rb:610

Mephisto and read only file system

2009-05-10 Thread giorgio

Hi,

I read Adam's entry that he had got Mephisto running on heroku...

However I get read only file system errors.

Is there any work around?

Here's the stack trace:

Processing MephistoController#dispatch (for 203.97.nnn.nnn at
2009-05-10 03:35:29) [GET]
  Parameters: {action=dispatch, controller=mephisto, path=
[]}


Errno::EROFS (Read-only file system - /disk1/home/slugs/
14579_c8bad6a_f265/mnt/themes/site-1 - Heroku has a read-only
filesystem.  See http://heroku.com/docs#toc59):
/usr/local/lib/ruby/1.8/fileutils.rb:243:in `mkdir'
/usr/local/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir'
/usr/local/lib/ruby/1.8/fileutils.rb:217:in `mkdir_p'
/usr/local/lib/ruby/1.8/fileutils.rb:215:in `reverse_each'
/usr/local/lib/ruby/1.8/fileutils.rb:215:in `mkdir_p'
/usr/local/lib/ruby/1.8/fileutils.rb:201:in `each'
/usr/local/lib/ruby/1.8/fileutils.rb:201:in `mkdir_p'
/app/models/site.rb:147:in `themes'
/app/models/site.rb:159:in `theme'
(__DELEGATION__):2:in `templates'
/app/models/site.rb:244:in `find_preferred_template'
/app/models/site.rb:304:in `set_content_template'
/app/models/site.rb:201:in `call_render'
/app/controllers/application.rb:87:in `render_liquid_template_for'
/app/controllers/mephisto_controller.rb:29:in `dispatch_list'
/app/controllers/mephisto_controller.rb:11:in `send'
/app/controllers/mephisto_controller.rb:11:in `dispatch'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/base.rb:1253:in `send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/base.rb:1253:in `perform_action_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/filters.rb:617:in `call_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/filters.rb:638:in `run_before_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/filters.rb:206:in `call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/filters.rb:206:in `around_proc'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/callbacks.rb:182:in `call'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/callbacks.rb:182:in `evaluate_method'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/filters.rb:184:in `call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/filters.rb:635:in `run_before_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/filters.rb:615:in `call_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/filters.rb:638:in `run_before_filters'
/app/controllers/application.rb:108:in `get_requests_are_readonly'
/config/initializers/readonly_records.rb:18:in
`with_readonly_records'
/app/controllers/application.rb:107:in `get_requests_are_readonly'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/callbacks.rb:178:in `send'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/callbacks.rb:178:in `evaluate_method'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/filters.rb:186:in `call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/filters.rb:635:in `run_before_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/filters.rb:615:in `call_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/filters.rb:610:in `perform_action_without_benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/rescue.rb:136:in `perform_action_without_caching'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/caching/sql_cache.rb:13:in `perform_action'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/
active_record/connection_adapters/abstract/query_cache.rb:34:in
`cache'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/
active_record/query_cache.rb:8:in `cache'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/caching/sql_cache.rb:12:in `perform_action'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/base.rb:524:in `send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/base.rb:524:in `process_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
action_controller/filters.rb:606:in
`process_without_session_management_support'

Verify account

2009-05-07 Thread giorgio

Hi,

It appears that Verify is the new Bless
But how do you do it?

I cant see any link/button/explanation..

Is it so obvious that I cant see the wood for the trees.

I need to send email.

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



Updating heroku gem

2009-04-19 Thread giorgio

Tried to update heroku gem..

got:

geo...@george-laptop:~/git/oypoints$ sudo gem update heroku
[sudo] password for george:
Updating installed gems
Updating heroku
Building native extensions.  This could take a while...
ERROR:  While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb update heroku
checking for fdatasync() in -lrt... yes
checking for sqlite3.h... no

make
make: *** No rule to make target `ruby.h', needed by
`sqlite3_api_wrap.o'.  Stop.


Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/sqlite3-
ruby-1.2.4 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/ext/
sqlite3_api/gem_make.out


Any suggestions.

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



Internal Server Error on db:data:load

2009-04-07 Thread giorgio

I only have a small database and update it by updating locally, doing
a db:data:dump and then pushing the data.yml to heroku and doing a
heroku rake db:data:load.

However the last three or four times I have had an Internal Server
Error when doing the db:data:load.

The data seems to be there but how can I be sure?

Is this error common?

Cheers
George
--~--~-~--~~~---~--~~
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: Internal Server Error on db:data:load

2009-04-07 Thread giorgio

After browsing some more in this forum it appears there is a heroku
db:push...

Is this what I should be using rather than the rake task?

Is this a recent addition.. not sure that it was available when I ran
heroku help.

Cheers
G.


--~--~-~--~~~---~--~~
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: Same name in HerokuGarden and Heroku

2009-02-11 Thread giorgio

Does this mean that I have to wait til 15th Feb (Which I guess is only
a few days now) before migrating to Heroku?
I dont really want to delete the app from Heroku Garden before I can
rename the app in Heroku.

Hasn't anybody else got this issue?

Am I missing something/

Cheers
George

On Feb 6, 3:34 pm, Mat mat.schaf...@gmail.com wrote:
 Feb 15th is the end of the 30 day redirect period they have mentioned
 athttp://herokugarden.com/transition
 -Mat

 On Feb 5, 4:08 am, giorgio george.pever...@gmail.com wrote:

  I finally got around to migrating an app from HerokuGarden to Heroku.

  I managed to get the data across using git (not really documented at
  all in the guide).

  The app works fine and I need to reset the DNS from HerokuGarden to
  Heroku.

  It wont let me rename the app. On the settings on the web page it just
  crashes.
  With heroku rename 'NewName' it complains that the name exists in
  HerokuGarden.

  I renamed the old app in HerokuGarden  still the same problem with
  the new app.. plus there is a message saying that the name will be
  unavailable until 15th Feb.

  I cant make the new app live until I can change the name because as I
  understand it the DNS setting refirects apname.mydomain.com to
  appname.heroku.com and I obviously need the same appname for public
  access.

  What is the answer? Wait until 15th Feb? What is special about 15th
  Feb?

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



Same name in HerokuGarden and Heroku

2009-02-05 Thread giorgio

I finally got around to migrating an app from HerokuGarden to Heroku.

I managed to get the data across using git (not really documented at
all in the guide).

The app works fine and I need to reset the DNS from HerokuGarden to
Heroku.

It wont let me rename the app. On the settings on the web page it just
crashes.
With heroku rename 'NewName' it complains that the name exists in
HerokuGarden.

I renamed the old app in HerokuGarden  still the same problem with
the new app.. plus there is a message saying that the name will be
unavailable until 15th Feb.

I cant make the new app live until I can change the name because as I
understand it the DNS setting refirects apname.mydomain.com to
appname.heroku.com and I obviously need the same appname for public
access.

What is the answer? Wait until 15th Feb? What is special about 15th
Feb?

Cheers
George
--~--~-~--~~~---~--~~
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-25 Thread giorgio

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



Re: Site loads slow on fresh browser.

2008-11-12 Thread giorgio

Thats normal

On Nov 13, 8:29 am, jennings [EMAIL PROTECTED] wrote:
 The site in question is fansourcedmerch.com

 which is very basic in it's design.

 On Nov 12, 8:56 am, jennings [EMAIL PROTECTED] wrote:

  Hey i'm wondering what is up with the heroku site- a site load with a
  fresh browser apears with a blank screen for about 8 seconds...
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Cant update anything

2008-09-04 Thread giorgio

Hi,

I can access my apps but I cant make any database updates and my user
logins dont work.

Is this a general problem?

George
--~--~-~--~~~---~--~~
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't edit my app

2008-09-04 Thread giorgio

Not fixed for me I'm afraid



On Sep 5, 1:11 pm, Adam Wiggins [EMAIL PROTECTED] wrote:
 Fixed.

 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: 500 status when clicking on Logs

2008-08-25 Thread giorgio

Yes that is very common.
I get it most of the time.

I also got it yesterday when trying to download the load to view it.

George

On Aug 26, 6:39 am, Mark [EMAIL PROTECTED] wrote:
 I'm getting a We're sorry, but something went wrong. when trying to
 view the logs.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Database has unapplied migrations Migrate Now

2008-08-25 Thread giorgio

Is there something I can do about this?

It has been there for several weeks now.

I'd like to know how to convince the system that the migrations are up
to date.

It started after upgrading to 2.1 and the new migration timestamps.

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



public app still requires login

2008-08-21 Thread giorgio

I have a couple of apps that are marked as public. However when I
browse to them I am sometimes being asked to log into Heroku

G.


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



Cant create or upload app

2008-07-21 Thread giorgio

Hi,

I got a skeleton app running the other day.

Now I try to upload an existing app and it either fails or says its
not a rails app.

Also if I click 'View' it hangs.

If I click 'Create New App' it either hangs or gives a 'Something went
wrong'
Is there a problem with the site?

Should I just go away and try later?

Cheers
George
--~--~-~--~~~---~--~~
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: Cant create or upload app

2008-07-20 Thread giorgio

It has started working again now.

Is this a common occurrence?
George
--~--~-~--~~~---~--~~
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 there a way to run sql commands on database?

2008-07-20 Thread giorgio

Hi Dida,

The way I have done it is to add code table type stuff into a
migration. For example:
  def self.up
  countries=[[AD,Andorra],[AE,United Arab Emirates],
[AF,Afghanistan],[AG,Antigua and Barbuda],etc etc.
[ZA,South Africa],[ZM,Zambia],[ZW,Zimbabwe]]
  countries.sort!{|a,b| a[1]=b[1]}
  countries.each do |c|
Country.create(:code=c[0],:name=c[1])
  end
  end

  def self.down
Country.delete_all
  end

You can also import csv files.

Not sure if that helps you

Cheers
George
--~--~-~--~~~---~--~~
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: shared partials

2008-07-10 Thread Giorgio Clavelli

Thanks Brent

As usual Rails way to do something is very straightforward (as
compared especially to java)
:)

On Fri, Jul 11, 2008 at 1:31 AM, sbfaulkner [EMAIL PROTECTED] wrote:

 Hi Giorgio

 I you check out the Rails documentation for render (http://
 api.rubyonrails.com/classes/ActionController/Base.html#M000848), in
 the section on Rendering partials, the fifth example shows how to do
 this with a collection. You are not limited to this approach for
 collections and can do this with any render of a partial. For
 example...

 render :partial = 'shared/contact', :object = contact

 Cheers.

 --Brent

 On Jul 9, 9:07 pm, Giorgio Clavelli [EMAIL PROTECTED]
 wrote:
 Hi

 I was wandering how a partial could be made available to other views
 and will appreciate if you can give some hint.

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



shared partials

2008-07-09 Thread Giorgio Clavelli

Hi

I was wandering how a partial could be made available to other views
and will appreciate if you can give some hint.

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



Re: Apps on Thin, toolbar on Rack

2008-06-19 Thread Giorgio Clavelli

Well done Ricardo!

On Fri, Jun 20, 2008 at 10:21 AM, Adam Wiggins [EMAIL PROTECTED] wrote:

 Ricardo has rewritten the Heroku toolbar, porting it from a Rails
 monkeypatch + Mongrel gemplugin to Rack middleware.  The benefits that
 you guys will see are:

 - All apps are now running on Thin, which gives a bit of a speed boost
 over Mongrel.

 - Toolbar is way faster to load: less static assets, less rendering time.

 - No more heroku_marker problems.  (We removed the rarely-used Inspect
 button; it may return in an updated form in the future.)

 - No prototype.js or other javascript library to load, so no conflicts
 with JQuery or Dojo.

 I'm most excited about the first two points.  Combined with a bunch of
 other optimizations we've done recently (esp. in regards to static
 assets), Heroku apps should be serving substantially faster now than
 they were a few months ago.

 Three cheers for Ricardo! :)

 


--~--~-~--~~~---~--~~
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: Many to Many Relationship problem

2008-06-18 Thread Giorgio Clavelli

I'm not an expert and I try a long shot. Have you set the foreign keys
(1 to many to BookCategories from both Book and Categories), when you
created the tables by the migrations?

--~--~-~--~~~---~--~~
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: New Heroku Gem Released!

2008-06-04 Thread Giorgio Clavelli

Thanks Morten,

A post like this is exactly what I needed to get started with Git on Windows
:)

Giorgio

On Wed, Jun 4, 2008 at 9:40 AM, Morten Bagai [EMAIL PROTECTED] wrote:

 Hello everyone,

 One of the first things Pedro and I have been working on here at
 Heroku is getting the API to work better with Windows, and provide
 the same seamless experience you're used to from Unix/Linux/OS X. As
 a result we have a new  improved client gem available for you with
 the following tweaks:

 == The client now correctly detects the location of the user's home
 directory
 on Windows. This will typically be along the lines of C:\Documents and
 Settings\username.

 == If your ssh key is in a location other than HOME\.ssh, you can now
 specify
 the key path using the optional -k/--key switch. For example: heroku
 upload_authkey -k C:\mykeys\id_rsa.pub. This also works on Unix/
 Linux/OS X,
 of course.

 == When entering your Heroku password on Windows, the entry is now
 masked.

 If you've been waiting to get started with the Heroku client on
 Windows, the
 process is now as simple as:

 1. Follow of one of the many tutorials on how to get Git running on
 Windows.
 There's an excellent one here, which also shows you how to create an
 SSH key
 with the Cygwin tools included with Git for Windows:
 http://github.com/guides/newbies-guide-for-git-on-windows. Steps 1-3
 are all
 you need to care about.

 2. gem install heroku (should say version 0.3).

 3. Fire up the Windows Command Prompt or the included Bash-git and
 type in a
 command such as heroku list.

 Let us know how the new gem works for you, especially if you're on
 Windows.  Post here or email me privately.

 /Morten

 


--~--~-~--~~~---~--~~
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: New Heroku Gem Released!

2008-06-04 Thread Giorgio Clavelli

I surelly will do it
:)

On Thu, Jun 5, 2008 at 9:36 AM, Morten Bagai [EMAIL PROTECTED] wrote:

 Awesome. Please let us know if you run into any issues.

 /Morten

 On Jun 4, 2008, at 1:30 AM, Giorgio Clavelli wrote:


 Thanks Morten,

 A post like this is exactly what I needed to get started with Git
 on Windows
 :)

 Giorgio

 On Wed, Jun 4, 2008 at 9:40 AM, Morten Bagai [EMAIL PROTECTED]
 wrote:

 Hello everyone,

 One of the first things Pedro and I have been working on here at
 Heroku is getting the API to work better with Windows, and provide
 the same seamless experience you're used to from Unix/Linux/OS X. As
 a result we have a new  improved client gem available for you with
 the following tweaks:

 == The client now correctly detects the location of the user's home
 directory
 on Windows. This will typically be along the lines of C:
 \Documents and
 Settings\username.

 == If your ssh key is in a location other than HOME\.ssh, you can now
 specify
 the key path using the optional -k/--key switch. For example: heroku
 upload_authkey -k C:\mykeys\id_rsa.pub. This also works on Unix/
 Linux/OS X,
 of course.

 == When entering your Heroku password on Windows, the entry is now
 masked.

 If you've been waiting to get started with the Heroku client on
 Windows, the
 process is now as simple as:

 1. Follow of one of the many tutorials on how to get Git running on
 Windows.
 There's an excellent one here, which also shows you how to create an
 SSH key
 with the Cygwin tools included with Git for Windows:
 http://github.com/guides/newbies-guide-for-git-on-windows. Steps 1-3
 are all
 you need to care about.

 2. gem install heroku (should say version 0.3).

 3. Fire up the Windows Command Prompt or the included Bash-git and
 type in a
 command such as heroku list.

 Let us know how the new gem works for you, especially if you're on
 Windows.  Post here or email me privately.

 /Morten




 


 


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

New project are all Rails 2 (although not sure right now if it 2.0.2
or another one)
There may be some old project, made with Rails 1.2 still supported,
but they would be an exception.

On Mon, May 19, 2008 at 8:04 PM, DAZ [EMAIL PROTECTED] wrote:

 Hi,

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

 thanks,

 DAZ
 

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



Re: Deploying to heroku with git

2008-04-19 Thread Giorgio Clavelli
I'm in the same situation like Andrew and I appreciate too Henry insight.

--~--~-~--~~~---~--~~
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 Going to Work?

2008-04-19 Thread Giorgio Clavelli

Thufir,
While I agree with you that sending HTML or MIME is not proper,
discussing about it, either doing requests, as yours, are better done
off-list.
I'm sure that most of this list members, are not interested to our
reciprocal requests.

On 4/20/08, thufir [EMAIL PROTECTED] wrote:

 On Fri, 11 Apr 2008 07:18:34 +1000, Giorgio Clavelli wrote:

  I completely subscribe Anita's opinion. This stage of Heroku is called
  beta for a reason.

 Giorgo,

 I'm contacting you on-list because this is a list etiquette kind of
 thing.  Don't take it as an attack, I'm merely asking that you not send
 HTML messages to mailing lists -- its a request.

 Generally, HTML or MIME isn't preferred, the following is a general guide:

 What is wrong with sending HTML or MIME messages?

 http://www.expita.com/nomime.html



 this is absolutely an on-list kinda thing, not off-list as it effects
 multiple people.  It's kinda standard for mailing lists; it's just a
 request.



 -Thufir


 


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