Displaying 20 results from an estimated 46 matches for "rubyopt".
2010 Nov 25
1
Can't run tests...illegal switch in RUBYOPT: -F (RuntimeError)
Does anyone have any insight into why this is happening?
C:\Users\Family\workspace\myapp>rake test
(in C:/Users/Family/workspace/myapp)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
Errors running test:units, test:functionals, test:integration!
I''m in Rails 3...
--
You received thi...
2011 May 05
0
jruby PATH and RUBYOPTS integration
Hi,
I download the last jruby version and install the rspec gem using jgem
to install.
After it, I export RUBYOPTS=rubygems to guarantee that the spec can be
found.
Trying to run the spec by normal mode I got:
jonatas at branco:~/jruby-1.6.1$ jruby -S spec
LoadError: no such file to load -- spec/autorun
require at org/jruby/RubyKernel.java:1038
(root) at /usr/bin/spec:2
Trying to execute directly from...
2006 May 03
6
New Release: One-Click Ruby Installer 1.8.4-17 release candidate 2
...ssue, the reality is that only serious problems
will be address before the final release.
The main changes/fixes in this release are:
* Start menu items are now removed on uninstall
* Upgrade VRuby to vruby060223
* Upgrade SWin to vrswin060205
* Upgrade FXRuby to 1.4.6
* Upgraded zlib to 1.2.3.
* RUBYOPT is now properly handled on install and
uninstall when adding the -rubygems option.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060503/ed631c14/attachment.html
2008 Jan 31
4
RSpec-1.1.3
...from Ryan Davis for ZenTest-3.9.0 compatibility
* Applied patch from Kero to add step_upcoming to story listeners. Closes #253.
* Fixed bug where the wrong named error was not always caught by
"should raise_error"
* Applied patch from Luis Lavena: No coloured output on Windows due
missing RUBYOPT. Closes #244.
* Applied patch from Craig Demyanovich to add support for "should_not
render_template" to rspec_on_rails. Closes #241.
* Added --pattern (-p for short) option to control what files get
loaded. Defaults to ''**/*_spec.rb''
* Exit with non-0 exit code if exampl...
2005 Dec 28
6
coverage does not work
Hi,
I''ve installed coverage (gem install coverage) and try to run tests with
-rcoverage option on, but following error occurs:
ruby: No such file to load -- coverage (LoadError)
I try:
ruby -rcoverage mytest.rb
1. I have rubygems in evn var RUBYOPT
2. Gem seems to be installed properly (I can read doc via gems, the files
exist in the ../gem/... dirs)
Does anyone know what is the problem?
Thanks in advance
Szczepan
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
htt...
2006 Aug 20
4
Should we require ''rubygems'' in our samples?
...ion format will
be as a gem. And also that basically every ruby system these days will
(or should) have rubygems installed. Does that sound right?
The upcoming alpha release will consist of:
- source tarball
- binary gems for MSWin, OS X, and Linux
Right?
Kevin
[1] The best place to configure RUBYOPT=-rubygems is /etc/environment
because other locations are only used for interactive shells, or are NOT
used for interactive shells. But /etc/environment is only read at user
login, so after you change it there is no effect until you log out. I
was only able to piece that together by reading several...
2007 Mar 16
5
Bad ActiveSupport gem in gem repository?
All,
I''m attempting to update my gems to 1.2 and I get the following:
Install required dependency activesupport? [Yn] Y
ERROR: While executing gem ... (Gem::InstallError)
invalid gem format for
c:/ruby/lib/ruby/gems/1.8/cache/activesupport-1.4.2.g
em
Anyone else seeing this? Anyone willing to try it to see what''s up?
Thanks,
Wes
--
Posted via
2006 Apr 17
0
pre compiled gnu scientific library for win one-click-installer
...balls. this is a
''feature'' of winzip.
http://www.humboldt.edu/~salab/dem_winzip.html
- cd do the directory you just unpacked and run
ruby install.rb
that''s it.
you should now be able to run something like this from the dos prompt
> set RUBYOPT=
> c:\ruby\bin\ruby -r gsl -e'' p GSL::Rng.new.uniform ''
which print out a random numder. it''s important to unset the RUBYOPT
environment variable as the gsl and rubygems have a naming conflict with the
Rational class that i''ve not yet found a resolut...
2006 Jan 11
3
FastCgi/OCI8 problem
Hi,
I''m having problems running my rails application in the following
setup Unix/Apache/FastCgi/Oracle10g.
I had my app running quite happy until I installed the OCI8 driver.
When I try to load the app I get in the apache logs the famous
"undefined method ''define_a_column'' for class OCI8:Cursor (NameError)"
I think the problem is with the fastcgi set up
2006 Oct 04
3
more linux headaches
After creating and installing a gem I get ''unintialized constant
Wxruby2'' when trying to run wxRuby. Kevin, can you give me some
pointers on getting this thing working?
Roy
2006 Oct 19
1
install problem
I''m having a problem getting wxruby2-preview working on my Linux system.
I loaded wxruby via a gem install and that seemed to go OK. Added
RUBYOPT=-rubygems to /etc/environment file and set it at the command
prompt and still I get the following when I try to run minimal.rb:
[root@www minimal]# ruby -rubygems minimal.rb
Unable to load wxruby. Searched:
/usr/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i486-linux/bin
/usr/lib/ruby/gems/1....
2010 Jul 21
3
no such file to load -- webgen/webgentask
When I execute `rake` inside of a new webgen-0.5.12 project with ruby1.8
there is the error
no such file to load -- webgen/webgentask
/my/dir/Rakefile:11:in `require''
With ruby1.9 it works.
Michael
2007 Dec 13
2
no such file to load — ubygems (LoadError)
...hen trying to launch the
console -
no such file to load ubygems (LoadError)
I''m using 1.2.3 as my base rails install and i also get the same problem
in a project frozen to 1.1.6. I saw a blog post at
http://wharsojo.wordpress.com/2007/05/1
loaderror/
which recommended removing the RUBYOPT variable from my (windows)
environment. On doing this, closing the console, restarting it and
trying again, i instead get this error -
sh: /cygdrive/c/cygwin/bin/irb: /usr/bin/ruby: bad interpreter: No such
file or directory
has anyone else seen this and know how to fix it?
thanks!
max
--
Post...
2010 Dec 11
2
Problem using rvm in bash script
...H:
"/home/colinl/bin/piglet:/home/colinl/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/colinl/.rvm/bin:/home/colinl/.rvm/bin"
GEM_HOME: ""
GEM_PATH: ""
MY_RUBY_HOME: ""
IRBRC: ""
RUBYOPT: ""
gemset: ""
Which is not right at all, it being the same as i get if I enter rvm
info without preceding it with rvm use.
Google has not helped me to a solution. Has anyone experienced this
problem, or can suggest what I am doing wrong?
Colin
--
You receiv...
2007 Mar 05
1
ODBC Adapter woes
Hi All,
I am running into a little issue the ODBC adapter:
rails: 1.2
ruby: 1.8.4
ODBC ruby binding: .0997
Rails ODBC adapter: 1.4
I have added the ruby bindings to the /ruby/1.8/i386-msvcrt
and used gem to install the ODBC adapter
I updated the enviroment.rb
when I run
ruby -e ''require "odbc"'' it appears to correct (no error response)
1. Is my understanding
2006 Mar 20
7
error using feedtools
I performed a gem install feedtools,
I then added these 2 lines to my environment.rb:
require ''rubygems''
require ''feed_tools''
I then added this method in my controller:
def rss
@post = Post.most_recent
feed = FeedTools::Feed.new
feed.title = ''Recent Rambles''
feed.subtitle = ''random thoughts by me''
2006 Apr 08
3
FastCGI issues
...eve that I configured Apache correctly. I have included
EnableSendfile Off
EnableMMAP Off
Win32DisableAcceptEx
FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1
-processSlack 1 \
-initial-env
PATH="c:/ruby/bin;c:/windows/system32;c:/windows;C:/mysql/bin" \
-initial-env RUBYOPT=rubygems
in httpd.conf per this article:
http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache2-on-windows
As soon as I try to access any controller the harddrive starts grinding
and Apache''s error log is spammed with
[Sat Apr 08 07:00:30 2006] [warn] FastCGI: (dynamic) ser...
2008 Jan 21
6
Rspec 1.1.2 on Windows
I am using Rspec 1.1.2 on Windows XP SP2
I am receiving the following error when I run ''rake spec'' from a brand new
project:
C:/SVN_Projects/rspec/vendor/plugins/rspec/lib/spec/runner/options.rb:107:in
`colour='': You must gem install win32console to use colour on Windows
(RuntimeError)
I have the win32console gem installed and the error still occurs. It seems
that the
2006 Aug 13
25
wxruby2 alpha status
Hi all,
How soon can we do our alpha (binary gem) release?
1. I would like to get the samples working a bit better, but am ok
simply documenting most of the current problems. Do the samples crash
every few minutes for other people? Or is it just me? I would like to
have a copyright/license comment at the top of every sample file before
the alpha release.
2. I would like to receive and merge a
2010 Sep 09
4
Unicorn fails to restart gracefully on capistrano deploy
First off thanks very much for all the hard work on unicorn. Alas, we''ve encountered an issue where unicorn fails to spawn new workers that have loaded the incoming revision on a capistrano deploy. I''m not entirely sure the issue is due to unicorn as it appears that bundler was responsible for a similar issue in the past: