Re: heroku_user

2008-03-08 Thread Adam Wiggins

Interesting.  I just threw this plugin together, see if it does what
you're looking for:

http://heroku.googlegroups.com/web/heroku_mock_plugin.tar.gz?gda=KKJ-a0oAAABdPkmp9o0lPvfsbwMwaeOoteTSG1kZ0ys79-ZFvO3ZQ2G1qiJ7UbTIup-M2XPURDTnEf0FhzsGkPXk022KspIlqGIDJLf3XcPPb-x5mxSaSg

Untar in your vendor/plugins.  You'll probably also want to add
vendor/plugins/heroku_mock to your .gitignore - otherwise you may push
it back out to Heroku, and then you'd get some unpleasant conflicts
with the real heroku_user.

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



heroku_user

2008-03-08 Thread Tobin Juday
I've tried out the simple authentication built in to Heroku (using
heroku_user), and it works great online, but when I pull it down to my local
machine, it obviously fails due to the missing heroku_user "command".   Has
anyone rigged up some sort of heroku_user mock?  I played with it for a
little bit today, but my rails chops are *very* rusty, and I couldn't get
anything working.

Thanks.

Tobin

--~--~-~--~~~---~--~~
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: git heroku

2008-03-08 Thread Adam Wiggins

On 3/8/08, BusterDog <[EMAIL PROTECTED]> wrote:
>  I cannot figure out how to commit in the web editor. I tried the
>  revisions link, but got an error. Is the revisions link the right
>  thing to do?

Yes it is.  It looks like you imported an app that had an existing git
repo, then made a whole bunch of changes on it over the past few
months.  Now the revisions page is trying to show you the diff, and
it's WAY too much info and is timing out. :)

A quick workaround for this would be to commit your changes from the
console, like this:

`git commit -a -m "bug lump o' changes in web editor" 2>&1`

After that, you'll be able to view the revisions page normally.
(Though clicking on that revision will probably also timeout, since
the diff is so huge.)

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: Export project with plugins

2008-03-08 Thread ebdb

On Mar 8, 6:32 pm, "Adam Wiggins" <[EMAIL PROTECTED]> wrote:
> On 3/7/08, holczer <[EMAIL PROTECTED]> wrote:
>
> >  It seems that the clone option of the new heroku command line api to
> >  export an application to work locally, doesn't include the vendor
> >  directory.
>
> Right you are - "vendor/gems" should be in the .gitignore, not
> "vendor".  I've made the change, it should be deployed next week.
>
> If you're wondering why vendor/gems should be ignored, it's because we
> use a patch to Rails that loads gems from vendor/gems - which you
> won't have locally.  So you'll need to install whatever gems your app
> depends on.  This isn't too hot, but there are potentially some other
> solutions, such as Chad Woolley's geminstaller.  We're still looking
> into what can best be done here.  Just in general, managing project
> gem dependencies seems to be a significant point of pain in the Rails
> community right now - I'm hoping a good general-purpose solution will
> emerge in the coming months.
>
> Adam

I was putting gems into vendor/gems locally then checking that in. Is
that bad?

E
--~--~-~--~~~---~--~~
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: "gems" and "plugins" dirs at top level

2008-03-08 Thread ebdb

On Mar 8, 6:37 pm, "Adam Wiggins" <[EMAIL PROTECTED]> wrote:
> On 3/8/08, ebdb <[EMAIL PROTECTED]> wrote:
>
> >  I've noticed that there were directories "gems" and "plugins" as well
> >  as "rails" at the top level of my app. I'm using to seeing those
> >  underneath "vendor".
>
> Yeah, those shouldn't be there.  Is this locally, or in the web
> editor?  Either way, let me know the app name and I can look at it.
>
> Adam

Just locally. Weird.

molecule.heroku.com

Thanks,

Ethan
--~--~-~--~~~---~--~~
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: "gems" and "plugins" dirs at top level

2008-03-08 Thread Adam Wiggins

On 3/8/08, ebdb <[EMAIL PROTECTED]> wrote:
>  I've noticed that there were directories "gems" and "plugins" as well
>  as "rails" at the top level of my app. I'm using to seeing those
>  underneath "vendor".

Yeah, those shouldn't be there.  Is this locally, or in the web
editor?  Either way, let me know the app name and I can look at it.

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: Export project with plugins

2008-03-08 Thread Adam Wiggins

On 3/7/08, holczer <[EMAIL PROTECTED]> wrote:
>  It seems that the clone option of the new heroku command line api to
>  export an application to work locally, doesn't include the vendor
>  directory.

Right you are - "vendor/gems" should be in the .gitignore, not
"vendor".  I've made the change, it should be deployed next week.

If you're wondering why vendor/gems should be ignored, it's because we
use a patch to Rails that loads gems from vendor/gems - which you
won't have locally.  So you'll need to install whatever gems your app
depends on.  This isn't too hot, but there are potentially some other
solutions, such as Chad Woolley's geminstaller.  We're still looking
into what can best be done here.  Just in general, managing project
gem dependencies seems to be a significant point of pain in the Rails
community right now - I'm hoping a good general-purpose solution will
emerge in the coming months.

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: Permissions on test database seem to be hosed

2008-03-08 Thread Adam Wiggins

On 3/8/08, Aaron Campos <[EMAIL PROTECTED]> wrote:
> Wanting to catch back up to where I left off, I ran my specs and received
> all kinds of errors due to it not being able to drop and recreate the test
> db. [...] Wondering if this might be due to the March 05 maintenance?  Any 
> help is
> greatly appreciated.

You're exactly right - good catch.  Fixed now.

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



git heroku

2008-03-08 Thread BusterDog

I am trying to use the git with heroku.
the instructions say
"Note that this will reset the working tree in the web code editor to
match the latest revision pushed, so any uncommitted changes in Heroku
will be overwritten. "

I cannot figure out how to commit in the web editor. I tried the
revisions link, but got an error. Is the revisions link the right
thing to do?


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



sqlite3

2008-03-08 Thread alchemykz

Using Sqlite3 on Heroku

I installed the sqlite3-ruby gem in the vendor folder of my app. but
get this error:

libsqlite3.so: cannot open shared object file: No such file or
directory

Shouldn't this .so file already be installed in the "Heroku
environment"? I'm
used to a VPS were I install and compile everything myself.

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



Command line DB backup?

2008-03-08 Thread ebdb

I'm still wondering about the answer to this...

Is there a way to get a DB dump from my local command line to my local
machine?

Thanks,

Ethan

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



"gems" and "plugins" dirs at top level

2008-03-08 Thread ebdb

I've noticed that there were directories "gems" and "plugins" as well
as "rails" at the top level of my app. I'm using to seeing those
underneath "vendor". In fact, I created a "vendor" dir in my app
(there wasn't one originally created by the Heroku app generator). I
deleted the top-level gems, plugins, and rails dirs. However, now they
have reappeared. I want to say it was after I did a "git push" but I'm
not sure.

If I could get some explanation of what's happening here it would be
great. The app is working OK, but I'm confused about where these dirs
are coming from and why they aren't in the standard location.

Thanks,

Ethan
--~--~-~--~~~---~--~~
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: Stylesheets

2008-03-08 Thread BusterDog

I figured it out - cut and paste error.

On Mar 8, 11:43 am, BusterDog <[EMAIL PROTECTED]> wrote:
> I uploaded a rails project which was working from my own computer to
> Heroku. On Heroku the stylesheet doesn't get applied. Is there another
> step I am missing?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Stylesheets

2008-03-08 Thread BusterDog

I uploaded a rails project which was working from my own computer to
Heroku. On Heroku the stylesheet doesn't get applied. Is there another
step I am missing?
--~--~-~--~~~---~--~~
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: Permissions on test database seem to be hosed

2008-03-08 Thread BusterDog

I see it too.

On Mar 8, 4:21 am, Aaron Campos <[EMAIL PROTECTED]> wrote:
> Greetings all,
>
> I just logged in to my Heroku account after a few weeks of
> inactivity.  Wanting to catch back up to where I left off, I ran my
> specs and received all kinds of errors due to it not being able to
> drop and recreate the test db.  I ran db:test:prepare myself and get
> this:
>
>  >> spec:models
> dropdb: database removal failed: ERROR: must be owner of database
> test_app6092
> createdb: database creation failed: ERROR: permission denied to
> create database
> (in /mnt/home/userapps/6092)
>  [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m.
> [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m.
> [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m.
> [0m [32m. [0m
>
> Finished in 0.511133 seconds
>
>  [32m22 examples, 0 failures [0m
>
> Wondering if this might be due to the March 05 maintenance?  Any help
> is greatly appreciated.
>
> Thanks,
> Aaron Campos
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Permissions on test database seem to be hosed

2008-03-08 Thread Aaron Campos
Greetings all,

I just logged in to my Heroku account after a few weeks of  
inactivity.  Wanting to catch back up to where I left off, I ran my  
specs and received all kinds of errors due to it not being able to  
drop and recreate the test db.  I ran db:test:prepare myself and get  
this:

 >> spec:models
dropdb: database removal failed: ERROR: must be owner of database  
test_app6092
createdb: database creation failed: ERROR: permission denied to  
create database
(in /mnt/home/userapps/6092)
 [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m.  
[0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m.  
[0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m.  
[0m [32m. [0m

Finished in 0.511133 seconds

 [32m22 examples, 0 failures [0m

Wondering if this might be due to the March 05 maintenance?  Any help  
is greatly appreciated.

Thanks,
Aaron Campos


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