sourcepole / ruby_mapscript Goto Github PK
View Code? Open in Web Editor NEWRuby Mapscript API extensions
Ruby Mapscript API extensions
On ubuntu and rails, I was able to fix this by adding the below line to boot.rb rather than environment.rb. Mapscript gets required before environment.rb is loaded. Also, add the directory to the path, rather than the file mapscript.so.
$: << '/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.0.0/'
I am trying to implement mapwarper for my server. The service is installed however mapscript doesn't seems to be working. I get the below error.
LoadError (cannot load such file -- mapscript):
app/controllers/maps_controller.rb:692:in `<class:MapsController>'
app/controllers/maps_controller.rb:1:in `<top (required)>'
I have installed ruby_mapscript and also added the below line in mapwarper/lib/enum_fu/Rakefile file. However, I still get the same error.
t.libs << '/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.0.0'
Any help would be greatly appreciated.
Hi there,
thanks for making this gem available.
I am hitting this:
gems/ruby_mapscript-0.3.0/lib/mapscript/mapscript_extensions.rb:3:in `require': cannot load such file -- mapscript (LoadError)
Can't find a find a mapscript.rb file on the system
$ locate mapscript.rb
gems/ruby_mapscript-0.3.0/lib/ruby_mapscript.rb
I am able to get an extension for the debian system libs but I need one for rvm or rbenv. How may I build that? This may be a good project for the Ruby community. I have done some Ruby C extensions before. Where could we get the source code for mapscript to build a mapscript.so?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.