Displaying 20 results from an estimated 10000 matches similar to: "[PR 11148] Extracting out rake stats into a gem (code_metrics)"
2003 Apr 22
1
Quick query on output
I am attempting to estimate a very complex glmmPQL model. I have
(apparently) gotten working syntax. But, I don't want to wait a long time
only to find I have not made the correct syntax to see the output. So,
what I've written is:
EXCERPT FROM COMMAND FILE:
glmmPQL(plfp ~ -1 + bmrd4 + bmsd4 + wmrd4 + wmsd4 + bfrd4 + bfsd4 +
wfrd4 + wfsd4 + y4yrsed + y4age + y4age2,
2006 Jun 15
1
Extracting Rails Model into a GEM
I presently am refactoring an a Rails App that has not only the
standard RoR web front end, but also agents which share the same model
and run on different machines. In the past the whole rails app was
just deployed on other machines even though only the model was used. I
am trying to improve the situation by extracting the model into a gem
which depends only on ActiveRecord and then requiring the
2006 Aug 02
0
rake stats LOC
Running "rake stats" shows
validates_presence_of :stuff, :more_stuff,
:yet_more_stuff
As two lines of code (LOC). I think it should be one line of code,
since it''s one statement.
An easy way to do that would be to not count the lines with a comma at the end.
Joe
2006 Aug 11
0
Rake stats
Why is it that "rake stats" doesn''t count lines in views?
For example, I just ran
find app/views -name "*rhtml" -exec wc -l {} \;
in a recent Rails app directory, and got a total count that was about
80% as large as the Total LOC result reported by "rake stats". A fair
number of those lines were just as hard to write as anything in my
models or
2005 May 27
3
rake stats
I can''t believe i just found out about this. I''m curious to see what
the stats on other people''s projects look like. Here''s mine (8 hours
dev time):
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
2006 Jan 12
2
Rails 1.0 gem installation - rake version not supported on
gem install rails-1.0.0
the above commands gives an error saying it requires rake 0.6? what
should be done here ?
- Thanks - Nirav
--
Posted via http://www.ruby-forum.com/.
2013 Jun 27
2
[HELP] RoR Fedena App Installation: Rake Gem
I''m really a newbie with RoR.
But I need to deploy this app as soon as possible.
RoR App: Fedena
RoR Ver: 1.8.7
When I type any rake commands I always encounter this problem:
rake aborted!
uninitialized constant ActiveSupport::Dependencies::Mutex
Locally, I did find the solution for this problem by downgrading my Rake
Gem version from 0.9.2 to 0.8.7.. The problem is installing it on
2006 Nov 13
0
[737] trunk/wxruby2/rake/rakepackage.rb: Ensure that lib/wx/classes/ .rb files are included in gem and tarball
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2006 Aug 10
7
Gem and tarball rake tasks
Hi
I created an add-on script (to live in rake/) and a little patch for our
main rakefile to automate building release products.
The two main targets are ''gem'' (create a binary gem for your platform)
and ''package'' (create a platform-neutral source tarball for SWIGging and
compiling).
A few small things came up while doing this:
- Package name and version
2011 Nov 05
2
Where is my gem file located so that i can rake test
Googling around, I found that apparently adding to the gem file will
fix my problems, but where do i find the gem file? what is the name of
the gem file?
"group :test do
# Pretty printed test output
gem ''minitest'' ####### add this line #######
end"
Here is what happens when i run rake test, please note that i have
already installed minitest
2013 Jul 01
0
Rake task like "rake cache_digests:dependencies" for Rails 4?
The cache_digests gem has the "rake cache_digests:dependencies" task for
checking template dependencies.
Since Rails 4 includes this caching scheme by default, should it include a
similar rake task?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send
2012 Aug 16
1
[error] rake db:create
i try run this command
but appear this error someone can help me?
see the error: http://paste.ideaslabs.com/show/IFSSXASQyM
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/XRxX9RXunsYJ.
To post to this group, send email to
2007 Jun 08
0
problem with rake db:sessions:clear and session_table_name
The comments in:
actionpack/lib/action_controller/session/activerecord_store.rb
document this method for changing the session table_name:
# You may configure the table name, primary key, and data column.
# For example, at the end of config/environment.rb:
# CGI::Session::ActiveRecordStore::Session.table_name =
''legacy_session_table''
#
2005 Dec 20
0
Patch lovin'' for #2018? ("rake appdoc fails on Windows systems")
Gurus (Guri? heh),
We got burned today by #2018 ("rake appdoc fails on Windows systems"),
and did a bunch of ferreting around (starting at the problems in
rdoc,rake,rdoc.bat) and ultimately came back to the conclusion that the
cleanest way to fix the problem is just a variation on a suggestion
already posted in that ticket.
I wrote up a patch against trunk from the suggestion there and
2007 Aug 13
1
Oracle support for rake db:reset
I recently submitted ticket #9240 (1) adding Oracle support for the
rake db:reset task. I don''t consider myself an Oracle expert by any
means, and would appreciate if someone familiar with the database can
take a look and verify that I''m going in the right direction.
Thanks.
1. http://dev.rubyonrails.org/ticket/9240
--
Josh Knowles
joshknowles@gmail.com
2010 Apr 07
1
rake aborted! uninitialized constant Encoding ubuntu
I am new in Ruby on Rails, I am working on ubuntu10.04
I get this error when i run rake db:migrate
(in /home/mostafa/Desktop/book_tracker)
rake aborted!
uninitialized constant Encoding
(See full trace by running task with --trace)
Hope Someone can help in such matter
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core"
2006 Nov 24
0
PostgreSQL search_path and db:structure:dump rake task
Hello!
I''ve submitted a patch to work around a problem when multiple schemas
are included in the search_path in database.yml for PostgreSQL
databases. (Long story short: the pg_dump --schema flag only accepts
a single schema.)
http://dev.rubyonrails.org/ticket/6665
While I''ve tested the regex pattern used to check for multiple
schemas, I''m unsure of how to
2007 Sep 04
7
Rake tasks getting in the way of edge (uses gem instead)
So I''d been running gem releases of rspec for the past several months,
and I installed edge rspec so that I can use Story Runner.
I''m running into a problem because I''ve got a couple rake tasks that
reference "spec/rake/raketask". If I try to run "rake spec" then it
pulls in the gem version instead of the plugin version. rake blows up
saying that
2007 Nov 26
2
Rails 1.2.6 gem freeze fails with gem 0.9.5 system
Freezing to the gems for Rails 1.2.6
rake aborted!
uninitialized constant Gem::GemRunner
tracing gives:
no such file to load -- /Users/nathany/Sites/boat/oat/config/../vendor/
rails/railties/lib/initializer
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
...
which seems like it may be trying to load the frozen gems before they
are there?
It
2007 Dec 09
2
rake db:redo & rake migrations:reset - or how to cope with the change of db:reset
As many of you know, rake db:reset changed behavior just before Rails
2.0 got released.
db:reset used to drop the database, re create it and migrate it up.
The core team after integrating this feature, realized that it was not
used as intended and instead db:create now uses the schema.rb file
instead of the migrations.
Check the many discussions we had about this topic, you will quickly
notice