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 Arvind -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2b10546d-ccbd-4b74-9495-c07e71fd38ee%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
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 > > Arvind > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.
yes i have added it in my gem list inside the rvm , i am working with rails 2.3.5 so i dont have any bundle that what i can not do bundle install. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Even if you add the gem to your system gem path, a rails application doesn''t use it. We have to add it to a Gemfile. You can find the Gemfile at the root directory of your rails application. make sure install bundler, before you hit the bundle install. execute this to install bundler gem install bundler 2013/5/20 Arvind Vyas <arvindvyas07-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> yes i have added it in my gem list inside the rvm , i am working with > rails 2.3.5 so i dont have any bundle that what i can not do bundle > install. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Ruby on Rails: Talk" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/rubyonrails-talk/yikR79tv7Fg/unsubscribe?hl=en-US > . > To unsubscribe from this group and all its topics, send an email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
sorry , but it is rails2 application and as i am working since 1 year i did not see any Gemfile on this , my all other gem are working fine but getting problem with this gem only , i do not know weather it has any relation with mapserver or not , because i do not have a mapserver Thanks On Mon, May 20, 2013 at 1:19 PM, 김성식 <kssminus@gmail.com> wrote:> Even if you add the gem to your system gem path, a rails application > doesn''t use it. > We have to add it to a Gemfile. You can find the Gemfile at the root > directory of your rails application. > > make sure install bundler, before you hit the bundle install. > execute this to install bundler > > gem install bundler > > > > 2013/5/20 Arvind Vyas <arvindvyas07-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > >> yes i have added it in my gem list inside the rvm , i am working with >> rails 2.3.5 so i dont have any bundle that what i can not do bundle >> install. >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Ruby on Rails: Talk" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/rubyonrails-talk/yikR79tv7Fg/unsubscribe?hl=en-US >> . >> To unsubscribe from this group and all its topics, send an email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Sorry, Rails2 must be somthing different from 3 or 4. I looked into the ruby_mapscript gem. I ran the test.. then failed. The gem might be broken. 2013/5/20 Arvind Vyas <arvindvyas07-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> sorry , but it is rails2 application and as i am working since 1 year i > did not see any Gemfile on this , my all other gem are working fine but > getting problem with this gem only , i do not know weather it has any > relation with mapserver or not , because i do not have a mapserver > > Thanks > > > On Mon, May 20, 2013 at 1:19 PM, 김성식 <kssminus@gmail.com> wrote: > >> Even if you add the gem to your system gem path, a rails application >> doesn''t use it. >> We have to add it to a Gemfile. You can find the Gemfile at the root >> directory of your rails application. >> >> make sure install bundler, before you hit the bundle install. >> execute this to install bundler >> >> gem install bundler >> >> >> >> 2013/5/20 Arvind Vyas <arvindvyas07-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >> >>> yes i have added it in my gem list inside the rvm , i am working >>> with rails 2.3.5 so i dont have any bundle that what i can not do >>> bundle install. >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "Ruby on Rails: Talk" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/rubyonrails-talk/yikR79tv7Fg/unsubscribe?hl=en-US >>> . >>> To unsubscribe from this group and all its topics, send an email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> >>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> -- >> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Ruby on Rails: Talk" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/rubyonrails-talk/yikR79tv7Fg/unsubscribe?hl=en-US > . > To unsubscribe from this group and all its topics, send an email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Thanks On Mon, May 20, 2013 at 2:01 PM, 김성식 <kssminus-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Sorry, Rails2 must be somthing different from 3 or 4. > > I looked into the ruby_mapscript gem. > > I ran the test.. then failed. The gem might be broken. > > > 2013/5/20 Arvind Vyas <arvindvyas07-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > >> sorry , but it is rails2 application and as i am working since 1 year i >> did not see any Gemfile on this , my all other gem are working fine but >> getting problem with this gem only , i do not know weather it has any >> relation with mapserver or not , because i do not have a mapserver >> >> Thanks >> >> >> On Mon, May 20, 2013 at 1:19 PM, 김성식 <kssminus-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >>> Even if you add the gem to your system gem path, a rails application >>> doesn''t use it. >>> We have to add it to a Gemfile. You can find the Gemfile at the root >>> directory of your rails application. >>> >>> make sure install bundler, before you hit the bundle install. >>> execute this to install bundler >>> >>> gem install bundler >>> >>> >>> >>> 2013/5/20 Arvind Vyas <arvindvyas07-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >>> >>>> yes i have added it in my gem list inside the rvm , i am working >>>> with rails 2.3.5 so i dont have any bundle that what i can not do >>>> bundle install. >>>> >>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "Ruby on Rails: Talk" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/rubyonrails-talk/yikR79tv7Fg/unsubscribe?hl=en-US >>>> . >>>> To unsubscribe from this group and all its topics, send an email to >>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> >>>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>>> >>>> >>> >>> -- >>> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> >>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Ruby on Rails: Talk" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/rubyonrails-talk/yikR79tv7Fg/unsubscribe?hl=en-US >> . >> To unsubscribe from this group and all its topics, send an email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Seemingly Similar Threads
- mapserver experience?
- IvyGIS --- Rails Engine for custom maps.
- how to add gdal with rails application , now working with gdal 1.8 in ubuntu 10.10
- Re: [Rails-core] Re: (Unable to start rails application) ruby scipt/server error
- How does bundler know whether Gemfile has changed?