Displaying 20 results from an estimated 20000 matches similar to: "Newbie question abour Rake"
2014 Jan 16
2
[PATCH] hivex: ruby: Minor fix for building with Ruby 1.8
---
ruby/Rakefile.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruby/Rakefile.in b/ruby/Rakefile.in
index 204e37c..5ad1502 100644
--- a/ruby/Rakefile.in
+++ b/ruby/Rakefile.in
@@ -22,7 +22,7 @@ require 'rake/testtask'
# Used to be rake/rdoctask. Now it's rdoc/task.
begin
require 'rdoc/task'
-rescue
+rescue LoadError
require
2009 Jun 13
2
Rake migration error
Hi,
I am constantly getting an error when I use the rake command to do a
migration or even use drop, this happened after I installed some
plugins such as paperclip and seed-fu.
The error is:
rake aborted!
uninitialized constant PKG_NAME
/var/www/html/quote/Rakefile:10
The Rakefile looks like this:
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example
2007 Jan 11
3
rake db:migrate doesn't work anymore
Hi!
Up to now, i had no problems with my migrations and rake (rake
db:migrate). Today, i got a project from a svn repository, but i can''t
do "rake db:migrate":
"rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in
`load_rakefile''
(See full trace by running task
2007 Jul 16
6
RubyToken::AlreadyDefinedToken and Edge Rails Docs
I''m having a wee bit of trouble building documentation for Edge Rails
(rev 7187). When I attempt to run the doc:rails taask (or any doc:*
task), I get the following error:
-- BEGIN --
rake aborted!
uninitialized constant RubyToken::AlreadyDefinedToken
/Users/jherdman/Projects/crosslisting/vendor/rails/activerecord/
lib/../../activesupport/lib/active_support/dependencies.rb:263:in
2011 Nov 21
2
[PATCH] out of tree build: ruby
---
ruby/Rakefile.in | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/ruby/Rakefile.in b/ruby/Rakefile.in
index da9f3f1..99a195d 100644
--- a/ruby/Rakefile.in
+++ b/ruby/Rakefile.in
@@ -27,7 +27,7 @@ PKG_VERSION='@PACKAGE_VERSION@'
EXT_CONF='@srcdir@/ext/hivex/extconf.rb'
MAKEFILE='@builddir@/ext/hivex/Makefile'
2012 Jul 20
1
problem with dashboard
Hi:
When I start the dashboard server,but all ways failed . Someone
can help me ?
#sudo -u puppet-dashboard ./script/server -e production
Missing these required gems:
rack >= 0
You''re running:
ruby 1.8.7.174 at /usr/bin/ruby1.8
rubygems 1.8.24 at /usr/lib/ruby/gems/1.8, /root/.gem/ruby/1.8
Run `rake gems:install` to
2014 Jan 16
0
Re: [PATCH] hivex: ruby: Minor fix for building with Ruby 1.8
On Thu, Jan 16, 2014 at 09:01:27PM +0100, Hilko Bengen wrote:
> ---
> ruby/Rakefile.in | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/ruby/Rakefile.in b/ruby/Rakefile.in
> index 204e37c..5ad1502 100644
> --- a/ruby/Rakefile.in
> +++ b/ruby/Rakefile.in
> @@ -22,7 +22,7 @@ require 'rake/testtask'
> # Used to be rake/rdoctask.
2008 Nov 05
1
My rake is broken - "no such file to load..."
Hey folks
After doing an update from our svn server, rake is no longer working for
me, though it''s fine for my team-mates. I get this error:
no such file to load -- spec/rake/spectask
/home/max/work/e_learning_resource/trunk/Rakefile:10:in `require''
when i try to do any rake task. The file it mentions looks like this,
with line 10 being the last line:
#Rakefile
# Add
2012 Jun 26
2
Error with rake command
I am using Rails 2.3.8 application and when I enter rake command it
gives following error :
ms@ms-HP:~/OpenStreetView$ rake
WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require
''rdoc/task'' (in RDoc 2.4.2+)'' instead.
at /home/ms/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
rake
2006 Feb 02
4
rails-1.0.0 gem rdoc problem
Just got a brand new install of ruby-1.8.4 and new gems downloaded,
specifically rails-1.0.0. Seems rails does not generated rdoc for gem_server.
Looking into the problem, it seems that there is an error when doing ''rake rdoc''
for rails-1.0.0.
% rake rdoc
(in /opt/local/ruby-1.8.4/lib/ruby/gems/1.8/gems/rails-1.0.0)
rm -r doc
unrecognized option `--line-numbers --inline-source
2006 Feb 23
3
rake error
I installed at least one gem since I thought I actually once was able to
run ''rake appdoc'' command since there is an api for my models and the
ez_where plugin that I installed earlier. I wanted to see the api for
pdf-writer which is the gem that I installed most recently.
(no, I haven''t given up the issue of ''looping'' that Kevin and some
others replied
2006 Feb 15
6
Problem creating appdoc documentation
Hello, can anyone help me.
After a few weeks I returned to the rails to play with it. But I
recognize that I''m now not abble to build appdoc. The same thing that
few weeks ago worked without an problem now give me an error:
unrecognized option `--line-numbers --inline-source''
$ rake --trace --verbose reappdoc
(in /home/radek/src/firma/giga-net/ncc/work)
** Invoke reappdoc
2010 Jun 30
0
rake TestTask problem with t.options
I am trying to understand some rake stuff better ..
I have a test that works fine if I do:
"ruby test/integration/tcp_test.rb -n test_job_create"
but if I try to do it in a rake file like below, it errors out. It
seems the t.options is the problem because I can get it to work
without that:
/usr/bin/ruby -I"lib" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/
2012 Mar 14
3
solution for rake db:create
I ran into the following error:
WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use
''require ''rdoc/tas k'' (in RDoc 2.4.2+)'' instead.
at /usr/lib/ruby/vendor_ruby/rake/rdoctask.rb
rake aborted!
uninitialized constant Gem
----
Following that advice (which I also found by searching the web for the
error
2011 Nov 29
1
[PATCH] out of tree build: ruby (second take)
---
ruby/Rakefile.in | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/ruby/Rakefile.in b/ruby/Rakefile.in
index da9f3f1..2587476 100644
--- a/ruby/Rakefile.in
+++ b/ruby/Rakefile.in
@@ -24,10 +24,10 @@ require 'rake/gempackagetask'
PKG_NAME='@PACKAGE_NAME@'
PKG_VERSION='@PACKAGE_VERSION@'
2006 Aug 05
14
Rake aborted! on No Rakefile Found error
Hello,
On a command:
rake db:migrate
I get the "rake aborted!" error. The message is:
No Rakefile found (looking for: rakefile, Rakefile, rakebile.rb,
Rakefile.rb)
c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in
''load_rakefile''
Checking my setup, I see that Rakefile.rb is in the expected path.
Why can''t rake see Rakefile.rb,
2011 Nov 20
1
[PATCH] out-of-tree build: ruby
---
ruby/Makefile.am | 4 ++--
ruby/Rakefile.in | 18 +++++++++---------
ruby/run-bindtests | 2 +-
3 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/ruby/Makefile.am b/ruby/Makefile.am
index 112512b..032ace2 100644
--- a/ruby/Makefile.am
+++ b/ruby/Makefile.am
@@ -62,7 +62,7 @@ RUBY_SITEARCH := $(shell ruby -rrbconfig -e "puts
2006 Feb 28
5
rake appdoc errors
when running rake rake appdoc (os x 10.4) i get the following error:
unrecognized option `--line-numbers --inline-source''
any ideas?
sebastian
2009 Jan 30
3
Pass a variable from rake to steps file in cucumber
Can anybody tell me how to pass a variable from the rake command to my steps
file using cucumber? I have the following in my Rakefile:
## Rakefile
Cucumber::Rake::Task.new do |t|
profile = ENV[''PROFILE''] || ''default''
browser_type = ENV[''BROWSER''] || ''*chrome''
t.cucumber_opts = "--profile #{profile}"
end
I
2006 Feb 27
1
problem with rakefile
hi,
I am having a problem with the rake test_units in my RoR application.
when i''m running it it tries to run all the files that end in *.rb (i
think) under the /unit folder in the project and it''s subfolders.
The problem is that my source control system (bitkeeper) saves an
subfolder named SCCS under each of the project folders, and in it, for
eack .rb file another file