heroku

git push heroku master doesn't seem to work

I am following the guide on railstutorial.org. I get this error when I type the command on the title. Counting objects: 66, done. Delta compression using up to 2 threads. Compressing objects: 100% (52/52), done. Writing objects: 100% (66/66), 86.47 KiB, done. Total 66 (delta 3), reused 0 (delta 0) -----> Heroku receiving push -----> Ra...

Heroku rake db:migrate fails - Missing tasks/rails

I am just diving into Heroku and have hit a bit of a snag. Whenever I attempt to create my database I am getting the following error. $ heroku rake db:migrate rake aborted! no such file to load -- tasks/rails /disk1/home/slugs/274236_54c3556_0822-55414a07-d565-459a-9412-67cc0e995790/mnt/Rakefile:10:in `require' (See full trace by ru...

Rails : Trouble installing attachement_fu on Heroku

I'm trying to deploy an app on heroku. My trouble is to install hattachement_fu plugin. I ran the following command to install it directly on the server. heroku plugins:install http://github.com/technoweenie/attachment_fuand" and I get the following message : Unable to load plugin: some_plugin: uninitialized constant ActiveRecord...

Heroku: Running imagemagick w/ paperclip

I have installed image magick on my mac os x computer and now I want to deploy it to heroku. I've installed the the paperclip plugin on heroku but I get this error when uploading an image: Paperclip::CommandNotFoundError I had this error before when I didn't have imagemagick instaledl on my computer before but now that I want to deplo...

Heroku: Rails 3 and rmagick

Hi, I'm seeing the following error when trying to upload a photo for cropping on heroku with the paperclip plugin. Paperclip::CommandNotFoundError I believe I've successfully install rmagick on a rails 3 instance with bamboo as the stack. Why am i seeing this error? has_attached_file :avatar, :styles => {:large => "600x600>",:small ...

How do I add domains to Heroku app using Ruby code?

I'm creating an app that allows users to use their own domain. What method do I use in my Rails app to automatically register their chosen domain with Heroku? I'll also need to deregister it if they change it. ...

Trouble connecting Heroku App with Amazon RDS Instance

I'm using Amazon RDS for the first time ever and I've been following the heroku docs to get my app using the RDS instance. So far I've created an instance and I have setup the addon using the format: $ heroku addons:add amazon_rds url=mysql://user:[email protected]/databasename After running heroku rake db:migrate I got ...

Git workflow on Heroku

Hello! I am a "GIT newbie" as of starting with Heroku, and I'm interested in knowing what would be best practice in how to work with it. As of now my site has one production environment and one staging environment. However I'm only using the most basic GIT commands, i e: git add . git commit -m "some changes" git push production mast...

Heroku app fails to start - `require': no such file to load -- sinatratestapp (LoadError)

I'm trying to get my Heroku app to run using the bamboo-mri-1.9.2 stack. Of course it's running fine locally on Ruby 1.9.2. But when on production it crashes during the startup on executing config.ru which looks like this: require 'sinatratestapp' run Sinatra::Application My .gems file: sinatra --version '>= 1.0' And the applicatio...

Error restoring postgres database backup

Hi everyone. I've setup a system to automatically download and store a db dump from my Heroku deployed rails app. Everything is working great but when I download the dump and restore it to my local postgres server then try and run my local app off that restored database I get this error ActiveRecord::StatementInvalid in HomeController#i...

Heroku + Logs Command :: Can Logs Detail can be increased at Heroku.

Is it possible to see the last log of Heroku server. I have used heroku logs to see the last process but it shows limited log. But i want to see more process done at heroku. So what command or what process should I follow to see the logs at Heroku. Thanks in advance. ...

Heroku install: missing gem isn't missing

Trying to deploy an app to Heroku -- first time app and deployment -- and keep getting the following error when I'm trying to migrate the db: Missing these required gems: authlogic You're running: ruby 1.8.7.253 at /usr/ruby1.8.7/bin/ruby rubygems 1.3.7 at /home/slugs/327637_0db78d3_8f84-7ba6678a-ff5d-4646-8320-f58c88156465/mnt...

AWS S3/Ruby on Rails/ heroku: Security hole in my app

I have a route in my config which says that for a page, say /secure, there is a login required (done via authlogic). A before_filter in my controller takes care of that. That works fine, the page and its resources have restricted access - through the application. Trouble is, we are using Amazon S3 for storage on this app (based on refin...

Heroku App launch timed out...HELP!!!

Apps been working GREAT. Installed the heroku-sendgrid-stats plugin and redeployed. App wouldn't start. Uninstalled the plugin, pushed to Heroku..."App Crashed". Created a suport ticket, but no reply yet. I'm stumped and my app's been down for 12+ hours...ANY guidance is GREATLY appreciated. App is using MySQL via Amazon RDS...whi...

Heroku "App Crashed"

I've been pulling my hair out for 14 hours trying to figure out what is going on with this app...which has been running fine for weeks. If anyone sees anything in this backtrace and can provide some insight I would be forever in your debt: ==> production.log <== # Logfile created on Sat Oct 23 08:23:42 -0700 2010 ==> dyno-2162168.log <...

are associations dependent on a database in Rails?

I tested an association on mysql as follows and it works: User.campaigns These are the associations in the Models: Campaign belongs_to :user User has_many :campaigns However, when I run it on heroku which uses Postgres, I get the following: CampaignsController#index (ActiveRecord::StatementInvalid) "PGError: ERROR: column campaig...

heroku not updating database schema

Hello, Heroku doesn't seem to update my database schema when I deploy. Here are the details: Here is what is should look like for the User class: create_table "users", :force => true do |t| t.string "username" t.datetime "created_at" t.datetime "updated_at" t.string "email" t.string "encrypted_password" t.string "salt" t.strin...

Is there an equivalent to Heroku for the ASP.NET platform?

I can't see a reason why we couldn't do the same thing Heroku does for an ASP.NET website. Anyone care to object? ...

Amazon S3 path or to_file wont work

Hey guys ive got the following code in my Model require 'RMagick' class Upload < ActiveRecord::Base belongs_to :card has_attached_file :photo, :styles => { :thumb => ["100x100", :jpg], :pagesize => ["500x400", :jpg], }, :storage => :s3, ...

Problem installing gem on Windows Vista 32-bit

Good day. I have a problem installing the gem "showoff". For some reason it can't install. The error message is as follows: C:\Ruby>gem install showoff Building native extensions. This could take a while... ERROR: Error installing showoff: ERROR: Failed to build gem native extension. C:/Ruby/bin/ruby.exe extconf.rb checking...