Displaying 20 results from an estimated 700 matches similar to: "Newbie installation problem: gem [command] --remote"
2012 Jun 09
0
custom_require.rb:36:in `require': 193: %1 is not a valid Win32 application
I just installed rails using Rails installer.
and when I ran the following code:
> rails new blog
>
I got the following errors:
F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_re
quire.rb:36:in `require'': 193: %1 is not a valid Win32 application. - F:/dev/r
uby/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/i386-mingw32/digest/md5.so (LoadErro
r)
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 Aug 24
3
How to connect Ruby with MySQL (XAMPP)?
*Dear All:*
I need your help on following points.
1. Can I connect Ruby with MySQL in XAMPP server?
2. Could someone tell me that how to connect MySQL with Ruby? I have XAMPP
server installed and want to connect with ruby.
I am using Ruby1.8.7.
I tried following code:
require ''rubygems''
require ''mysql''
begin
# connect to the MySQL server
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
2012 Mar 20
1
issues with geo-replication
Hi all. I'm looking to see if anyone can tell me this is already
working for them or if they wouldn't mind performing a quick test.
I'm trying to set up a geo-replication instance on 3.2.5 from a local
volume to a remote directory. This is the command I am using:
gluster volume geo-replication myvol ssh://root at remoteip:/data/path start
I am able to perform a geo-replication
2006 Mar 14
5
Apache2 + FastCGI + SSL: File upload fails with HTTPS
All,
I have run into a road block with my RoR project. The app works fine
without SSL but when I try to upload a file with the site running in
HTTPS, cgi.rb throws an EOFError:
[13/Mar/2006:23:05:48 :: 22982] Dispatcher failed to catch: bad content
body (EOFError) /usr/lib/ruby/1.8/cgi.rb:981:in `read_multipart?
2012 Mar 14
1
cannot load shared object /usr/lib/R/library/grDevices/libs//cairo.so
Hi, I am trying to test out the scripts here as a proof of concept
http://www.r-bloggers.com/integrating-php-and-r/
However, I am not able to reproduce the output graph in the browser.
Rscripts is working fine as I run the command
"Rscript /home/username/R/testscript.R 1000" for example, and a png graph
is output as expected, and I can output it to any folder where I have
permission
2013 Nov 05
4
Handling closed clients
We have a service that clients use to upload files. We have a couple of clients that are on slow links and so their upload times out. We get errors in the logs that I''d like to get rid of.
I was hoping that the recent commit 24b9f66dcdda44378b4053645333ce9ce336b413 would help us, but it does not. After digging in a bit, I have some ideas about why and a patch I''d like comments
2006 Aug 24
1
[0.10.0] Random error when big import
In a rails script (something in the "script" dir with the good require)
I added many document (around 4000) to an index globaly instanciate (and
build if not present) in config/environment.rb.
I ran 3 three times my script (I deleted my index every time before),
and only the third was successful. That was STRANGE ! :)
These are the errors :
2007 Jan 02
4
asterisk and mysql
Dear All,
I' I have a problem in installing asterisk 1.4.0. how can i compile
res_config_mysql.c in astersisk-addons dir. I've downloaded
asterisk-addons-1.4.0 compiling and installing it. But i can't found
shared object of res_config_mysql.so.
My system is :
Debian Linux 3.1
Kernel 2.6.8-11
asterisk-1.4.0
zaptel-1.4.0
asterisk-addons-1.4.0
libmysqlclient using apt-get
webserver :
2009 Jul 18
4
rails 2.3.2.not working working with cgi - How to revert
Hi All,
As the problem faced by many other folks that rails 2.3.2 is not working
with cgi, Now I want to revert to rails 2.2.2 on my shared host
(bluehost ) can anybody guide me how to revert to 2.2.2.
I tried the following:
1. I installed the older rails gem "gem install rails --version 2.2.2
--include-dependencies
"
2. I tried to set the PATH env to my rails 2.2.2 version and also
2006 Feb 01
5
Apache 2.2 don''t work with fastcgi
I''m trying to install mod_fastcgi for my rails app.
I use Apache 2.2 and FastCGI 2.4.2 in windows xp.
I have modified the httpd.conf adding LoadModule fastcgi_module
modules/mod_fastcgi.dll (with mod_fastcgi.dll and mod_fastcgi.so in the
modules directory).
Whe i try to start Apache i have this error
----------------------------
apache: Syntax error on line 122 of
2007 Sep 03
1
Problem installing RMagick gem
Hi,
I have problems installing problem installing the RMagick gem.
My environment:
- winXP
- instantrails 1.4
- installed ImageMagick-6.3.0-7-Q8-windows-dll.exe
I have problems installing the gem:
cmd I''m running:
gem install rmagick --local --debug
Error:
Exception `Errno::ENOENT'' at F:/InstantRails/ruby/lib/ruby/site_ruby/
1.8/rubygems/config_file.rb:50 -
No such file or
2007 Apr 26
1
EOFError (End-of-File Error occured Error)
Hi Randomly I get the following error when users search
EOFError (End-of-File Error occured at <except.c>:93 in xraise
Error occured in compound_io.c:137 - cmpdi_read_i
Tried to read past end of file. File length is <303> and tried
to read to <351>
):
what could be the problem?
thanks
--
Posted via http://www.ruby-forum.com/.
2007 Sep 14
1
Unable to scrap gmail.com - EOFError: End of file reached
Hi all,
I am so excited to use mechanize! It has opened a whole new world of
projects for me :)
I am trying to login into the Gmail.com server, as described in
http://schf.uc.org/articles/2007/02/14/scraping-gmail-with-mechanize-and-hpricot
but am running into a few issues...
irb(main):010:0> page = agent.submit form
EOFError: end of file reached
from
2010 Mar 04
1
Newbie problem with installing rails.
Installed Ruby fine, works fine. Windows, 1.8.6
Fire up RubyGems to install rails.
gem install rails
Various success messages to screen.
Open a command line.
rails test
Ton of creates ... OK.
cd test
ruby script/server
Get a message saying I''m trying to run 1.3.2 and I''ve got 1.3.1 and I
should run gem update --system
Go to RubyGems and run ''gem update
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
2006 Jun 28
0
catch EOFError in PaymentsController#finalListSave
Hi,
When sending emails I am gaining a EOFError, I have figured out this was
because rails running on my local machine was unable to connect to the
required mail server.
Is there a way of catching this error and warning the user what has
happened?
thanks
Scott
--
Posted via http://www.ruby-forum.com/.