similar to: How do you execute "rails runner" in Heroku?

Displaying 20 results from an estimated 1000 matches similar to: "How do you execute "rails runner" in Heroku?"

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 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?
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,
2011 Oct 30
5
Fatal error: The remote end hung up unexpectedly
Hi, I''d like to create my first ROR application on Heroku but I can''t deal with one step in this tutorial: http://devcenter.heroku.com/articles/quickstart I''ve spent all my day for this and I have no idea what is wrong... I cannot deal with last one in 3th part -> Create your Heroku application What I did: I''ve installed eveything what I need 1. switch to
2011 Sep 13
1
Heroku failed to push: fatal: sha1 file '<stdout>' write error: Invalid argument
When I try to push my app to Heroku I get this error: OCA@OCA-PC /c/rails/oca (master) $ git push heroku master Enter passphrase for key ''/c/Users/OCA/.ssh/id_rsa'': Counting objects: 913, done. Delta compression using up to 2 threads. Compressing objects: 100% (797/797), done. Read from remote host heroku.com: Connection reset by peer fatal: sha1 file
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 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!
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
4
missing these required gems: will_paginate
Hi EveryBody, I hope some one help me. I am new on ROR so might be problem is silly or Obvious. i had developed a project and i had use "WILL_PAGINATE" plugin in my app. It''s working well at localhost. But when deploying on HEROKU, ALL step is going well but when running $heroku rake db:migrate ERROR IS Missing these required gems: will_paginate You''re
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'']
2012 Dec 18
2
cache-busting non-digest assets in sprockets in development a good idea? should headers in sprockets be configurable?
Just monkey patched Sprockets in our Rails 3.2.9 app to override the Cache-Control header for html assets that we need to tweak more often in development, but that we don''t want to use digests/fingerprinting with: # Sprockets 2.x patch if Rails.env.development? module Sprockets module Server private alias_method :sprockets_headers, :headers def headers(env,
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 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 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 Aug 03
2
FYI: Heroku Cedar, pg, openssl, omniauth, troubles and a solution
Hi guys, I found a really nasty issue that affects people running on Heroku''s cedar stack. We are using Rails 3.1.rc5, pg 11, omniauth 2.6. Ruby is 1.9.2.180p Basically there is an incompatibility between the http, pg and OpenSSL modules which segfaults when making https calls, for example to log in through twitter. Now pg is a required gem when using Heroku cedar stack so leaving that
2010 Jun 08
9
[Rails Heroku] Problem with saving object (on heroku hosting)
Hi All, I have some strange problem which appears only on heroku hosting 2.3.5 default stack (not on my local computer) I have some models. Here they are: class Contact < ActiveRecord::Base belongs_to :user belongs_to :type, :class_name => "ContactType", :foreign_key => "type_id" validates_presence_of :name, :on => :create, :message =>
2011 Sep 30
1
RoR running on Localhost but not on Heroku
Hey there, I have been following http://ruby.railstutorial.org/chapters/beginning#top since yesterday and I am going good on my machine with ROR. I have used RailsInstaller for my environment on Windows7. My two apps are working good on my localhost:3000 but as I put them into Heroku, I am getting error, respectively, http://meinkampf.heroku.com and http://smoothipod.heroku.com. I wonder