jywarren / mapknitter

Use Public Lab's MapKnitter to turn your aerial images into projected maps for print and web
http://mapknitter.org
GNU General Public License v3.0
45 stars 0 forks source link

Geokit version 1.8.4 incompatible for mapknitter. #169

Closed vidhunv1 closed 9 years ago

vidhunv1 commented 10 years ago

For a fresh installation of mapknitter gems:install will fetch Geokit>=0 (1.8.4) which throws error unintialized constant Rails:plugin:Geokit. However downgrading the version to config.gem "geokit", :version => '1.5.0' resolved the issue.

I'm not sure what is causing this but I even tried require 'geokit' in config/environment.rb with no luck.

What version of geokit is the live version of mapknitter running?

Also wouldn't it be better to specify to specify working version for all mapknitter gem dependencies, this way it will be guaranteed to work smooth.

anishshah101 commented 10 years ago

Geokit version 1.1.4 is working smoothly. Use gem install geokit-rails -v 1.1.4 for it's installation. While current versions of some dependencies are working properly some require specific compatible versions. If you can keep a note of the versions of dependencies while installing mapknitter then it would add greatly to the installer guide.

jywarren commented 10 years ago

Actually if one of you submits a pull request with versioned gem dependencies that'd be really helpful. On Apr 19, 2014 8:59 AM, "anishshah101" notifications@github.com wrote:

Geokit version 1.1.4 is working smoothly. Use 'gem install geokit-rails -v 1.1.4' for it's installation. While current versions of some dependencies are working properly some require specific compatible versions. If you can keep a note of the versions of dependencies while installing mapknitter then it would add greatly to the installer guide.

— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/mapknitter/issues/169#issuecomment-40870240 .

jywarren commented 10 years ago

Hi, Anish - can you actually put this into config/environment.rb, so when rake gems:install is run, the correct versions are fetched and installed automatically? Thanks!

jywarren commented 9 years ago

I believe the dependencies are much improved now; closing