Displaying 20 results from an estimated 60000 matches similar to: "rake doc:rails -- fails."
2010 May 25
1
rake rails:freeze:gems bug in rails 2.3.5?
Hi All,
Not sure if this is a bug or expected behavior.
I''ve pasted my log below, but basically the first time that I run
rake rails:freeze:gems, I get action* all unpacked into app/vendor/
rails.....the 2nd time I run it? I only get vendor/railties/*
Something I''ve done wrong?
Thanks,
Dale
---- log -----
~/cygwin/test$ rake rails:freeze:gems
(in C:/Documents and
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 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 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
2010 Apr 11
10
rake db:create uninitialized constant Mysql::Error
I have yet to find a solution for this issue I have tried multiple
things that I have found on google, but yet have i found a solution. If
someone could help me and point me in the right direction I would be
much appreciated.
Thanks.
rake aborted!
uninitialized constant Mysql::Error
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
**
2006 May 23
7
back-porting 1.1.1 app to 1.0 rails server
I''ve been developing new application on local machine in rails 1.1.1.
Hosting provider (godaddy) is at rails 1.0.0 and not upgrading any time
soon I''m told. I set "RAILS_GEM_VERSION = ''1.0.0''" in my environment.rb
file to get past inital errors, but now I''m getting the following error:
2011 Aug 04
4
Problem in migrating a database to Heroku
When trying to migrate a database to `Heroku`, I get the following
(Provided that I''m using `gem ''sqlite3'', ''1.3.3''`:
$ heroku rake db:migrate
(in /app)
rake aborted!
uninitialized constant Rake::DSL
/usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2482:in `const_missing''
2013 Jun 05
3
dashboard/passenger not connecting on port 8140
I have setup passenger w/ apache, but my dashboard is not connecting
properly. I am getting the following errors
em::Specification#installation_path called from
/etc/puppet/puppet-dashboard/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:93.
NOTE: Gem::Specification#installation_path is deprecated, use base_dir. It
will be removed on or after 2011-10-01.
2006 Mar 18
2
problem with webrick and edge rails
i know i do not really have the right to seek help with edge rails,
but i am hoping it is something trivial.
quick scenario:
$ rails test # create a new project
$ svn import # import it into the repo, then go elsewhere, and checkout
$ ruby script/server
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
2013 Feb 02
2
rake db:migrate problem
mini@mini:~/Sites/music_library$ rake db:migrate
rake aborted!
couldn''t parse YAML at line 28 column 6
/home/mini/my_gems/gems/railties-3.2.9/lib/rails/application/configuration.rb:115:in
`database_configuration''
/home/mini/my_gems/gems/activerecord-3.2.9/lib/active_record/railtie.rb:78:in
`block (2 levels) in <class:Railtie>''
2006 Jan 26
5
rake update_javascripts on edge has no effect
I moved to the edge yesterday and ran rake update_javascripts to get the
latest prototype stuff into my public directory. To my surprise, the
old files were still there afterward.
I just took a peek at javascripts.rake in
vendor/rails/railties/lib/tasks. The update_javascripts task is copying
.js files from Dir[RAILTIES_PATH + ''/html/javascripts/*.js''] My
railties
2008 Dec 23
3
rake doc:guides error
I have Rails 2.2.2 installed and get the following message when I try
to generate the rails guides:
Family-iMac:expences Dad$ rake doc:guides
(in /Users/Dad/Documents/Rails/Apps/expences)
rake aborted!
Don''t know how to build task ''doc:guides''
(See full trace by running task with --trace)
Family-iMac:expences Dad$ rake doc:guides --trace
(in
2007 Nov 09
26
RSpec on Rails 2.0
I have a project on edge rails that I''m trying to convert from Test:Unit
to rspec. I have the rspec gem version 2338, the rspec and
rsepc_on_rails version 2831 in vendor/plugins, and rails version 8117 in
vendor/rails.
I''ve been able to get a few specs passing, have gotten the specs running
from autotest, and am able to do "rake spec:doc" and get the basic
command
2011 May 11
2
rack problems
I''m having some issues running rake commands for puppet dashboard.
Here is one of the symptoms (see below). I''m a little new to setting
up rails/rack applications, so I may be making a common mistake. It
looks like gems are already packaged with dashboard, specifically
rack-1.01. Should that gem just work out of the box?
Command:
rake RAILS_ENV=production reports:prune upto=1
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 16
5
Edge Rails, Ruby 1.8.2 and "uninitialized constant ''modelname''" error
I know it might seem like I am repeating myself but I can''t seem to
find the solution to my problem. I am trying to run edge rails using
"rake freeze_edge" and every time I do that my application stops to
work. I get an error on every page. I get a "uninitialized constant
modelname" error where modelname is the object being created for that
view
Has
2012 Nov 19
6
puppet-dashboard - rake API not working
Hello all,
I am quite new to the puppet arena, but I am really impressed with puppet
as a tool and the possibilities it gives you with regards to managing many
systems.
I am running dashboard 1.2.14 and am trying to query via the rake API:
http://docs.puppetlabs.com/dashboard/manual/1.2/rake_api.html
when I do, I get the following error:
<snip>
# sudo -u puppet-dashboard rake -f
2010 Jan 05
6
thin server claims I don't have correct rails gem installed
Hi everyone, I need some insight into a problem I just started having.
I''m running ruby 1.8.6 on an ubuntu box with the following gems
installed:
$ sudo gem list --local
*** LOCAL GEMS ***
actionmailer (2.3.5, 2.3.4, 2.3.2, 2.2.2)
actionpack (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activerecord (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activeresource (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activesupport (2.3.5, 2.3.4,
2007 Jan 21
6
rake db:migrate "undefined method `default'" error
Hi all,
Just starting with Rails and working through the early chapters of the
Pragmatic Programmers Agile Development with Rails book (2nd addition).
When doing a "rake db:migrate" to add a column to a table I get this:
undefined method `default'' for
#<ActiveRecord::ConnectionAdapters::MysqlAdapter:0xb7517ec8>
Any ideas?
thanks,
David
PS: Here''s the full
2009 Jul 07
3
rake db:create:all error
Hi,
I am getting this error when i execute rake db:create:all
/opt/gitorious/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:569:
[BUG] unknown type 0x22 (0xc given)
any clues ?
-Manish
--
Posted via http://www.ruby-forum.com/.