Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Heroku integration
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  17 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
jaythree03@gmail.com  
View profile  
 More options Nov 14 2008, 11:28 am
From: "jaythre...@gmail.com" <jaythre...@gmail.com>
Date: Fri, 14 Nov 2008 08:28:40 -0800 (PST)
Local: Fri, Nov 14 2008 11:28 am
Subject: Heroku integration
Hi... I just want to know how could I apply this application in
heroku? My application is already running while in the localhost mode.
but when I deploy it in heroku, It only shows the same window as
creating a new application. Hope anyone can help me. Thanks!

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
schof  
View profile  
 More options Nov 15 2008, 11:45 am
From: schof <sean.schofi...@gmail.com>
Date: Sat, 15 Nov 2008 08:45:29 -0800 (PST)
Local: Sat, Nov 15 2008 11:45 am
Subject: Re: Heroku integration
In response to your github message...

You can change the version of rails used by your application
regardless of what version Heroku has.  Just put a version of Rails
2.2 in vendor/rails.  You can google "freezing rails" for more info
(or see the Spree wiki.)

Sean


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jaythree03@gmail.com  
View profile  
 More options Nov 16 2008, 6:21 am
From: "jaythre...@gmail.com" <jaythre...@gmail.com>
Date: Sun, 16 Nov 2008 03:21:57 -0800 (PST)
Local: Sun, Nov 16 2008 6:21 am
Subject: Re: Heroku integration
Hi, I tried freezing it but the rails folder didn't appeared in the
vendors folder when
I deploy it to heroku. I think heroku has it's custom patch. could you
tell me other
ways to deploy it? it's working in my machine but not in heroku.

On Nov 16, 12:45 am, schof <sean.schofi...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sean Schofield  
View profile  
 More options Nov 17 2008, 9:23 am
From: Sean Schofield <s...@endpoint.com>
Date: Mon, 17 Nov 2008 09:23:57 -0500
Local: Mon, Nov 17 2008 9:23 am
Subject: Re: [spree-user] Re: Heroku integration
Sounds like heroku is not allowing you to supply your own vendor/
rails.  Not sure what the reasoning behind that could possibly be but  
I guess you're stuck with the version of Rails they are supplying you  
with.

 From what I can tell heroku is using Rails 2.1 (at least in the one  
screencast I saw.)  So I would go with an earlier version of Spree  
which is Rails 2.1 compatible (we only recently started requiring  
Rails 2.1.2)  You could use the tagged version for 0.4.0 or you could  
use the 0.4.1 gem.

Sean


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arjay Orcasitas  
View profile  
 More options Nov 18 2008, 1:37 am
From: "Arjay Orcasitas" <jaythre...@gmail.com>
Date: Tue, 18 Nov 2008 14:37:19 +0800
Local: Tues, Nov 18 2008 1:37 am
Subject: Re: [spree-user] Re: Heroku integration

hi sir, I've already done what you've said. I encountered this problem,

no such file to load -- has_many_polymorphs
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependen cies.rb:509:in
`require'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependen cies.rb:354:in
`new_constants_in'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependen cies.rb:509:in
`require'
/usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/rails/gem_dependency.rb:57:in
`load'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/core_ext /symbol.rb:11:in
`__send__'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/core_ext /symbol.rb:11:in
`to_proc'{...}

These gems that this application depends on are missing: -
has_many_polymorphs - highline - mini_magick - activemerchant - tlsmail Run
"rake gems:install" to install them.

I've already installed all the necessary gems but still this error occurs.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sean Schofield  
View profile  
 More options Nov 18 2008, 7:51 am
From: "Sean Schofield" <sean.schofi...@gmail.com>
Date: Tue, 18 Nov 2008 07:51:21 -0500
Local: Tues, Nov 18 2008 7:51 am
Subject: Re: [spree-user] Re: Heroku integration

> These gems that this application depends on are missing: -
> has_many_polymorphs - highline - mini_magick - activemerchant - tlsmail Run
> "rake gems:install" to install them.

Can you install gems with heroku?  You can try 'rake gems' from the
command line to see if you have the necessary gems (and the specific
version required.)  Most likely 'rake gems' will show those same gems
missing as when you try to run it.

If 'rake gems:install' won't install the missing gems then your only
other option is to unpack the relevant gems locally on your machine,
put them in vendor/gems for your spree source and deploy the whole app
with the gems "frozen" in your source.

Good Luck.

Sean


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arjay Orcasitas  
View profile  
 More options Nov 18 2008, 9:09 am
From: "Arjay Orcasitas" <jaythre...@gmail.com>
Date: Tue, 18 Nov 2008 22:09:24 +0800
Local: Tues, Nov 18 2008 9:09 am
Subject: Re: [spree-user] Re: Heroku integration

Thank you sir for the help. I've already deployed my application in heroku.
I'll create a screencast later. Thank you!

On Tue, Nov 18, 2008 at 8:51 PM, Sean Schofield <sean.schofi...@gmail.com>wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sean Schofield  
View profile  
 More options Nov 18 2008, 9:19 am
From: Sean Schofield <s...@endpoint.com>
Date: Tue, 18 Nov 2008 09:19:29 -0500
Local: Tues, Nov 18 2008 9:19 am
Subject: Re: [spree-user] Re: Heroku integration

> Thank you sir for the help. I've already deployed my application in  
> heroku. I'll create a screencast later. Thank you!

Screencast for heroku would be cool.  Also, please consider adding to  
the wiki how you got it working.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
schof  
View profile  
 More options Nov 18 2008, 7:36 pm
From: schof <sean.schofi...@gmail.com>
Date: Tue, 18 Nov 2008 16:36:32 -0800 (PST)
Local: Tues, Nov 18 2008 7:36 pm
Subject: Re: Heroku integration
Now you have got me interested in Heroku and Spree :-)

Please do a blog post or something on this so we can all learn what
you did.  I'm also curious how you resolved the Rails 2.1.2 problem?
Did you use an earlier version of Spree or did you just change the
Rails Version in the Spree code?  I bet the current code works with
Rails 2.1.0 if you changed the required Rails version only - but I'm
curious to know for sure.

Sean


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arjay Orcasitas  
View profile  
 More options Nov 19 2008, 9:07 am
From: "Arjay Orcasitas" <jaythre...@gmail.com>
Date: Wed, 19 Nov 2008 22:07:07 +0800
Local: Wed, Nov 19 2008 9:07 am
Subject: Re: [spree-user] Re: Heroku integration

I just used an earlier version of spree but put those missing gems manually.
I'll create a
blog post and screencast after our defense. thank you again sir!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arjay Orcasitas  
View profile  
(1 user)  More options Nov 19 2008, 3:32 pm
From: "Arjay Orcasitas" <jaythre...@gmail.com>
Date: Thu, 20 Nov 2008 04:32:59 +0800
Local: Wed, Nov 19 2008 3:32 pm
Subject: Re: [spree-user] Re: Heroku integration
update on my pr0j:

I've already integrated the latest spree rep0sit0ry on her0ku. As I've
pr0mised, I'll create a screencast. Thank y0u all f0r the help.

On 11/19/08, Arjay Orcasitas <jaythre...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin Häger  
View profile  
 More options Feb 2, 2:10 am
From: Martin Häger <martin.hae...@gmail.com>
Date: Sun, 1 Feb 2009 23:10:46 -0800 (PST)
Local: Mon, Feb 2 2009 2:10 am
Subject: Re: Heroku integration
Hello,

I've have deployed Spree (2009-01-31 git HEAD version) on Heroku, but
product image uploading isn't fully working. It is only uploading the
'original' image to the server, and not creating the 'mini', 'small'
and 'product' images. On my local machine, everything works as it
should. Any ideas what might be wrong?

I'm attaching the log/development.log files from both my local machine
(localhost.log) and Heroku (herokugarden.log). Notice the deviation on
row 4 and 5 in the Heroku log.

localhost.log:
http://gist.github.com/raw/56656/17e5a316289362372b7eb4aaff3cbe158578...

herokugarden.log:
http://gist.github.com/raw/56653/82d802fba561615a89582d5d4b07f4d81115...

(the logs look better when viewed with ANSI color support, like 'more'
or 'less -r')

Output from 'rake gems' on Heroku:
 - [F] highline = 1.4.0
 - [F] activemerchant = 1.4.1
    - [I] activesupport = 2.2.2
    - [I] builder = 2.1.2
 - [F] tlsmail
 - [F] active_presenter = 0.0.4
 - [F] activerecord-tableless = 0.1.0
    - [I] activerecord = 2.2.2

Cheers,
Martin

On Nov 19 2008, 9:32 pm, "Arjay Orcasitas" <jaythre...@gmail.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sean Schofield  
View profile  
 More options Feb 2, 7:42 am
From: Sean Schofield <s...@endpoint.com>
Date: Mon, 2 Feb 2009 07:42:17 -0500
Local: Mon, Feb 2 2009 7:42 am
Subject: Re: [spree-user] Re: Heroku integration

> I've have deployed Spree (2009-01-31 git HEAD version) on Heroku, but
> product image uploading isn't fully working. It is only uploading the
> 'original' image to the server, and not creating the 'mini', 'small'
> and 'product' images. On my local machine, everything works as it
> should. Any ideas what might be wrong?

Most likely Heroku is missing the Image Magick binary.  That's a C  
library - not a ruby thing.  I've never tried uploading images on  
Heroku so I can't say for sure but seems like the most likely  
explanation.

Sean


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin Häger  
View profile  
 More options Feb 2, 1:58 pm
From: Martin Häger <martin.hae...@gmail.com>
Date: Mon, 2 Feb 2009 10:58:20 -0800 (PST)
Local: Mon, Feb 2 2009 1:58 pm
Subject: Re: Heroku integration
Right. And here's probably why no errors are logged:
http://thoughtbot.lighthouseapp.com/projects/8794/tickets/51-papercli...

The Heroku guys seem to have ImageMagick under evaluation atm, so
hopefully it will be installed soon.

Thanks for the input.

On Feb 2, 1:42 pm, Sean Schofield <s...@endpoint.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sean Schofield  
View profile  
 More options Feb 2, 2:14 pm
From: Sean Schofield <s...@endpoint.com>
Date: Mon, 2 Feb 2009 14:14:43 -0500
Local: Mon, Feb 2 2009 2:14 pm
Subject: Re: [spree-user] Re: Heroku integration

> The Heroku guys seem to have ImageMagick under evaluation atm, so
> hopefully it will be installed soon.

You're just playing around with Spree right?  I'm not sure I'd go with  
Heroku for a production deployment.  Too many limitations IMO (such as  
this.)

Sean


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin Häger  
View profile  
 More options Feb 3, 2:44 am
From: Martin Häger <martin.hae...@gmail.com>
Date: Mon, 2 Feb 2009 23:44:56 -0800 (PST)
Local: Tues, Feb 3 2009 2:44 am
Subject: Re: Heroku integration
Actually, we're building an e-commerce application on top of Spree for
a university project. The course isn't so much about programming as
about developing and documenting according to ISO/IEEE standards.
We'll just be running an "online demo" on Heroku for six weeks.
Therefore, I only had two requirements: it should be free, and we
should be able to push to it via Git. Enter Heroku! :)

On Feb 2, 8:14 pm, Sean Schofield <s...@endpoint.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sean Schofield  
View profile  
 More options Feb 3, 7:45 am
From: Sean Schofield <s...@endpoint.com>
Date: Tue, 3 Feb 2009 07:45:36 -0500
Local: Tues, Feb 3 2009 7:45 am
Subject: Re: [spree-user] Re: Heroku integration

> Actually, we're building an e-commerce application on top of Spree for
> a university project. The course isn't so much about programming as
> about developing and documenting according to ISO/IEEE standards.
> We'll just be running an "online demo" on Heroku for six weeks.
> Therefore, I only had two requirements: it should be free, and we
> should be able to push to it via Git. Enter Heroku! :)

Yes Heroku seems to be popular with university students who want a  
free server.  Not sure if that's the best business model for them but  
it works for you.  Good luck on the project.

Sean


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google