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):
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
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
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
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,
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 arvindvya...@gmail.com
sorry , but it is rails2 application and as i am working since 1 year i
did not see any Gemfile on
Thanks
On Mon, May 20, 2013 at 2:01 PM, 김성식 kssmi...@gmail.com 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 arvindvya...@gmail.com
sorry , but it is
Walter
I already builded an entire site and also an admin panel with RnR, (with
really simple ajax), and i'm doing great stuff with active admin in this
current project, the only problem is the ajax.
As you said, these tools enforce their own logic on top of Rails, and this
is my problem,
On Saturday, 18 May 2013 11:14:35 UTC-4, Denny Mueller wrote:
This is my setup. I have a table user where all user with password and so
on are set. The customer table has some customer related data. The user_id
is the foreign key to relate the customers to the user.
On of the column in
On May 20, 2013, at 8:40 AM, Bruno Sapienza wrote:
Walter
I already builded an entire site and also an admin panel with RnR, (with
really simple ajax), and i'm doing great stuff with active admin in this
current project, the only problem is the ajax.
As you said, these tools enforce
Greg Willits wrote in post #1109539:
Seems to me acts_as_list has a bug -- I have data where the row id is a
random alphaNumeric, not a simple integer. Using acts_as_list with a
scope of a related model id, acts_as_list crashes the app due to a
faulty query in MySQL something like this:
On May 20, 2013, at 8:40 AM, Bruno Sapienza wrote:
Walter
I already builded an entire site and also an admin panel with RnR, (with
really simple ajax), and i'm doing great stuff with active admin in this
current project, the only problem is the ajax.
As you said, these tools enforce
Hello,
I'm working on a rails 3 app for a legacy oracle db.
I have a controller that saves object graphs
(accepts_nested_attributes_for) but I noticed the post-update JSON response
still contains the pre-update values.
After some debugging, it appears the database connection is returning
On Monday, May 20, 2013 2:19:28 PM UTC+1, Ruby-Forum.com User wrote:
Greg Willits wrote in post #1109539:
Seems to me acts_as_list has a bug -- I have data where the row id is a
random alphaNumeric, not a simple integer. Using acts_as_list with a
scope of a related model id,
Hi All,
I am new to Rails. I installed rails 3.2.13. Have Ruby ver. 1.9.2p20.
I created a very simple rails example as follows.
1. Created rails app called chart
2. Generated a controller called - draw that has the following lines
of code. It has a action called load which has no code in it.
Hassan,
My IRC/#rvm session today echoes your advice *to use macports/mysql instead
of rvm*.
As rvm is just a conduit where the install/compile of gems is outside its
jurisdiction regarding correctness.
I suggested in the irc/#rvm session that rvm's website be corrected
regarding their mysql
On Mon, May 20, 2013 at 10:29 AM, dave bone_da...@mac.com wrote:
My IRC/#rvm session today echoes your advice to use macports/mysql instead
of rvm.
As rvm is just a conduit where the install/compile of gems is outside its
jurisdiction regarding correctness.
I suggested in the irc/#rvm
On Monday, May 20, 2013 1:26:20 PM UTC-4, Ruby-Forum.com User wrote:
Hi All,
I am new to Rails. I installed rails 3.2.13. Have Ruby ver. 1.9.2p20.
I created a very simple rails example as follows.
1. Created rails app called chart
2. Generated a controller called - draw that has the
mike wrote in post #1109637:
On Monday, May 20, 2013 1:26:20 PM UTC-4, Ruby-Forum.com User wrote:
def load
You need to configure the route in the config/routes.db file. In this
case,
get 'draw#load'
Hi Mike. Thanks for response. So in this case i would need to do
addition in
On Mon, May 20, 2013 at 12:20 PM, Rochit Sen li...@ruby-forum.com wrote:
So in this case i would need to do
addition in
Routes.rb for each controller/action.? Is there no rule that can be set
In routes.rb?
Recommended reading: http://guides.rubyonrails.org/routing.html
--
Hassan Schroeder
On 20 May 2013 20:44, Hassan Schroeder hassan.schroe...@gmail.com wrote:
On Mon, May 20, 2013 at 12:20 PM, Rochit Sen li...@ruby-forum.com wrote:
So in this case i would need to do
addition in
Routes.rb for each controller/action.? Is there no rule that can be set
In routes.rb?
Recommended
I created a db with rake migrate and added to columns, symbol and
cur_price in a table call Financials. I want to use activererecord from
a script to write the data from the script to the database. Could
someone please provide an example.
Model:
class Financials ActiveRecord::Base
From my understanding, you can pass a block to the link_to helper, but
the following code gives me an error undefined method
`stringify_keys' for #String:0x007fe8a3ba0a48.
= link_to(One time Payment with Paypal or Credit Card,
@order.payment_payment_standard_url(new_order_url(invoice:
On Mon, May 20, 2013 at 3:36 PM, Marcio Pugina li...@ruby-forum.com wrote:
I created a db with rake migrate and added to columns, symbol and
cur_price in a table call Financials. I want to use activererecord from
a script to write the data from the script to the database. Could
someone please
Robert Walker wrote in post #1109609:
For future reference this is one of those times that fighting Rails
conventions makes your life more difficult as a Rails developer.
I've done quite a few apps with non-numeric IDs w/o problems until now.
Apparently I never needed to scope a list (?) or
Hi, I am new in mac and ruby on rails, please bear with me if I asked
stupid questions :
I tried to install, rails in my mac :
bdelmajids-iMac:~ majid$ gem install rails
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/1.8
Rochit Sen wrote in post #1109638:
mike wrote in post #1109637:
On Monday, May 20, 2013 1:26:20 PM UTC-4, Ruby-Forum.com User wrote:
def load
You need to configure the route in the config/routes.db file. In this
case,
get 'draw#load'
Hi Mike. Thanks for response. So in this case i
On Tue, May 21, 2013 at 12:01 AM, Rochit Sen li...@ruby-forum.com wrote:
Rochit Sen wrote in post #1109638:
mike wrote in post #1109637:
On Monday, May 20, 2013 1:26:20 PM UTC-4, Ruby-Forum.com User wrote:
def load
You need to configure the route in the config/routes.db file. In this
On Mon, May 20, 2013 at 10:36 PM, Majid L. li...@ruby-forum.com wrote:
Hi, I am new in mac and ruby on rails, please bear with me if I asked
stupid questions :
I tried to install, rails in my mac :
bdelmajids-iMac:~ majid$ gem install rails
ERROR: While executing gem ...
29 matches
Mail list logo