Re: Connecting to Salesforce

2010-12-18 Thread Mat Schaffer
Rails 3 uses bundler so I'm pretty sure you'll need to put the gem in
your Gemfile as well to get it loaded. Then run 'bundle'

-Mat

On Dec 18, 2010, at 1:57 AM, Craig Harris  wrote:

> I have run the following:
>
> sudo gem install activerecord-activesalesforce-adapter
> sudo gem install activesalesforce
>
> and edited database.yml to include:
>
> development:
>  adapter: activesalesforce
>  url: https://www.salesforce.com
>  username: 
>  password: 
>  api_version: 20.0
>
> When I access http://localhost:3000/
>
> I get:
>
> Started GET "/" for 127.0.0.1 at 2010-12-17 22:46:30 -0800
>
> RuntimeError (Please install the activesalesforce adapter: `gem
> install activerecord-activesalesforce-adapter` (no such file to load
> -- active_record/connection_adapters/activesalesforce_adapter)):
>
> and then the second and subsequent times
>
> Started GET "/" for 127.0.0.1 at 2010-12-17 22:46:35 -0800
>
> ActiveRecord::ConnectionNotEstablished
> (ActiveRecord::ConnectionNotEstablished):
>
>
> On Dec 17, 6:03 pm, Mat Schaffer  wrote:
>> Which connector are you using? My team just released the
>> hoopla_salesforce_connector this week but there's not a lot of
>> documentation on it yet. If there's something specific you're trying
>> to do we might be able to help out. It's been working for us pretty
>> well.
>>
>> -Mat
>>
>> On Dec 17, 2010, at 6:52 PM, Craig Harris  wrote:
>>
>>> I was able to get Rails 3.0.3 running and deployed to the Heroku
>>> server.
>>
>>> I am having difficulty getting a running connection to Salesforce.
>>
>>> Does the Salesforce connector work with Rails 3.0.3?
>>
>>> Does anyone have a link to a tutorial I can use to trouble shoot.
>>
>>> Thanks.
>>
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "Heroku" group.
>>> To post to this group, send email to her...@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> heroku+unsubscr...@googlegroups.com.
>>> For more options, visit this group 
>>> 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.
>

-- 
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: Connecting to Salesforce

2010-12-17 Thread Mat Schaffer
Which connector are you using? My team just released the
hoopla_salesforce_connector this week but there's not a lot of
documentation on it yet. If there's something specific you're trying
to do we might be able to help out. It's been working for us pretty
well.

-Mat

On Dec 17, 2010, at 6:52 PM, Craig Harris  wrote:

> I was able to get Rails 3.0.3 running and deployed to the Heroku
> server.
>
> I am having difficulty getting a running connection to Salesforce.
>
> Does the Salesforce connector work with Rails 3.0.3?
>
> Does anyone have a link to a tutorial I can use to trouble shoot.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Heroku" group.
> To post to this group, send email to her...@googlegroups.com.
> To unsubscribe from this group, send email to 
> heroku+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/heroku?hl=en.
>

-- 
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: Where do custom logs go?

2010-12-10 Thread Mat Schaffer
Ha, whoops! `heroku logs` shows them just fine. I didn't notice that shows
all the logs. Cool!
Sorry for the list noise.
-Mat

On Fri, Dec 10, 2010 at 1:30 PM, Mat Schaffer  wrote:

> So my app uses a custom log (via Logger.new) that's writing to
> Rails.root.join("log", "mylog.log").
>
> The file seems to write just fine, but does this go anywhere I could see
> it? Or it is at least not dangerous to do this?
>
> Thanks,
> Mat
>

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



Where do custom logs go?

2010-12-10 Thread Mat Schaffer
So my app uses a custom log (via Logger.new) that's writing to
Rails.root.join("log", "mylog.log").

The file seems to write just fine, but does this go anywhere I could see it?
Or it is at least not dangerous to do this?

Thanks,
Mat

-- 
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: Build/staging environment separate from production application

2009-04-28 Thread Mat Schaffer

On Apr 28, 2009, at 1:50 PM, teejayvanslyke wrote:
> Is anyone else using Heroku for two environments running different
> branches of the same repository on each?  What is your solution?

I'm not doing this, but from my knowledge of git it should be totally  
doable. You'd have two heroku apps, for the sake of discussion call  
them "myprodapp" and "mystagingapp".

You'd add both of these as remotes to your git repo:
git remote add prod g...@heroku.com:myprodapp.git
git remote add staging g...@heroku.com:mystagingapp.git

Then when you want to push to prod from master do:
git checkout master
git push prod master

When you want to push to staging do:
git checkout edge
git push staging master

Git push can also take a source branch so the checkout isn't even  
necessary really. You should be able to do:
git push g...@heroku.com:myprodapp.git master:master
git push g...@heroku.com:mystagingapp.git edge:master

I could be a little off, but that's the basic idea. Check out 'git  
push --help' for more details. Also http://grb.rubyforge.org is  
helpful for dealing with remote branches.

-Mat

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

2009-04-28 Thread Mat Schaffer

On Apr 27, 2009, at 9:42 PM, Matthew wrote:
> Is it possible to host a (partial) Flex application on Heroku?

You could host the resultant flex swfs in a rails app on heroku. You  
may have to be a little careful as to the size of the swf.

Check out flexonrails.net for various articles on using flex as a  
frontend for rails apps.
-Mat

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

2009-04-24 Thread Mat Schaffer

On Apr 24, 2009, at 8:57 AM, Paul Leader wrote:
> However count this as another vote for a bit more storage on the
> Blossom plan.  Given that Herokugarden gives you 40M for free 5M seems
> just a tiny bit on the stingy site.  It would be good to have just a
> little more, maybe 10M, to give people a chance to get their apps up
> and running and bring in a few paying customers.

+1 on that. Especially when compared to the space given on dropbox or  
gmail, 5M seems really tiny. Granted I guess this is only for the  
database, so maybe they're trying to avoid people storing binary data  
there?
-Mat

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



Re: How do you initialize or "bless" a heroku-active git repo folder??

2009-04-19 Thread Mat Schaffer


On Apr 19, 2009, at 10:01 PM, Raymond Brigleb wrote:
> Hi there. I set up an app in git yesterday, pushed it to Heroku
> following all the instructions, and everything seemed swell. Then my
> laptop died, and I had to switch to another computer!
>
> I pulled that same repo from Git, and everything is working fine here.
> However, it doesn't recognize my folder as a Heroku app.
>
> $ heroku info
> No app specified.
>
> If I try the same command with --app application-name-99 it works
> fine. However, I feel like there must be a way to tell this folder
> what my application is, so that I can run commands as expected.
>
> I looked through the docs and the command line help as much as
> possible, but can't get it working. Any suggestions?

Looking at the extract_app_in_dir method in the heroku gem, it looks  
like it just looks for a remote that has the heroku host in it:

remote.match(/url = g...@#{heroku.host}:([\w\d-]+)\.git/)

heroku.host seems to be heroku.com or from the HEROKU_HOST environment  
variable:

Heroku::Client.new(user, password, ENV['HEROKU_HOST'] || 'heroku.com')

How did you pull your copy? Git clone should set up heroku as  
'origin'. Check to see if your .git/config looks parse-able by that  
regexp above.

-Mat

--~--~-~--~~~---~--~~
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 deploy to Heroku and open-source to Github with hidden config files

2009-04-03 Thread Mat Schaffer

Thanks for that link! This is much cleaner than how I did this last  
time, which involved making patch files out of my whole history after  
the offending change and was kinda nasty. This approach actually looks  
pretty clean.
-Mat

On Apr 3, 2009, at 11:02 AM, Max A wrote:
> Here's more about that "somehow" part:
> http://github.com/guides/completely-remove-a-file-from-all-revisions
>
> On Apr 2, 5:39 am, redronin  wrote:
>> Mat,
>> Thanks for the info and link. I'll give a try this weekend.
>>
>> John.
>>
>> On Apr 1, 11:11 am, Mat Schaffer  wrote:
>>
>>> On Apr 1, 2009, at 10:56 AM, redronin wrote:
>>
>>>> Hi,
>>>> I have an app on Heroku which I want to open-source and post onto
>>>> Github.
>>
>>>> I have a number of config files which I wish to remove from the
>>>> repository before I push to Github.
>>
>>>> How is it possible to .gitignore certain files (so it doesn't  
>>>> show up
>>>> in Github) but at the same time be able to deploy to Heroku?
>>
>>>> Is this possible? I thought creating a separate deploy or github
>>>> branch would do it, but in github you are able to see all the
>>>> branches. Is there a setting or command in Github that will limit  
>>>> what
>>>> branches are available? Or is there some configuration in Heroku  
>>>> that
>>>> can manage this?
>>
>>>> My only other idea was to create a whole separate repository for
>>>> Githubnot really ideal. Any ideas?
>>
>>>> Thanks!
>>>> John.
>>
>>> I'm pretty sure what you're asking about is addressed here:
>>
>>> http://groups.google.com/group/heroku/browse_thread/thread/d7b1aecb42 
>>> ...
>>
>>> But the issue in your case is that the repository history already
>>> contains those files so you can't just push the repo (and it's
>>> history) to github without first removing them from the history  
>>> somehow.
>>
>>> If you're not too worried about starting a new repo and losing old
>>> history, that would be easiest. Basically start a repo on github and
>>> import just the open stuff. Then branch that as "heroku" and add in
>>> the heroku specific config stuff. Then push that heroku branch to
>>> heroku/master (as in the thread).
>>
>>> If it's really important that you maintain history, the only way I
>>> know to do it is to make patch files of all your commits back to the
>>> one you added the config file in. git reset to just before that
>>> commit, then replay the patches but not the config file. It's kind  
>>> of
>>> a pain and it'll also require that any clones (like those on  
>>> github or
>>> heroku) get recreated (by way of git push --force probably).
>>
>>> Hope that helps and isn't too confusing.
>>> -Mat
> >


--~--~-~--~~~---~--~~
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 deploy to Heroku and open-source to Github with hidden config files

2009-04-01 Thread Mat Schaffer

On Apr 1, 2009, at 10:56 AM, redronin wrote:
> Hi,
> I have an app on Heroku which I want to open-source and post onto
> Github.
>
> I have a number of config files which I wish to remove from the
> repository before I push to Github.
>
> How is it possible to .gitignore certain files (so it doesn't show up
> in Github) but at the same time be able to deploy to Heroku?
>
> Is this possible? I thought creating a separate deploy or github
> branch would do it, but in github you are able to see all the
> branches. Is there a setting or command in Github that will limit what
> branches are available? Or is there some configuration in Heroku that
> can manage this?
>
> My only other idea was to create a whole separate repository for
> Githubnot really ideal. Any ideas?
>
> Thanks!
> John.


I'm pretty sure what you're asking about is addressed here:

http://groups.google.com/group/heroku/browse_thread/thread/d7b1aecb42696568/26d5249204c70574

But the issue in your case is that the repository history already  
contains those files so you can't just push the repo (and it's  
history) to github without first removing them from the history somehow.

If you're not too worried about starting a new repo and losing old  
history, that would be easiest. Basically start a repo on github and  
import just the open stuff. Then branch that as "heroku" and add in  
the heroku specific config stuff. Then push that heroku branch to  
heroku/master (as in the thread).

If it's really important that you maintain history, the only way I  
know to do it is to make patch files of all your commits back to the  
one you added the config file in. git reset to just before that  
commit, then replay the patches but not the config file. It's kind of  
a pain and it'll also require that any clones (like those on github or  
heroku) get recreated (by way of git push --force probably).

Hope that helps and isn't too confusing.
-Mat

--~--~-~--~~~---~--~~
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: No such app as

2009-03-31 Thread Mat Schaffer

On Mar 31, 2009, at 1:37 PM, Brian Armstrong wrote:
> Hey guys, I tried creating a test app, and got an auto-generated name
> for it.  After this I realized I could pick a name, so I destroyed the
> original and created a new one with a name I chose.
>
> For some reason it is still looking for the old name.  Ideas?
>
> Macintosh:TestApp barmstrong$ heroku create
> Created http://stark-waterfall-66.heroku.com/ | g...@heroku.com:stark-
> waterfall-66.git
> Macintosh:TestApp barmstrong$ heroku destroy --app stark-waterfall-66
> Permanently destroy http://stark-waterfall-66.heroku.com/ (y/n)? y
> Destroyed stark-waterfall-66
> Macintosh:TestApp barmstrong$
> Macintosh:TestApp barmstrong$ heroku create barmstrong
> Created http://barmstrong.heroku.com/ | g...@heroku.com:barmstrong.git
> Macintosh:TestApp barmstrong$ git push heroku master
> No such app as stark-waterfall-66
> fatal: The remote end hung up unexpectedly
> Macintosh:TestApp barmstrong$ heroku info
> App not found
> Macintosh:TestApp barmstrong$ heroku rename barmstrong
> App not found
> Macintosh:TestApp barmstrong$


I think this is actually a git problem. Run 'git remote -v' and you  
should see that the remote called 'heroku' is still hooked up to the  
old repository URL.

I find the easiest way to correct this is just to edit .git/config. Of  
course, you can also use 'git remote rm heroku; git remote add heroku 
g...@heroku.com 
:barmstrong.git'

-Mat


--~--~-~--~~~---~--~~
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: Can't install heroku gem?

2009-03-30 Thread Mat Schaffer
On Mar 30, 2009, at 9:39 PM, Adam Wiggins wrote:
> That's very odd.  Github downtime shouldn't affect the Heroku gem,  
> since it's in Rubyforge.
>
> Can you type "gem sources" and see if it lists http://gems.rubyforge.org?

I had that happen earlier today with another gem. Seems like gem  
doesn't failover too gracefully if one of the sources is offline.
-Mat
--~--~-~--~~~---~--~~
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: i some ssh issue

2009-03-22 Thread Mat Schaffer


On Mar 22, 2009, at 10:33 AM, sole wrote:
> i used this heroku gem to keys:add
> and i used the keygen ssh util again by mistake, so after using
> keys:remove solekil...@solebox
>
> and reusing heroku keys:add
>
> it added fine and i saw it in the heroku keys
> but when i try to ssh to heroku.com
> it prompts me with the wrong key
>
> and even if i say yes to that wrong key i get
>
> Permission denied (publickey).

Well you probably can't get an ssh shell into heroku. Just push to it  
over git.

If I were you, I'd run 'heroku keys:clear' to wipe all the keys and  
start over.

-Mat

--~--~-~--~~~---~--~~
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: Asset Caching and Minifying

2009-03-22 Thread Mat Schaffer

On Mar 21, 2009, at 7:21 PM, kineticac wrote:
> How can I get about doing it without needing to manually minifying
> everything before pushing?

This is pretty similar to the sprockets discussion that came up  
recently:

http://groups.google.com/group/heroku/browse_thread/thread/718f7ced86aee5f6/c9e2e76a6ca37a44

The short answer is that you need to commit the minified files and  
push them (for now anyway).

-Mat

--~--~-~--~~~---~--~~
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 specific .gitignore?

2009-03-20 Thread Mat Schaffer


On Mar 20, 2009, at 7:29 AM, elk_ wrote:
> I have my github repository where i commit my app to (origin) but then
> i have the heroku repository aswell. The thing is i want to keep my
> config.yml ignored in the github repository as it contains passwords &
> information, but i want it to be commited to heroku so that it
> works :)
>
> Is there a way to have different ignore files for each repository or
> am i thinking about this the wrong way?

One option could be to move this stuff to the database, but another  
option would be to keep a heroku branch separate from your main  
development branch and push from that rather than master. This branch  
would have the config.yml in it w/ the password. Then deployment would  
be:

git checkout heroku
git merge master
git push heroku

(or something like that anyway).

You could probably even use grb to set up your local "heroku" branch  
to track heroku/master.

Hope that helps,
Mat

--~--~-~--~~~---~--~~
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: App stuck in 'Redirect Loop'

2009-03-20 Thread Mat Schaffer

Does it happen locally? I guess the best way to force a restart would  
be to make a git push. Might be something to try while waiting for  
some kind of support.
-Mat

On Mar 20, 2009, at 6:32 AM, Justin wrote:
> Sorry, that should be
>
> http://myseasonbets.herokugarden.com
>
> Still not working ..
>
> On Mar 20, 8:50 am, justin  wrote:
>> "Firefox has detected that the server is redirecting the request for
>> this address in a way that will never complete."
>>
>> http://myseasonbets.heroku.com
>>
>> For the last two hours;  could someone restart / figure out what's
>> happening ?
>>
>> Thanks,
>>
>> Justin
>


--~--~-~--~~~---~--~~
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-05 Thread Mat

Feb 15th is the end of the 30 day redirect period they have mentioned
at http://herokugarden.com/transition
-Mat

On Feb 5, 4:08 am, giorgio  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
-~--~~~~--~~--~--~---



Re: Controlling deployment

2008-12-06 Thread Mat Schaffer

On Dec 1, 2008, at 6:55 PM, [EMAIL PROTECTED] wrote:
> Thanks for the reply. I followed your example but when pushing the
> branch to heroku my webapp isn't changed (so far so good) but i do see
> the application restarting. This worries me and I still can't push to
> heroku during office hours when my client is working on the app.

I'd like to +1 this issue. I tried to bring it up before (http://bit.ly/16a3j 
) but no-one seemed interested. I'd really like to see the app restart  
only on pushes to master rather than other branches. Is there some  
reason other than prioritization that it hasn't been implemented?

Thanks for your efforts, heroku rocks! :)
Mat

--~--~-~--~~~---~--~~
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: Could not install gem

2008-11-17 Thread Mat Schaffer

On Nov 17, 2008, at 2:03 PM, Chris Schumann wrote:
> Hey all,
>
> I need to make PDF's in my application, and was planning to try out  
> Prawnto.
>
> I tried to install it (I get two identical matches when I search for
> it) using the Gems & Plugins Manager (which was REALLY hard to find),
> and got a dialog that said "Could not install plugin prawnto". I saw
> that it depends on Prawn, so I tried to install that and got that to
> install, but Prawnto still won't install.
>
> Any tips?


 From looking at http://cracklabs.com/prawnto/use, you may want to try  
adding the config.gem line before installing the plugin from the  
Heroku editor.  I'm betting that heroku is trying to bounce your app  
after installing the plugin which is failing because the gem isn't  
loaded in your config.  Just a theory though.
-Mat

--~--~-~--~~~---~--~~
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: How to git revert to old tag

2008-11-14 Thread Mat Schaffer

On Nov 14, 2008, at 10:37 AM, albemuth wrote:
> I'm learning git as I go along with this project, I got to a stable
> version so I git-tagged and will get working on something else.
>
> Now the problem is that for updating heroku all I know is how to push
> my master branch, so if I branch off and want to test that branch on
> heroku what I would normally do is merge to master and then push it.
>
> Is it possible to checkout a branch or tag remotely?? On heroku of
> course?
>
> I'm loving the git workflow, but for me I just have to forget svn even
> existed.

I'm kind of new to heroku, but the pattern seems to be that the heroku  
app always pulls from master.  So if you want to work on stuff and  
push it to heroku but not trigger deployment you'll have to push to a  
different remote branch (e.g., "development").  The only side effect  
of this I've found is that a push still triggers a reboot (but not a  
deployment of new code).

Creating remote branches with local tracking branches involves a  
couple commands, so I used http://github.com/webmat/git_remote_branch  
to help there, which was pretty easy.  And you can also type "grb  
explain" for any grb command and it'll show you the git operations  
involved in what you're doing.

It could be a pretty cool feature if the heroku api would let you  
deploy a specific tag instead of always deploying master, but it  
doesn't appear to work that way.

Hope that helps,
Mat

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



App restarts when pushing to branches other than master

2008-11-13 Thread Mat

Seems like an oversight to me, but the app redeploys master when I
push to a branch other than master ("development" in this case).

Not especially harmful, but does mean I can't use heroku for a both a
highly available environment and a centralized git repository.

Looking good so far otherwise!  Thanks!
-Mat
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---