Displaying 20 results from an estimated 500 matches similar to: "rake errors"
2007 Jun 15
1
Problems with RCov and Rails
Hey list,
I''m trying to use the rcov integration that rspec provides in my Rails
application. As per the documentation on the website, I''ve created
the following rake task:
lib/tasks/specs_with_rcov.rake:
require ''spec/rake/spectask''
desc "Run all specs with rcov"
Spec::Rake::SpecTask.new(''specs_with_rcov'') do |t|
t.rcov = true
2007 Mar 19
3
Assert_select
Hi all
This is my first post here. I ave been using Rails for a couple of
months, and am starting to put together a test suite. But I''m having a
problem with assert_select in my functional tests.
According to the documentation, it should be fine with two arguments -
a CSS selector and a string to test it against. But no matter what I
do I keep getting the exception:
wrong number of
2007 Jan 26
0
Problems with assert_select in integration tests
I''ve been battling with assert_select in my integration tests for
several evenings now. I''m testing a multi-step form, and after
submitting the first step, my assert_selects fail on the attempts to
find the form on the next page. However if I print out the response
object, it has the exact text of what I''m trying to match.
Here is the complete integration test. The
2007 Dec 16
0
Running default rake tasks?
I installed via piston and when in vendor/plugins/backgroundrb, I
attempt to run the default rake task:
(in /home/wallace/new_bdrb-wheels/vendor/plugins/backgroundrb)
rake aborted!
no such file to load -- spec/rake/spectask
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require''
2007 Sep 11
0
ruby script/console hangs on cygwin
>ruby -v script/console
ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-cygwin]
Loading development environment.
What I did was
1) install latest cygwin files
2) download and install rubygems from <http://rubyforge.org/frs/?
group_id=126>
3) gem install rails --include-dependencies
rails test
cd test
ruby script/console
How can I debug this ? It looks like it''s hanging forever.
2007 Dec 08
1
Trouble updating to Rails 2.0
I recently updated my gems and first I got an error with Rails.
Aparently, Rails 2.0 has a dependency on ActiveResource, but the gems
dont install it as a dependency. At least not when upgrading from
1.2.6 to 2.0
Then, when I try to freeze the gems to generate the new documentation,
I get the following error:
gabriel@fenix:~/dummy$ rake rails:freeze:gems --trace
(in /home/gabriel/dummy)
rake
2007 Jan 24
7
Differences between assert_tag and assert_select
Hi all,
I can't seem to make assert_select work for the more complex cases for me.
Here's a sample:
# View
<%= link_to_remote 'Add new', :url => new_phone_url, :submit => 'phones_head' %>
# Generated code:
<a href="#" onclick="new
Ajax.Request('http://test.host/admin/parties/phone/new',
{asynchronous:true, evalScripts:true,
2007 May 15
5
rake db:migrate sucks
I have installed ruby1.8.5-22 under windows,
and then rails 1.2.3
and also i update rubygems to 0.9.3 with gems update --system
however,when i enter the project directory and input the command rake
db:migrate,it sucks with the following errors:
rake aborted!
uninitialized constant ActionController
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:2028:in
`const_missing''
2010 Nov 04
0
Rails routing issue
Within a rails app I''ve got a special url (/profile) that I''m mapping
to the user controller to allow a user to view and edit their profile.
I made the following entries into my route file so that the "get" for
profile will route me to the profile action in the user controller and
the "post" for profile will route to the update_profile action in the
user
2008 Oct 02
1
acts_as_taggable_on environment issues
Like most people, I''ve got two machines: one for development and one
for production. I''ve done everything I can to make sure the ruby/rails
environments are the same, but of course they''re not identical (I''ll
get into that in a moment). The error that I''m getting happens when I
call a method in a background task controller on the production
machine; I
2007 Sep 17
2
mongrel_rails hang and does not respond
Hello,
I''ve install ror/mongrel etc, etc on a linux server (rhes).
As i''m not root, all package startinf from ruby have been install into
~/gconf/usr
ruby-1.8.6
and all of this gem package:
-r-xr--r-- 1 dimnce dba 168448 Aug 9 14:53 rails-1.2.3.gem
-r-xr--r-- 1 dimnce dba 84480 Aug 9 14:56 rake-0.7.3.gem
-r-xr--r-- 1 dimnce dba 217088
2009 May 23
9
undefined method `assert_select'
I''m having trouble getting the specs to run for a plugin where I want to
fix a bug. (I''ve actually already found and fixed the bug, but I don''t
want to submit a fix without a test!) When I started the specs weren''t
running, but it may be that I''m using Rails 2.3.3 and the plugin has
been tested on 2.1 and earlier. I went through writing a spec for a
2007 May 21
9
Ordering in view specs using have_tag and with_tag
When writing view specs is there any way to test not only for the
presence of tags (have_tag) and nested tags (with_tag), but also test
that they appear in a given order?
For example, consider the following:
it ''should display the login names, display names and email
address in alternating rows'' do
response.should have_tag(''div.odd>div'') do
2005 Aug 23
2
rsync problem
Hi,
My rsync is stopped working suddenly I got following in verbose and
log,
mkstemp failed: No such file or directory
and
rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229)
my rsync code :
rsync -az -e ssh --delete $HOSTTOBACKUP:$SOURCE
$DR_BACKUP_DIR/daily.0 >$tempfile 2>&1
the same code was working last week, what will be the problem, how
to proceed to fix?
2007 Jun 15
1
mongrel cluster issues, plain old mongrel OK
I just created a test rails app, and am having very wierd issues with
mongrel cluster. Here''s what I''m doing:
rails test
sudo chown -R mongrel:mongrel test
cd test
sudo mongrel_rails \
cluster::configure -e production \
-p 8000 -N 3 -a 127.0.0.1 --user mongrel \
--group mongrel
It correctly writes the mongrel_cluster.yml file to the config
directory. Now,
2016 Jul 12
0
CEBA-2016:1407 CentOS 6 sssd BugFix Update
CentOS Errata and Bugfix Advisory 2016:1407
Upstream details at : https://rhn.redhat.com/errata/RHBA-2016-1407.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
i386:
ea8bd669e4ddf4b0638663c1e27aa01fbc64be921f6c09f1afd396d830608927 libipa_hbac-1.13.3-22.el6_8.4.i686.rpm
2017 Aug 23
0
CEBA-2017:2505 CentOS 6 sssd BugFix Update
CentOS Errata and Bugfix Advisory 2017:2505
Upstream details at : https://access.redhat.com/errata/RHBA-2017:2505
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
i386:
a13401b5a68e93e194fa862f3502ad7c93976151e61df31543612279904316d4 libipa_hbac-1.13.3-57.el6_9.i686.rpm
2018 Mar 14
0
CEBA-2018:0510 CentOS 6 sssd BugFix Update
CentOS Errata and Bugfix Advisory 2018:0510
Upstream details at : https://access.redhat.com/errata/RHBA-2018:0510
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
i386:
7e2059795a5bc50e3b70cdb457d4daebc5de5384127e15e96b9185b2ca6cbd9c libipa_hbac-1.13.3-58.el6_9.i686.rpm
2019 Jan 16
0
CEBA-2019:0063 CentOS 6 sssd BugFix Update
CentOS Errata and Bugfix Advisory 2019:0063
Upstream details at : https://access.redhat.com/errata/RHBA-2019:0063
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
i386:
b22a1737a4e5697e44b3151c970a3433097410cf34039258b8fcfbfe8d1dc95b libipa_hbac-1.13.3-60.el6_10.2.i686.rpm
2017 Feb 24
0
CEBA-2017:0302 CentOS 6 sssd BugFix Update
CentOS Errata and Bugfix Advisory 2017:0302
Upstream details at : https://rhn.redhat.com/errata/RHBA-2017-0302.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
i386:
62c9102db1c4c156a2d187b9e34bcd225b5fb5a581042aff538fa47b853b9456 libipa_hbac-1.13.3-22.el6_8.6.i686.rpm