similar to: How to connect Ruby with MySQL (XAMPP)?

Displaying 20 results from an estimated 1000 matches similar to: "How to connect Ruby with MySQL (XAMPP)?"

2011 Aug 01
3
How to call the Ruby Script using HTML?
Hi, I am new to Ruby. I want to use Ruby in browser and integrate it with HTML. Could somebody help me to do so? Please suggest me how to achieve this? I want to use my code in call my Ruby script with the help of HTML code. Is it possible? FYI: I am not using RAILS. I am using Ruby and Watir to automate the my web applications. -- Thanks and Regards, Amit -- You received this message
2011 Sep 10
2
hosting ror app using xampp on windows OS
HI ALL, it''s so frustuating to me from so many days--hosting ror app in apache on win os. i installed xampp and running ror apps using webrick server . but when comes to hosting that app into apache i can''t make it.i gone through the so many sites can anyone give me an assistance to solve this problem. thanks in advance regards, Manik. -- You received this message because you
2006 Apr 03
2
no marshal_dump is defined for class Proc
Hello ~ This problem has me puzzled. When users login to my rails app I have the session set up to be stored in the MySQL database for the app. Intermittently, users will get the following error: no marshal_dump is defined for class Proc D:/apps/xampp/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/session/active_record_store.rb:81:in `dump''
2009 Feb 04
0
gem install mysql error with Xampp
Hello, I''m trying to install mysql (to use it with Rails 2.2), without any success. After browsing the web, I found some tips (I need to target the xampp files), but it''s still not working finally. My command line is the following : sudo gem install mysql -- --with-mysql-dir=/Applications/xampp/xamppfiles/ --with-mysql-config=/Applications/xampp/xamppfiles/bin/mysql_config
2007 Dec 13
0
RMySQL with Xampp could never work?
Hello everybody, i had a big issue with RMySQL, working on an installation of R on multiple nodes via net file-system. The point is that we installed Xampp as suite for mysql, perl, apache and php on every node, and we need to use R scripts with mysql. Xampp doesn't compile anything, it gives you pre-compiled binaries all linked together, you just extract from a tarball. At my first try,
2011 Jan 23
0
Adding Ruby, Ruby-on-Rails to XAMPP
I recently finished some how-to''s for getting Ruby, Ruby-On-Rails, RVM, Rack and Passenger integrated into the XAMPP environment. For those that have an interest in a portable LAMP stack w/integrated Ruby you can read about them here: How-To: Add Ruby-on-Rails to XAMPP http://www.apachefriends.org/f/viewtopic.php?f=17&t=43516 How-To: Add Ruby RVM, Rack and Passenger(mod_rails) to
2008 Nov 26
3
MS-SQL Connection Problem
Hi, i?m trying to access a MSSQL server (in a windows machine in the network) from a Visual Basic Application running under wine, using an ODBC driver. Since there aren?t any MSSQL drivers for linux i decided to use de native ones, so i installed mdac_typ.exe . Then i configured the DSN using odbcad32.exe but when i tested the connection (configured using tcp/ip) an error message appeared
2004 Dec 10
1
subset bug?
I ran into a problem with "subset" while working at home that I am not sure is a bug or not. I defined a custom function to take a data frame of tree positions, sizes, and types (containing the columns TRT, COMP, PLOT, X, Y, DBH and CON) and wanted to make a stem map of the plot using different symbols and colors to represent the different types of tree stems. I copied a bit of the
2006 Apr 11
1
Foxpro with MYSQL
G'day If I have VFP9 working, a Mysql DSN which I can contact via isql and using unixODBC for this. Do I need to do anything else to wine ie; install MySQL drivers (Windows version) to get connectivity? I just finished checking out Paul McNett's pages, however the MYSQL drivers he used for VFP8 are "no longer supported" when I do "wine setup.exe". I have a saved
2011 Jul 22
1
3d plotting with cloud and wireframe
Hi, I'm trying to plot an equation in two variables to get a feel for sensitivity to its parameters. I've run expand.grid to get made-up vectors of the combinations of the two independent variables, and am trying to plot the output of the dependent, M, against both the dependent in a 3d space. t <- 0:100 DBH <- 10:100 TxDBH<-expand.grid(t,DBH) time<-TxDBH[,1]
2013 Apr 06
1
Plotting a curve for a Holling Type III Functional Response
Hey, So I have a scatter plot and I am trying to plot a curve to fit the data based on a Holling Type III functional response. My function is this: nll2<-function(a,b) { conefun<-(a*DBH^2)/(b^2+DBH^2) nlls2<-dnbinom(x=cones ,size=DBH, mu=conefun,log=TRUE) -sum(nlls) } and my plot is this: plot (DBH,cones) DBH is on the x-axis and cones is on the y-axis. How do I get the curve
2007 Dec 12
1
How to plot the grid figure using R?
Now I have the forest plot data with x, y locations, and I measured the DBH for every indivicuals. The data looks like that: x=runif(100,0,100) y=runif(100,0,100) dbh=runif(100,1,100) rdata=data.frame(x,y,dbh) > rdata[1:5,] x y dbh 1 99.5354145 1.412844 34.10112 2 0.8259361 87.737036 39.12914 3 6.5678613 65.699032 22.55990 4 67.2987881 72.053877 45.83978 5 2.2491372
2003 Nov 16
2
prevent conversion to factors in aggregate?
I've been trying to figure out how to prevent a column that is the result of an aggregate function call so that I can use it in further calculations. For example, I would like to aggregate the expf for the data.frame by sp (character) and dbh (double d=rounded to integer) using the command: > st2 <- aggregate( ntrs$expf, by=list(sp=ntrs$sp,dbh=ntrs$dbh), sum ) > st2$expf <- st2$x
2008 Aug 29
1
nls() fails on a simple exponential fit, when lm() gets it right?
Dear R-help, Here's a simple example of nonlinear curve fitting where nls seems to get the answer wrong on a very simple exponential fit (my R version 2.7.2). Look at this code below for a very basic curve fit using nls to fit to (a) a logarithmic and (b) an exponential curve. I did the fits using self-start functions and I compared the results with a more simple fit using a straight lm()
2010 Dec 22
2
Please help with installing mysql gem to linux machine w/ xampp
Hello all, I know this is not an uncommon question, but none of the tutorials/tips solve my problem. I''ve got a linux machine running Ubuntu 10.4 with ruby, gem, rails, and xampp installed. Now when I try to install the mysql gem (via: $sudo gem install mysql -with-mysql-config=/opt/lampp/bin/mysql_config), I get: Building native extensions. This could take a while... ERROR: Error
2012 Oct 03
1
Difficulties in trying to do a mixed effects model using the lmer function
Dear people of the help list I am drying to analyze my data using the 'lmer' function and I keep having problems. This is the model: > fm1<-lmer(dbh~spec+scheme+(1|Plot),data=d, REML=FALSE). I analyse tree size (dbh) of 3 different species (spec) and 3 planting schemes (scheme). I have 5 plots, which I hope to model as a random factor. (However, the subsequent output is based on
2011 Jun 23
3
help- subtitles for multiple charts
Hello, I have a problem with my script. I don'y know how to apply subtitles. I have 9 charts per page (for combination of 3 blocks and 3 treatments). I want to have subtitles for this interaction (e.g. Block A Trt 1, Block A Trt 2, ...) MBE$bt<- interaction(MBE$Block,MBE$trt) par(mfrow=c(3,3)) for(i in unique(MBE$bt)){ ss <- MBE$bt==i plot(MBE$Year[ss], MBE$DBH[ss])
2007 Jul 31
2
choosing between Poisson regression models: no interactions vs. interactions
R gurus, I'm working on data analysis for a small project. My response variable is total vines per tree (median = 0, mean = 1.65, min = 0, max = 24). My predictors are two categorical variables (four sites and four species) and one continuous (tree diameter at breast height (DBH)). The main question I'm attempting to answer is whether or not the species identity of a tree has
2011 Aug 16
2
Filtering a table
Hello, I have a big table with 3 columns and 103918 rows. This is the example,            time             species                 dbh 5 1 4.9377297 575 1 11.64127213 575 1 109.8182438 575 1 8.029809521 5 1 24.32501874 575 1 4.895992119 575 1 11.40567637 575 1 2.795090562 575 1 21.79281837 575 1 52.57476174 575 1 27.7290919 575 1 3.23262083 575 2 19.30612651 575 1
2006 Feb 08
1
Possible AGI Bug in Asterisk?
Dear All, I seem to have stumbled across an AGI problem; I have written an AGI Script (bottom of this email); The script does the following; Makes a CDR entry when called Records the call Updates the CDR Finds a corresponding DNIS from the SMDR table (captured via a serial port logger) Matches up the record and updates the CDR. The script works perfectly in my test lab and has been doing so