Displaying 20 results from an estimated 1000 matches similar to: "FYI: Heroku Cedar, pg, openssl, omniauth, troubles and a solution"
2011 Sep 24
4
Heroku Slugsize shot up drastically
Hi,
Locally my application is 7MB without tests and logs, etc. The .git
folder is 29 MB. I also have no gems / plugins in vendor folder. 95%
of images sit on S3. However on committing to Heroku it shows ----->
Compiled slug size is 62.7MB
What is wrong? It happened?
To add more context my .gitignore file is .bundle, db/.sqlite3, config/
database.yml, log/.log, tmp/, .idea, .redcar,
2012 Oct 05
2
heroku rake db:drop error PG::Error: FATAL: permission denied for database "postgres"
How to empty DB in heroku<http://stackoverflow.com/questions/4820549/how-to-empty-db-in-heroku>
I have a Postgres database on Heroku. It is one of the free beta ones.
Locally, when testing, I often run rake db:drop && rake db:create && rake
db:migrate as a way to reset the database.
However, when I try to run this on Heroku, I get the error:\[code\]Couldn''t
drop
2011 Nov 13
1
How do you execute "rails runner" in Heroku?
I''m going through the 4th edition of the book _Agile Web Development
in Rails_.
One of the exercises involves automatically creating 100 orders. The
command to run locally is "rails runner script/load_orders.rb". I
have no problems here - it works.
What''s the command for running this in the deployed Heroku application?
--
You received this message because you
2011 Aug 09
5
Sqlite 3 install error on Heroku, Rails 3.1
Hello Rails people.
I tried to push a Rails 3.1 app ( created using cedar stack) to Heroku
and I encountered the following error
Installing sqlite3 (1.3.4) with native extensions Unfortunately, a
fatal error has occurred. Please report this error to the Bundler
issue tracker at https://github.com/carlhuda/bundler/issues so that we
can fix it. Thanks!
2011 Oct 31
1
HEROKU ROR server - problem with css files
Hi,
I''ve created simple ROR app and commit it to HEROKU server. When I
change
config.assets.enabled = true
and put ''false'' then it works but doesn''t use my .css styesheets.
In case config.assets.enabled = true it doesn''t work...
How can I fix it?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to
2011 Apr 20
1
Omniauth facebook authentication failure
I am using devise and omniauth for authentication. Wherever i click on
the facebook login button i get this warning msg.
******************************************
warning: peer certificate won''t be verified in this SSL session
******************************************
But now i get this error msg
*****************************************
OpenSSL::SSL::SSLError SSL_connect returned=1
2012 Jan 09
1
Windows, Rails 3.1.3, Omniauth-BrowserID, SSL Erro
One and all, I have scoured the internet high and low tonight and I
can not for the life of me fix this damn problem. I have downloaded
certificates, installed certificates, changed my :ca_path and such as
stated in the documentation for omniauth-facebook for which I thought
would be ok to do with this one. Can anyone point me in the right
direction of how to disable SSL in development mode
2012 Sep 16
1
“Routing Error No route matches {}” when omniauth failed on registration
(Original question was asked here:
http://stackoverflow.com/questions/11506734/routing-error-no-route-matches-when-omniauth-failed-on-registration
)
I am using omniauth-identity and configure its "fail on registration".
My files:
config/initializers/omniauth.rb
OmniAuth.config.logger = Rails.logger
Rails.application.config.middleware.use OmniAuth::Builder do
#...
provider
2012 Oct 06
1
how to scope the /auth/:provider/callback , using OmniAuth for users and members
I have two separate groups of people authenticated w Devise , but in
this case I cannot used the Devise embedded OmniAuth support. So i am
using directly the OmniAuth gem.
Initialized w :
Rails.configuration.middleware.use OmniAuth::Builder do
..provider :twitter,
..
end
It''s running fine , but I have an issue with the callback route
mapping :
I tried
match
2012 Jan 18
4
Adding a custom select to omniauth register form
Hi,
I''m creating a rails app using omniauth 1.0.1 on Rails 3.1.3 and ruby
1.9.2
I''m having trouble adding a select field that populates from a class
constant in my user model.
Here''s my model:
class User < ActiveRecord::Base
ROLES = ["Customer","Service Supplier"]
has_many :leads
validates_presence_of :role
def
2013 Aug 26
2
linkedin login using omniauth
Hi,
I am trying to add linkedin login feature in my rails application using
omniauth gem..I used omniauth gem for Fb login and it''s working fine..but
it''s not working for linkedin login
this is my code
/model/user.rb
class User < ActiveRecord::Base
attr_accessible :name, :oauth_expires_at, :oauth_token, :provider, :uid
def self.from_omniauth(auth)
2009 Sep 11
4
heroku gem and two different heroku accounts
Heroku support works so slowly I want to ask community.
1)I have a problem with switching between my two heroku accounts on the
same laptop. All of the commands execute from one of these, but I want
to execute it from another. Howto switch user to another heroku account?
2) how to treat my ubuntu to default for the heroku.com?
--
Posted via http://www.ruby-forum.com/.
2013 May 25
1
Mysterious Application Error on Heroku
I converted my app to rails 4. My test suite is green and it runs great
locally. I then deploy to Heroku and it crashed with no information at
all.
It just says "Application Error. An error occurred in the application
and your page could not be served"
Heroku logs don''t give any info either:
-------------------------------------------------------------
2010 Dec 11
3
Why doesn't Heroku show the Rails default page?
Following chapter (1) of the Ruby on Rails tutorial:
http://railstutorial.org/, I was able to successfuly push the
application to "Heroku" using:
> git push heroku master
But, when I open the website, I get a page with the following:
App crashed
This application is temporarily offline.
If you''re the administrator of this app, please check your heroku logs
for the backtrace.
2012 Dec 01
4
heroku deployment
i want to deploy two rails application in heroku..so how can i deploy two
application with one account in heroku and github..i am little confused
that i have to take two rsa public key or how..thanks in advance
--
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
2011 Aug 06
2
No javascript runtime on Heroku
Hello all,
I developed an app using Rails 3.1 and uploaded it to heroku. When I
typed rake db:migrate , I got the following error:
Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs
for a list of available runtimes.
Does heroku support Rails 3.1? They seem to have no Javascript runtime
env''s like nodejs on their machine!
--
You received this message
2012 May 03
2
Can't push to Heroku
I wanna push my application straight from Github to Heroku. Everything
goes through until it hits the installation of the gems. It can''t
install the SQLite3 (local DB).
I know Heroku doesn''t use SQLite but I didn''t expect this problem.
The error messages recommended installing a version of SQLite3
(v1.3.6) which I did
but it keeps on complaining :(. Any workaround?
2012 Dec 28
3
git push heroku master error
allo vous tous vois l''erreur
Counting objects: 66, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (52/52), done.
Writing objects: 100% (66/66), 26.30 KiB, done.
Total 66 (delta 3), reused 0 (delta 0)
-----> Ruby/Rails app detected
-----> Installing dependencies using Bundler version 1.3.0.pre.2
Running: bundle install --without development:test
2011 Jun 01
1
git push heroku master - has error
I am trying to put my app on heroku, following the instructions, when
I get here I get this error:
$ git push heroku master
Enter passphrase for key ''/c/Users/Laurence/.ssh/id_rsa'':
Counting objects: 277, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (246/246), done.
Read from remote host heroku.com: The connection was aborted
fatal: sha1 file
2011 Jan 24
3
CSV::parse with named columns error on Heroku
The following code works locally (parsing a CSV with specific headers) but
when on Heroku I get the following error on the ''next if'' row:
TypeError (can''t convert String into Integer)
CSV.parse(File.open(file_path, ''r'').read.gsub(/"/, ''''), :headers =>
true) do |row|
next if row[''Customer'']