similar to: require problem

Displaying 20 results from an estimated 2000 matches similar to: "require problem"

2008 Jun 19
1
How to run unit tests for Rails
hi, I downloaded rails as well as unit tests from: http://svn.rubyonrails.org/rails/branches/1-2-stable/ bash-2.03$ cd rails-1.2.6/railties/ bash-2.03$ rake regular_test (in /u/liangl/ruby/JRUBY103/unit_test/rails-1.2.6/railties) /u/liangl/ruby/JRUBY103/bin/jruby -w -Ilib:test "/u/liangl/ruby/ JRUBY103/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/ rake_test_loader.rb"
2006 Feb 22
2
self.use_instantiated_fixtures
Can this be controlled on a per TestCase basis, or is it only a global setting? David
2008 Nov 20
1
running tests on gem
Is there a way to run he tests with cjust the gem installed? I wanted to run the tests on the gem and tried: $ jruby -S gem list RedCloth *** LOCAL GEMS *** RedCloth (4.1.1) $ jruby --version jruby 1.1.5 (ruby 1.8.6 patchlevel 114) (2008-11-14 rev 6586) [i386-java] [jruby.git (master)]$ jruby -S gem check -test RedCloth ERROR: While executing gem ... (OptionParser::InvalidOption)
2006 Mar 02
3
plugin versioning
When I install a plugin, does Rails record the version installed anywhere? Maybe I''m not doing it the "right" way, but I''ve excluded vendors from my source repository. I''d like some ''record'' of what plugins are used that is under source control. David
2006 Feb 26
7
LoginEngine problems
I''m trying to get a simple authentication system going for a small rails app. After much research, it looks like LoginEngine should do exactly what I want. Now, the documentation is somewhat confusing to me when looked at in the light of reality. There are some places that say you have to install the "engines" plugin. But, I cannot find such a beast. So, I installed the
2015 Mar 03
2
openssh-SNAP-20150304 issues
Damien Miller wrote: > > On Tue, 3 Mar 2015, The Doctor wrote: > >> regress/unittests/test_helper/test_helper.c: In function `test_data_file': >> regress/unittests/test_helper/test_helper.c:177: warning: implicit declaration of function `strlcpy' >> regress/unittests/test_helper/test_helper.c: At top level: >>
2015 Mar 24
5
[Bug 2371] New: make check fails when using --without-openssl on AIX
https://bugzilla.mindrot.org/show_bug.cgi?id=2371 Bug ID: 2371 Summary: make check fails when using --without-openssl on AIX Product: Portable OpenSSH Version: 6.9p1 Hardware: Other OS: All Status: NEW Severity: normal Priority: P5 Component: Build system Assignee:
2015 Mar 24
5
[Bug 2371] New: make check fails when using --without-openssl on AIX
https://bugzilla.mindrot.org/show_bug.cgi?id=2371 Bug ID: 2371 Summary: make check fails when using --without-openssl on AIX Product: Portable OpenSSH Version: 6.9p1 Hardware: Other OS: All Status: NEW Severity: normal Priority: P5 Component: Build system Assignee:
2015 Mar 03
2
openssh-SNAP-20150304 issues
Script started on Tue Mar 3 07:35:34 2015 doctor.nl2k.ab.ca//usr/source/openssh-SNAP-20150304$ make tests [ -d `pwd`/regress ] || mkdir -p `pwd`/regress [ -d `pwd`/regress/unittests ] || mkdir -p `pwd`/regress/unittests [ -d `pwd`/regress/unittests/test_helper ] || mkdir -p `pwd`/regress/unittests/test_helper [ -d `pwd`/regress/unittests/sshbuf ] || mkdir -p `pwd`/regress/unittests/sshbuf [ -d
2012 Apr 23
0
R-help Digest, Vol 110, Issue 23
Yes, the (start, stop] formalism is the easiest way to deal with time dependent data. Each individual only needs to have sufficient data to describe them, so for if id number 4 is in house 1, their housemate #1 was eaten at time 2, and the were eaten at time 10, the following is sufficient data for that subject: id house time1 time2 status discovered 4 1 0 2
2016 Jun 07
0
[PATCH 2/2] ruby: tests: Give each test class and method a unique name.
'tc_410_close_event.rb' was not being run. You could prove this by simply inserting "exit 1" into that test. The reason is unclear, but by renaming every class and method in the tests to be unique, this ensures the tests are run. --- ruby/t/tc_010_load.rb | 4 ++-- ruby/t/tc_020_create.rb | 4 ++-- ruby/t/tc_030_create_flags.rb | 4 ++--
2009 May 14
6
Generated test files and bad require 'test_helper'
Why do the generated test files have: require ''test_helper'' It cannot obviously find the file because it''s located in a subdirectory. That''s annoying. -- Posted via http://www.ruby-forum.com/.
2006 Sep 26
0
Code coverage of a rails plugin
Guys I''ve been struggling with this one for a couple of hours, and nothing seems to work here, any advice would be duly appreciated... Background: I''m busy working on a plugin called "shared_models", allowing you to easily share models between different applications, running different database or on the same database. The plugin is nearly complete, offering a
2006 Apr 26
1
Bug in validates_associated?
Here is the setup: Windows XP, InstantRails, MySQL 14.7, Ruby 1.8.4, Rails 1.1.2 MODEL: class Office<ActiveRecord::Base has_many :users end class User<ActiveRecord::Base belongs_to :office validates_presence_of :office_id validates_associated :office <....other stuff...> end UNIT_TEST test/unit/user_test.rb def test_associations u = User.new u.office_id =
2016 Jan 19
2
OpenSSH portability & buildsystem fixes
Hi, I recently ported OpenSSH to my hobbyist operating system. The portable release is very straightforward to work with, but it had a few minor issues where it assumes the existence of things that might not be on a POSIX 2008 system. This are the list of issues I encountered that I believe makes sense to upstream. * <sys/param.h> is included in many files and isn't a standard
2006 May 24
0
[tip] Test coverage
I was using rcov[1] on my tests and was pleasantly surprised to see that much of my code was being exercised, but somehow the number of lines of test code did not sync up with what I expected so I went looking for models and controllers that were missing unit and functional tests. Here is a rake task you can dump into your Rakefile or /lib/tasks. You can then run: rake missing_tests and it will
2008 Jan 15
0
Problem with ruby-debug and rspec
So i''ve been getting this same thing with both rspec 1.1.1 and now with 1.1.2. ruby-debug works with i''m in the application code, but not when i''m in the ''spec'', or spec helper methods i''m loading. Basically any command which should normally work like p, or pp, gets passed through to a method_missing. I''m kind of stumped on this
2011 Feb 03
1
boostrap an nls regression
Hello there I have the following model based on the hollings disc equation for the type II functional response for 2 data sets: nls(eaten~(a*suppl)/(1+a*h*suppl) where eaten is the number of prey eaten by a predator and suppl is the number of prey initially supplied to the same predator. I have parameter estimates of 'a' and 'h' for the two populations studied and would like
2012 Apr 20
0
Survival, should I use (start,stop) and how?
Dear R users, I fear this is terribly trivial but I'm struggling to get my head around it. First of all, I'm using the "survival" package in R 2.12.2 on Windows Vista with the RExcel plugin. You probably only need to know that I'm using "survival" for this. I have data collected from 180 or so individuals that were checked 7 times throughout a trial with set
2006 Feb 27
6
MySql 4.0.16 and Migrations
It appears that you cannot use migrations (out of the box) with mysql 4.0.16, because when creating a table, the statement says "ENGINE=InnoDb", instead of "TYPE=InnoDB". Looking at the source code for the adapter, this appears to be hard coded. Is there any supported way to make this work with older versions of MySQL? David