Re: Excluding development dependencies with Bundler

2010-03-25 Thread Pedro Belo
haha, great idea! very resourceful. On Thu, Mar 25, 2010 at 3:32 PM, Ben Lavender wrote: > The resulting slug was 48MB--webrat is no slouch. > > There is an easy workaround.  Heroku config variables are available > inside bundler, so I did heroku config:add IS_HEROKU=true, then, in my > Gemfile (

Re: Excluding development dependencies with Bundler

2010-03-25 Thread Ben Lavender
The resulting slug was 48MB--webrat is no slouch. There is an easy workaround. Heroku config variables are available inside bundler, so I did heroku config:add IS_HEROKU=true, then, in my Gemfile (code not copy/pasted, care): if ENV['IS_HEROKU'] gem 'pg' ... else gem 'mysql' gem 'rspec-r

Re: Issues trying to push app to heroku (windows)

2010-03-25 Thread Richard Conroy
Okay, I think I made some progress. First tip: Use the Git Bash shell client that gets installed with Git. Generate your private keys with $ ssh-keygen -t rsa And copy them to your /.ssh directory Make sure you do any of this before you execute any of the heroku commands. Then perform heroku cre

Re: Excluding development dependencies with Bundler

2010-03-25 Thread Oren Teich
>From talks with the bundler team, they won't be ditching this anytime soon. Ben, How big is your slug? If it's <30 or 40MB, I wouldn't worry about it. Oren On Thu, Mar 25, 2010 at 1:13 PM, Pedro Belo wrote: > Hi Ben, > > Last time I checked Bundler would always download gems, even if you > s

Re: Excluding development dependencies with Bundler

2010-03-25 Thread Pedro Belo
Hi Ben, Last time I checked Bundler would always download gems, even if you set your environment --without certain groups. They don't show up at the bundler environment file, but they're downloaded in the process of figuring out dependencies. We should check whether it can be patched to not downl

Re: bundler requires RubyGems version >= 1.3.6 Errors while deploying a rails 3 app

2010-03-25 Thread Nathan Clark
Ah, I was on the wrong stack. Thanks for the help! On Thu, Mar 25, 2010 at 1:35 PM, Oren Teich wrote: > are you running on the bamboo stack? > > run heroku stack to see which stack it's set to. > > Oren > > On Thu, Mar 25, 2010 at 11:33 AM, Nathan Clark wrote: > >> Hi, I was trying to deploy a s

Issues trying to push app to heroku (windows)

2010-03-25 Thread Richard Conroy
Hi I have been following the setup instructions to get a simple sinatra app up and running. I ran into a few issues with PuTTy gen and keys, but I was able to use this thread

Re: bundler requires RubyGems version >= 1.3.6 Errors while deploying a rails 3 app

2010-03-25 Thread Oren Teich
are you running on the bamboo stack? run heroku stack to see which stack it's set to. Oren On Thu, Mar 25, 2010 at 11:33 AM, Nathan Clark wrote: > Hi, I was trying to deploy a sample rails 3 app. > I follow the rails 3 document. I followed this as well > http://docs.heroku.com/bundler. > I have

Re: European data center?

2010-03-25 Thread Marcel Overdijk
+1 On Mar 23, 6:40 pm, Joost Saanen wrote: > I am Curious too. > > regards Joost > > On 22 March 2010 19:30, Josh Huckabee wrote: > > > > > Bump. > > > Any official word on this?  This would definitely be nice to have. > > > On Mar 19, 8:14 pm, Arto Bendiken wrote: > > > This has been asked a c

bundler requires RubyGems version >= 1.3.6 Errors while deploying a rails 3 app

2010-03-25 Thread Nathan Clark
Hi, I was trying to deploy a sample rails 3 app. I follow the rails 3 document. I followed this as well http://docs.heroku.com/bundler. I have my Gemfile in the root of the sample app. I am getting these errors. -> Heroku receiving push -> Gemfile detected, running Bundler Unresolv

Excluding development dependencies with Bundler

2010-03-25 Thread Ben Lavender
Hello, I'm working on a Rails 3 app using Bundler to specify gems. Like many projects, we have some development-only dependencies, including Webrat. We've got these gems specified in a :test group. On a local machine, we can bring in dependencies without the test dependencies with 'bundle insta

Re: App Monitoring

2010-03-25 Thread John McCaffrey
Also, the new relic add-on will give you alerts for failures and changes in response times. While this isn't the same as url monitoring, it does provide some very critical diagnostic info, including your heroku queue depth (which is very cool), and its free! I wonder if anyone has had success wit

Re: Suggestion: Make db:push a little safer

2010-03-25 Thread Keenan Brock
I have something like the following defined desc 'prompt are you sure' task :are_you_sure do unless ENV['FORCE'] == 'true' puts "" puts "THIS WILL BLOW AWAY THE DATABASE" puts "hit enter to continue (control c to abort)" puts "" STDIN.read(1) end end task :refresh => %w(ar

Re: Suggestion: Make db:push a little safer

2010-03-25 Thread Mike Doel
On Mar 25, 2010, at 10:55 AM, Sean Schofield wrote: > I'm loving the heroku db:pull stuff but its a bit dangerous if you > accidentally run db:push on a production system. Would it be possible > to have db:push warn you that the remote database is not empty? Maybe > something like the following:

Suggestion: Make db:push a little safer

2010-03-25 Thread Sean Schofield
I'm loving the heroku db:pull stuff but its a bit dangerous if you accidentally run db:push on a production system. Would it be possible to have db:push warn you that the remote database is not empty? Maybe something like the following: WARNING: Remote database is not empty. Are you sure you wa

Re: App Monitoring

2010-03-25 Thread Jesse
that would be a nice add-on here is a rather naive monitoring script (rake task) replace the 'TODO's as needed http://gist.github.com/343625 I call this every 5 minutes via cron from my workstation, later I will probably install it on other machines that are outside of the Heroku and Amazon infra