similar to: problem with running rake db:migrate on a Rails app

Displaying 20 results from an estimated 10000 matches similar to: "problem with running rake db:migrate on a Rails app"

2009 Feb 21
3
Help w/ rake db:migrate error
I made a few changes to my migration files, dropped all tables (rake db:drop:all), and when I went to re-create everything (rake db:migrate), I get this: rake db:migrate --trace (in /Users/Eric/Development/Work/Rails/pcod) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! undefined method `random'' for Tidbit(Table doesn''t
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
2012 Oct 11
3
Puppet Dashboard won't install MySQL schema
I have been working on this issue for almost 5 days and can not get past this error. Puppet Dashboard is installed via RPM from puppetlabs. I have tried versions 1.2.12, 1.2.9 and am currently on 1.2.1. Regardless of the version, I get the same exact error every time I run rake RAILS_ENV=production db:migrate. (in /usr/share/puppet-dashboard) rake aborted! no such file to load --
2009 Apr 04
11
rake aborted! undefined method `empty?' for nil:NilClass
Hi, I''m getting the next errors, would anyone have any suggestions? Thanks. [~/rails/hip]# rake --trace db:migrate RAILS_ENV="production" (in /home/domain/rails/hip) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! undefined method `empty?'' for nil:NilClass /usr/lib/ruby/1.8/erb.rb:469:in `scan''
2008 Nov 11
4
Very weird rake message...
When I try and run rake db:migrate, I get this error: rake aborted! uninitialized constant CreateUsers /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/ dependencies.rb:266:in `load_missing_constant'' /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/ dependencies.rb:453:in `const_missing''
2011 Sep 19
27
Installing Rails Help!
Hi, I followed a Tutorial on Nettuts to install Ruby with RVM and this went well. I then tried to install Rails to follow the ''How to build a dropbox live service'' from Netttus but appear to get errors can anybody help?. Once I installed rails I created a new rails project using the command (Rails new sharebox -d mysql) This worked and created the folder structure. I then
2008 Jan 01
5
Compiling wxruby-1.9.2
Hi, I''m trying to compile wxruby-1.9.2. This is my first time using rake. All I get is the following: (in /bld/lib/wxruby-1.9.2) rake aborted! can''t convert nil into String /bld/lib/wxruby-1.9.2/rakefile:48 (See full trace by running task with --trace) And with --trace: (in /bld/lib/wxruby-1.9.2) rake aborted! can''t convert nil into
2010 Feb 27
1
Cannot migrate DB due to "getaddrinfo: Name or service not known"
I am using Rails 2.2.2 and try to do a DB migration, but got the following error. I am using Centos 5.4. Can someone give me a clue? >> rake db:migrate RAILS_ENV="production" rake aborted! getaddrinfo: Name or service not known (See full trace by running task with --trace) [current]$ rake db:migrate RAILS_ENV="production" --trace ** Invoke db:migrate (first_time) **
2011 Nov 28
1
Queue-Tip/Adhearsion installation tip
Hi, I'm giving Queue-Tip a try, following installation instructions in http://queue-tip.rubyforge.org/install.html. My setup is : ruby 1.8.7 rubygems 1.3.7 rails 3.1.3 Adhearsion 1.2.3 I'm struck in step 7 in the above installation procedure : # rake --trace db:create (in /usr/local/src/queue-tip) rake aborted! no such file to load -- initializer
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
2009 Jan 23
7
RubyOnRails with MS SQL - Connectivity Error
Hi all... Please help me solve the issue. While trying to create a connection with MS SQL database in RubyOnRails, I''m getting a ‘Deprecated ..’ error. (I referenced a doc posted in net for the same.) System details: OS: Windows Xp Ruby version: 1.8.6 Rails: 2.1.2 Gems: 1.3.1 RadRails: 0.7.2
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
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
2012 Aug 15
9
Installing puppet-dashboard on ubuntu precise
Hi, I''m trying to install dashboard on precise and I get the below error. I''m using the latest version that is available in the puppet apt repository. The package rdoc is installed (it''s just a virtual package pointing to ruby) Are there some other missing dependencies that the package doesn''t specify? I don''t know ruby that well so finding it hard
2012 Feb 25
1
Seems I'm missing some kind of library?
When I run "rake db:create --trace" in my rails directory, or if I attempt a "bundle install" I get the same error around missing "rubygems/format". I am new, but I am really hoping there is some way that I can discover which package this "rubygems/format" belongs in. I did a locate on "format" | grep gem and I didn''t find any
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
2009 Jan 22
8
From Instantrails to the Mac
Hi, I am a Newbie to Mac and Rails. I have a rails apps made using instantrails in windows, and have been trying to transfer it to a mac. I am using Leopard and installed mac ports and Xcode. I copied the folder from rails_apps and added all the gems. Anything else I need to do? Any Ideas? Thank you! This is the set of errors that I am getting after starting the server: Exiting
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
2012 Aug 17
3
puppet-rspec / puppetlabs_spec_helper
I am using puppet 2.7.14 on Ubuntu 10.04 LTS. I have the following gems: *** LOCAL GEMS *** diff-lcs (1.1.3) hiera (0.3.0) hiera-puppet (0.3.0) metaclass (0.0.1) mocha (0.12.1) puppet-lint (0.1.13) puppetlabs_spec_helper (0.2.0) rake (0.9.2.2) rspec (2.11.0) rspec-core (2.11.1) rspec-expectations (2.11.2) rspec-mocks (2.11.1) rspec-puppet (0.1.3) When I run "rake help" I get the
2009 Jan 20
5
Problem running rake test
I''m using the One-click 1.8.7rc2 Ruby Windows installer, everything has been working fine up till now, when i want to start getting into testing, i got this error, any reason why? C:/Ruby/bin/ruby -Ilib;test "C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/ lib/rake/rake_test_loader.rb" "test/unit/word_test.rb" C:/Ruby/lib/ruby/1.8/erb.rb:469:in `scan'': You have a