Heroku, Ruby on Rails, GitHub

82 views
Skip to first unread message

Michel Frechette

unread,
Feb 6, 2014, 10:48:35 AM2/6/14
to rubyonra...@googlegroups.com
1. I get the following message after I have run '$git push heroku
master' at the command line:

This is the message:

An error occurred while installing sqlite3 (1.3.8), and Bundler cannot
continue.
Make sure that `gem install sqlite3 -v '1.3.8'` succeeds before
bundling.

!
! Failed to install gems via Bundler.
!
! Detected sqlite3 gem which is not supported on Heroku.
! https://devcenter.heroku.com/articles/sqlite3
!

! Push rejected, failed to compile Ruby app


2. Prior to running '$git push heroku master', I ran '$heroku create',

which gave me the following url:

http://stark-fjord-8580.herokuapp.com/

3. In my browser this message was generated, before I ran '$git push
heroku master'

Heroku | Welcome to your new app!
Refer to the documentation if you need help deploying.

4. I have commented #out the sqlite3 gem in my gemfile and I have run
'$bundle'

5. I have yet to see Heroku work properly

6. this is the final part of the error message:

To g...@heroku.com:stark-fjord-8580.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'g...@heroku.com:stark-fjord-8580.git'

Does anyone know what occurred and how I can fix this?

--
Posted via http://www.ruby-forum.com/.

Dave Aronson

unread,
Feb 6, 2014, 11:18:57 AM2/6/14
to rubyonrails-talk
On Thu, Feb 6, 2014 at 10:48 AM, Michel Frechette <li...@ruby-forum.com> wrote:

> 1. I get the following message after I have run '$git push heroku
> master' at the command line:
>
> This is the message:
>
> An error occurred while installing sqlite3 (1.3.8), and Bundler cannot
> continue.
> Make sure that `gem install sqlite3 -v '1.3.8'` succeeds before
> bundling.

Heroku doesn't do SQLite. Use Postgres, at least in production.

-Dave

--
Dave Aronson, the T. Rex of Codosaurus LLC (codosaur.us),
freelance software developer, and creator of these sites:
PullRequestRoulette.com, blog.codosaur.us, & Dare2XL.com.

Scott Eisenberg

unread,
Feb 6, 2014, 12:07:05 PM2/6/14
to rubyonra...@googlegroups.com
I thought that heroku made the substitution automatically for you. Dim memory. Do they try anything like that?
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAHxKQijug5HixtD_LAZWF94%2Ba8i6k%2BSBcV-tGz3iYd6ZHsda%3Dw%40mail.gmail.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Hassan Schroeder

unread,
Feb 6, 2014, 1:00:32 PM2/6/14
to rubyonrails-talk
On Thu, Feb 6, 2014 at 9:07 AM, Scott Eisenberg <sco...@btrtrucks.com> wrote:
> I thought that heroku made the substitution automatically for you. Dim memory.

I also recall that from a very long time ago, but AFAIK it hasn't
been the case for quite a while.

What heroku *does* do is provide pretty good documentation on
how to deploy to their platform, e.g.

https://devcenter.heroku.com/articles/getting-started-with-rails3

which is the first result of googling 'deploying rails app to heroku'
(and specifically discusses DB requirements) ...

--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
Reply all
Reply to author
Forward
0 new messages