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
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
Screencast for heroku would be cool. Also, please consider adding to
the wiki how you got it working.
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/17e5a316289362372b7eb4aaff3cbe1585787f9b/localhost.log
herokugarden.log:
http://gist.github.com/raw/56653/82d802fba561615a89582d5d4b07f4d811159420/herokugarden.log
(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:
> 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:
>
> > 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!
>
> > On Wed, Nov 19, 2008 at 8:36 AM, schof <sean.schofi...@gmail.com> wrote:
>
> >> Now you have got me interested inHerokuand Spree :-)
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
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
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