just add this to the Gemfile

gem "ruby_mapscript"

and execute "bundle install".

Then, You don't need to require it manually

When the rails application start, it will require it automatically.

2013년 5월 20일 월요일 오후 4시 22분 34초 UTC+9, Arvind Vyas 님의 말:
Hi i have one rails application in which i need to setup the mapserver i
have added the gem https://github.com/sourcepole/ruby_mapscript

but while running the command

require "rubygems"
require "ruby_mapscript"
include Mapscript

it use to tell me
LoadError (cannot load such file -- mapscript):

can anybudy help me on this

Thanks in Advance

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/eea1c12f-72be-4af5-89b7-b8a8ddc13e78%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 7 | next ›
Discussion Overview
grouprubyonrails-talk @
postedMay 20, '13 at 7:22a
activeMay 20, '13 at 8:32a

2 users in discussion

Arvind Vyas: 4 posts 김성식: 3 posts



site design / logo © 2022 Grokbase