Displaying 20 results from an estimated 3000 matches similar to: "Rspec 1.1.2 on Windows"
2008 Jan 11
26
Mongrel doesn''t start under Rails 2.0.2/Win XP
All,
Mongrel 1.1.3
Rails 2.0.2
Ruby 1.8.6
Windows XP SP2
When I issue the command "ruby script/server" from any of my Rails
projects on v. 2.0.2, I get a Windows dialog with the error:
"The application has failed to start because MSVCR80.dll was not found.
Re-installing the application may fix this problem."
I''ve gone through the process of attempting to introduce
2007 Dec 27
3
RSpec on Ruby 1.9: before(:all) (Not Yet Implemented) pending messages instead of tests
On Dec 27, 2007 3:18 PM, Shot (Piotr Szotkowski) <shot at hot.pl> wrote:
> Shot (Piotr Szotkowski):
>
> > I happily hand-compiled Ruby 1.9.0-0 into /home/shot/opt/ruby today
> > and I''m running into a strange error with RSpec ? all my examples work
> > perfectly with Ruby 1.8 but are considered peding on Ruby 1.9.
>
> FWIW, I get the same result with
2008 Oct 10
16
rspec - undefined method `describe'' for main:Object
When i run a spec file i am getting the following error
D:\Diwakar\spec_diwa\spec\controllers>spec sandbox_controller_spec.rb
c:/ruby/lib/ruby/gems/1.8/gems/rspec-0.5.15/lib/spec/api/sugar.rb:17:in
`method_
missing'': undefined method `describe'' for main:Object (NoMethodError)
from ./sandbox_controller_spec.rb:7
from
2007 Dec 31
7
"mongrel_rails --version" reporting 1.1.2 instead of 1.1.3
FYI.
--
- Brian Gupta
http://opensolaris.org/os/project/nycosug/
2008 Aug 12
2
return code question
We are trying to automate the running of our rspec tests for our Rails app
on a build server using Capistrano. The problem is that Capistrano seems to
think that the command called to run the model tests failed when in fact I
believe it succeeded. I believe the problem has to do with the return code
from the command I am running.. The command I am running is:
ruby script/spec spec/models -f
2007 Dec 08
14
Small updates and release plan
Hello Guys,
I''ll like to suggest a small release fix before we start doing big
changes: platform fixes.
Current we''re setting MSWIN32 (mswin32) as platform for Windows gem,
but we should be using Gem::Platform::CURRENT instead (i386-mswin32 as
current Ruby windows implementation).
Also, the jruby/java platform need to be defined. That change will
ease the compatibility path
2007 Dec 11
54
1.9
Hey so,
People are asking about Mongrel Ruby 1.9 compatibility. Isn''t the
point of 1.9 for library developers to have time to get ready for 2.0?
It''s not like 1.9 is a production release.
Evan
--
Evan Weaver
Cloudburst, LLC
2008 Jan 24
3
ERROR RUNNING ''service::install''
Hi,
I''m trying to start a Mongrel (1.1.3) Server, running as a Windows
Service, via
mongrel_rails service::install -N FDS_Server_4001 -p 4001 -e production
But I get the following error message :
ERROR RUNNING ''service::install'': Plugin /service::install does not
exist in category /commands
I never had this problem before (Win XP, Vista), until I tried
installing on
2007 Dec 22
12
error when installing on jruby (fastthread dependency)
I''m running jruby trunk which has integrated rubygems 1.0.0 and when
I try and install mongrel with gem it blows up when the fastthread
dependency tries to do a native compilation.
I couldn''t find a copy of the gemspec in the svn checkout but looking
at the one installed when gem installing mongrel didn''t show any
platform differentiation. There is platform
2010 Mar 24
1
How to stub a has_many relationship in Rails 2.3.5
We have a test that has been working find until we upgraded to rails 2.3.5.
I''m not too familiar with mocks/stubs so maybe there is an easy solution.
Here is a simple example of our scenario.
Class Person < ActiveRecord::Base
has_many :aliases, :dependent => :nullify
before_destroy :mark_aliases_as_deleted
def mark_aliases_as_deleted
self.aliases.each do
2007 Dec 25
30
Review of Code for 1.9
Hello Guys,
I''m reviewing the code for 1.9, and forgot about this when we first
spoke on this subject.
The current way we stop threads is using Thread#raise to spread
StopServer exception, which will not work as expected in 1.9.
1.9 will treat raised exceptions as #kill, like JRuby does, so the
worker threads will not finish serving the client and _then_ exiting,
but will be
2007 Dec 18
3
First Shoot, many more to appear: Rails on Ruby 1.9
Guys,
Subject says everything:
http://www.frederico-araujo.com/2007/12/18/my-first-successful-booting-rails-2-0-2-ruby-1-9-attempt
Even ActionView uses Proc.binding (which isn''t correctly supported in
1.9) it appears that lot of folks will try to put their hands in Ruby
1.9 when it comes out, and of course, try to get Rails with Mongrel
running in it.
Zed, Wayne, Evan and ry: maybe we
2007 Dec 11
14
Attachment-fu + Story Runner
Hi all,
I''m trying to run a Story Runner integration test that uploads a file
through Attachment-fu.
I''ve tried various ways of specifying the file data, from custom mocks:
class MockFile < Struct.new
(:original_filename, :read, :content_type); end
fdata = MockFile.new "test_upload.txt", "Test Upload", "text/plain"
to
2008 Jan 02
20
fastthread no longer needed?
I''m confused. Wasn''t threading fixed in 1.8.6, negating the need for
fastthread? Why is fastthread still a requirement of Mongrel? Just
curious. :)
2007 Dec 12
3
merbful_authentication
Since there are so many efforts at the moment to port restful_authentication
I figured I''d put a repo up so that it can be a collaborative effort.
You can pick up a copy of the repo at
git clone http://snatcht.com/git/merbful_authentication.git
at the moment the app is in a branch. Not in the master.
get the branch by
git checkout -b remote/initial origin/inital_repo
At the moment
2008 Jan 31
1
DRb does not activate using options file
Hello List,
For a small project I''ve been using ''ruby script/spec -X spec'' to
execute my specs.
Now that I added ZenTest on it, found that the test takes longer to
run due the complete load of test environment.
Since autotest uses ''script/spec -O spec/spec.opts'' as the command, I
decided to add --drb to spec.opts
Using --drb or -X, spec_server is
2007 May 24
15
Specs for code stored in rails_app/lib/
Where should the specs go for code in the "lib" directory of a Rails
app?
I made a folder, "spec/lib/", for storing such specs, and RSpec
automatically picks them up when run using "rake spec".
Before I go ahead and patch rspec_on_rails/lib/autotest/
rails_rspec.rb so that autotest can monitor these specs I''d like to
ask whether this is the
2007 Dec 15
6
1.1.2
Hi all,
There is a bug with Mongrel on JRuby 1.0.3 that the JRuby guys want
fixed before they release it.
If it''s ok with people I''d like to fix that, revert (at least for now)
the proxy response change, and tag that as 1.1.2 and release it.
Anything wrong with this plan?
Evan
--
Evan Weaver
Cloudburst, LLC
2007 Nov 27
13
Mongrel install crash on win32
Something suddenly went wrong in my ruby install.
When installing Mongrel on my Windows XP laptop, it incorrectly tries to
build it as a native extension. I don''t even get the selection where I
can choose to install a compiled version.
I would appreciate any help/links or similar, as I frankly don''t
understand what''s going on and why I dont get the usual selection box.
2008 Jan 14
29
Ebb Web Server
Hello Mongrel Users,
I''m writing a web server called Ebb. It''s written in C, makes use of
the Mongrel HTTP parser, and uses libev its event loop. The goal is to
be small, fast, and language independent server that can host web
frameworks. I have written a small Ruby binding which provides a Rack
handler - this will allow Ebb to host Rails, Merb, and other Ruby
frameworks. In the