Closed tmcw closed 9 years ago
yeah it's a pain. i could vendor the gems? I have been using 2.3.11, but have also run it on 2.3.5 and a few others. Are you on ubuntu or osx? Ubuntu has been pretty painless but i admit i haven't tried running it on a mac for quite some time.
On Thu, Sep 22, 2011 at 4:51 PM, Tom MacWright < reply@reply.github.com>wrote:
Hey Jeff,
Trying to get set up and I'm a little bewildered by the various ruby/rails version mismatches and gem install errors I'm getting. So far I've tried ruby 1.9.1, 1.8.7, rails 2.3.11 and 2.3.12, and various other things, mainly with rvm managing versions.
The usual error is the inability to build geohash - https://gist.github.com/1236004 With ruby 1.8.7 and rubygems 1.8.10, I get an unending string of uninstalled stuff (RDoc, json/add/rails, etc).
Sorry, fallen entirely out of sync with understanding ruby versioning and such!
Reply to this email directly or view it on GitHub: https://github.com/jywarren/mapknitter/issues/50
Are you using ruby 1.8.7? Turns out geohash was updated for 1.9.1, but nobody ever packaged that version - I've gone back to 1.8.7, and everything's working halfway except for needing to manually install image_science
, comment out the include of json/add/rails
in environment.rb
, and now after manually gem install inline
'ing to make image_science work, it doesn't work.
-- addendum: ah, it's gem install RubyInline
. Now to install FreeImage.
-- addendum: works! server running. But mysql gem is missing, so 502s. Installing mysql
-- addendum: a page! now to install mysql, and rake db:migrate
-- addendum: where's the recaptcha public key configured? Seems an environment variable! export RECAPTCHA_PUBLIC_KEY=6LegacgSAAAAAAtl8QqW_dbSOKBI0uaH1oDgUN8T
and I'm golden, seeing the home page.
(not posting these as usual gripes, rather queueing for writing docs when I get a moment)
Config/initializers/recaptcha.RB,
I should have done better docs but I didn't really expect many folks to want local copies. But now people are asking about USB key bitnami local versions so I'm thinking of making a bitnami branch. On Sep 22, 2011 5:50 PM, "Tom MacWright" < reply@reply.github.com> wrote:
Are you using ruby 1.8.7? Turns out geohash was updated for 1.9.1, but nobody ever packaged that version - I've gone back to 1.8.7, and everything's working halfway except for needing to manually install
image_science
, comment out the include ofjson/add/rails
inenvironment.rb
, and now after manuallygem install inline
'ing to make image_science work, it doesn't work.-- addendum: ah, it's
gem install RubyInline
. Now to install FreeImage.-- addendum: works! server running. But mysql gem is missing, so 502s. Installing mysql
-- addendum: a page! now to install mysql, and rake db:migrate
-- addendum: where's the recaptcha public key configured? Seems an environment variable!
export RECAPTCHA_PUBLIC_KEY=6LegacgSAAAAAAtl8QqW_dbSOKBI0uaH1oDgUN8T
and I'm golden, seeing the home page.(not posting these as usual gripes, rather queueing for writing docs when I get a moment)
Reply to this email directly or view it on GitHub: https://github.com/jywarren/mapknitter/issues/50#issuecomment-2172970
Yes, 1.8.7. Im old fashioned. I could swap for a more recent geocoding gem, ideas? On Sep 22, 2011 5:50 PM, "Tom MacWright" < reply@reply.github.com> wrote:
Are you using ruby 1.8.7? Turns out geohash was updated for 1.9.1, but nobody ever packaged that version - I've gone back to 1.8.7, and everything's working halfway except for needing to manually install
image_science
, comment out the include ofjson/add/rails
inenvironment.rb
, and now after manuallygem install inline
'ing to make image_science work, it doesn't work.-- addendum: ah, it's
gem install RubyInline
. Now to install FreeImage.-- addendum: works! server running. But mysql gem is missing, so 502s. Installing mysql
-- addendum: a page! now to install mysql, and rake db:migrate
-- addendum: where's the recaptcha public key configured? Seems an environment variable!
export RECAPTCHA_PUBLIC_KEY=6LegacgSAAAAAAtl8QqW_dbSOKBI0uaH1oDgUN8T
and I'm golden, seeing the home page.(not posting these as usual gripes, rather queueing for writing docs when I get a moment)
Reply to this email directly or view it on GitHub: https://github.com/jywarren/mapknitter/issues/50#issuecomment-2172970
Looks like the geohash gem, at least, is deadpool, with a version on GitHub that isn't published as a gem anywhere, and not much movement. I'll just roll with this as-is currently - just setting it up to do a bit of quick development - seeing whether MBTiles export wouldn't be too hard to code up.
Ok minimum vendoring the geohash gem would be useful it seems. I imagine its pure Ruby, no? On Sep 22, 2011 6:07 PM, "Tom MacWright" < reply@reply.github.com> wrote:
Looks like the geohash gem, at least, is deadpool, with a version on GitHub that isn't published as a gem anywhere, and not much movement. I'll just roll with this as-is currently - just setting it up to do a bit of quick development - seeing whether MBTiles export wouldn't be too hard to code up.
Reply to this email directly or view it on GitHub: https://github.com/jywarren/mapknitter/issues/50#issuecomment-2173148
RubyInline had been causing me trouble, ug.
thanks Tom!
also, i think mbtiles won't be hard to add... app/models/map.rb is very messy (code sprint) but it does each export in order and adding another plus some interface code shouldn't be a huge pain.
tell me if you have any more success -- we might just want to pull geohash entirely.
Yeah, looks like the TMS export is powered by gdal2tiles.py behind the scenes? I wonder if raster2mb should've been written as an inline to that instead of as a separate tool. Anyway, I'll hopefully get enough time to test and such, and probably make some much-needed bugfixes in my code. Oh, and officemates were pretty blown away by the hand-affine-transforming stuff.
see #52 for bitnami local version... i had a request from someone in Jakarta for this so i'm escalating it.
What's your rubygems version? OSX ships with 1.8.5, which fails to install GeoRuby; updating to 1.8.11 or downgrading to 1.3.* installs GeoRuby but then fails to run: https://gist.github.com/1297409
It also looks like 'GeoRuby' is about two years out of date and there's a 'nofxx-georuby' that's updated?
Hey Jeff,
Trying to get set up and I'm a little bewildered by the various ruby/rails version mismatches and gem install errors I'm getting. So far I've tried ruby 1.9.1, 1.8.7, rails 2.3.11 and 2.3.12, and various other things, mainly with rvm managing versions.
The usual error is the inability to build geohash - https://gist.github.com/1236004 With ruby 1.8.7 and rubygems 1.8.10, I get an unending string of uninstalled stuff (RDoc, json/add/rails, etc).
Sorry, fallen entirely out of sync with understanding ruby versioning and such!