On Wed, Oct 13, 2010 at 8:01 AM, Frederico Barbosa <[email protected]>wrote:
> Hello People,
>
> I can´t publish Ruby on Rails application on HEROKU. It says "file
> sqlite3 is missing". But I know it´s not missing and the application
> runs allright on my computer.
>
It may be because you have sqllite gem in your gemfile? If so, you should
try doing something like this which isolates gems you dont need to send to
heroku. I had a similar problem with trying to push the ruby-debug gem to
them:
$heroku = ENV['USER'] ? !! ENV['USER'].match(/^repo\d+/) : ENV.any?{|key, _|
key.match(/^HEROKU_/)}
unless $heroku
group :development, :test do
gem 'ruby-debug19'
gem 'cucumber-rails'
gem 'cucumber', '>=0.8.5'
gem 'capybara'
gem 'rspec-rails', '>=2.0.0.beta.20'
gem 'factory_girl_rails'
gem 'webrat', '>=0.4.3'
gem 'heroku'
gem 'database_cleaner'
end
end
>
> Is it true that I should stop using SQLITE as database and replace it
> for POSTGRES ?
>
> HEROKU works only with POSTGRES on a Ruby On Rails application ?
>
> Thanks a Lot
> Frederico
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.