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!
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.)
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:
> 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.)
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.
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.
On Mon, Nov 17, 2008 at 10:23 PM, Sean Schofield <s...@endpoint.com> wrote:
> 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.
> 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.
> > 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.
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.
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 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.
> 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 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.
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.
> 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 :-)
> >> 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.
> 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.
> > 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.
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:
> > 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.)
> 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.