libraptor binary
Hello, I am the author of dbpedia lite: http://dbpedialite.org/ It is Sinatra app deployed on heroku that presents some of the data in Wikipedia as Linked Data using RDF.rb and Spira. Something that would really help my app is if I could use the rdf- raptor gem. This depends upon rapper/libraptor library: http://librdf.org/raptor/ Raptor is a commonly available library, available on most Linux distributions. It would be fantastic if this library could be made available on Heroku, so that people could parsing and serialising RDF/ XML and Turtle. Thanks, nick. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Ensuring ssl?
I did this within my app. class ApplicationController ActionController::Base include SslRequirement and class FooController ApplicationController ssl_required :mymethod This forces automatic redirects on all http requests to the corresponding https URL (GETs work for sure, I haven't tried POSTs). I don't see any way to refuse http traffic completely, but this approach worked for me. -Jason On May 22, 1:02 am, misza222 misza...@gmail.com wrote: Hi guys, I want to ensure that my users connect via https. Unfortunately request.scheme always returns http, even if connecting with https. Is this behaviour common for all SSL addons, or just for PiggybackSSL that I am using now and how to ensure ssl if user uses unencrypted protocol? Regards, Michal -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Reduce heroku compiled slug size
I've just updated rails to v2.3.6 on my app under a bamboo-ree-1.8.7 stack and the compiled slug size has grown up to 40.5Mb! Previous to that last git push, the slug size was about 20Mb and was using rails v2.3.5. Is it because my slug has both of rails versions installed? Probably I'm missing something but I haven't added any special code/files into my app as to increase the slug size by ~20Mb. Can you point me on how can I reduce the slug size? Any help will be greatly appreciated. Thank you very much in advance. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Time Zones, Rails 3 and Heroku
Hi Guys, it took me hours but finally i got it: If you have problems get your time and date saved as UTC, try to add ENV['TZ'] = 'UTC' in your environment.rb file. Befor that, i could do what i want, but times got saved in Pacific TIme Zone in the DB. Can someone confirm this? OR explain ;-) ? Greetings Max -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
root_path not being recognized
Hi All, I have an app http://incompetence-tracker.heroku.com. In this app I've mapped root to :controller = :home_page, :action = :home_page_index. When I go to that URL I see the default rails page that you see when creating a new app. Everything works as expected using WEBrick as the server. It's only when I push to heroku that I see the problem. help would be greatly appreciated. thanks, Leo I can go to http://incompetence-tracker.heroku.com/home_page and that shows the home_page I expect This is the line in routes.rb map.root :controller = :home_page, :action = :home_page_index Here is a pasty to the full routes.rb http://pastie.org/978495 -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Heroku dependency error - JSON
Hi everyone I recently updated my gems. On executing: heroku rake --trace db:migrate I get /usr/lib/ruby/site_ruby/1.8/rubygems.rb:230:in `activate': can't activate json_pure (~ 1.2.0, runtime) for [heroku-1.8.1], already activated json_pure-1.4.3 for [gemcutter-0.5.0] (Gem::LoadError) How can I work around to fix this? I cannot update my remote DB. Thanks in advance, Bob -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
'error: failed to push some refs' while pushing to heroku
Hi, im trying to install an app called Teambox on Heroku using the following instructions: http://wiki.github.com/micho/teambox/installing-on-heroku. It says to use the bamboo-ree-1.8.7 stack. I run into a problem when I try to push the code using 'git push heroku master'. ...Install stuff... Your bundle is complete! Use `bundle show gemname` to see where a bundled gem is installed. Locking environment FAILED: Could not lock dependencies. Have you updated to use a 0.9 Gemfile? http://docs.heroku.com/gems#gem-bundler error: hooks/pre-receive exited with error code 1 To g...@heroku.com:stark-window-80.git ! [remote rejected] master - master (pre-receive hook declined) error: failed to push some refs to 'g...@heroku.com:stark- window-80.git' Any insight into this issue would be appreciated. Thanks in advance! -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Ensuring ssl?
Have a look into the ssl_requirement plugin - works just fine with PiggybackSSL http://github.com/rails/ssl_requirement Regards Gernot On 22 Mai, 10:02, misza222 misza...@gmail.com wrote: Hi guys, I want to ensure that my users connect via https. Unfortunately request.scheme always returns http, even if connecting with https. Is this behaviour common for all SSL addons, or just for PiggybackSSL that I am using now and how to ensure ssl if user uses unencrypted protocol? Regards, Michal -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.