similar to: rake db:migrate aborted

Displaying 20 results from an estimated 6000 matches similar to: "rake db:migrate aborted"

2011 Dec 07
1
Errors when running the local server
Hi all, I''m running an application on my localhost, but the command "rails server" behaves very inconsistently. About an hour ago it ran well on another app, but got errors now. According to the errors it seemed that the server began to run but the there is something missing in the library. But I''m very new to Rails so cannot figure out what do these lines mean:
2012 Jan 26
2
Problem while creating new resource on ActiveAdmin
HI All, I have installed the Active Admin successfully, but facing the following error while restarting the server after generating an resource. *rails generate active_admin:resource item* /home/logs/Desktop/training/RAILS/courier/app/admin/items.rb:1:in `<top (required)>'': uninitialized constant Item (NameError) from
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
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
2011 Oct 16
4
Ruby on rails with twitter integration
after i searched, i got so many links related with the twitter integration , Then i do that with one following link http://cbpowell.wordpress.com/2011/03/17/twitter-oauth-and-ruby-on-rails-integrated-cookbook-style-in-the-console-updated-for-twitter-1-0/ after some steps with the rails console, *Then i got some errors after i gave the steps to send the tweet from the application * * client
2012 Aug 14
1
NoMethodError: undefined method `accept' for nil:NilClass
Here''s the trace, NoMethodError: undefined method `accept'' for nil:NilClass from /Users/blaine/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in `to_sql'' from
2011 Oct 30
2
Could not find rails (>= 0) amongst [bundler-1.0.21]
Hello, I''m new to Ruby and unix/linux development (although been building .net apps for years). I''ve almost completed my trek to install Rails ... looks like I have one final hurdle. After installing rails I try the ''rails -v'' command and it fails. Any help here would be deeply appreciated. Here''s the output from my bash session: bash-3.2$ ruby
2011 Sep 09
0
[BUG] require on Windows fails
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, A friend of mine tried using RedCloth on Windows as part of a project I introduced hin to, but RedCloth failed to require. This is what he got: ====================================================================== c:\Ruby192\msysgit\msysgit\OpenRubyRMK\karfunkel>bundle exec rake - --trace rdoc rake aborted! no such file to load --
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''
2011 Feb 05
1
ActionMailer::Base.default_url_options
Hi, I want so set a default url for ActionMailer. I know, ActionMailer::Base.default_url_options is deprecated, so I use config.action_mailer.default_url_options = { :host => "localhost" } in my environments (test.rb, production.rb, ...). The problem is, I get a deprecation error and rails won''t start. I have no solution... Any hints for me? Testing started at
2010 Jul 10
0
`method_missing': undefined method `i18n' for #<Rails::Railtie::Configuration:0x000001010fce98>
I have recently upgraqded to Ruby 1.9.2-rc1 and reinstalled rails 3 beta 4 with all the dependencies. I have run bundle install in my rails project. Now I am trying to run some tests... My test_helper.rb file looks like this: # test_helper.rb require ''rubygems'' require ''test/unit'' require ''rails/all'' $ gem list i18n (0.4.1, 0.3.7)
2011 Oct 12
1
`require': no such file to load -- rspec/rails (LoadError)
Getting strange loading problem.. >> bundle exec rspec -p spec/models/* give error: .. .rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/ dependencies.rb:240:in `require'': no such file to load -- rspec/rails (LoadError) from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/ lib/active_support/dependencies.rb:240:in `block in require'' from
2011 Jul 18
1
rails server being aborted due to mysql lib file not available
Hi, My system has the following : MacOs Leopard Rails 3 Ruby 1.9 Mysql 5.1.58 mysql2 ruby gems My problem is that when i give "rails server", the task aborts with the foll error rails server/Users/nisha/.rvm/gems/ruby-1.9.2-p180@rails3/gems/ railties-3.0.5/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
2011 May 02
0
Change from 3.0.6 => Rails 3.0.7 "no such file to load -- action_mailer/railtie"
In my application.rb, I have this: #require "rails/all" require "action_controller/railtie" require "action_mailer/railtie" require "active_resource/railtie" require "active_model/railtie" (I didn''t want ActiveRecord) This worked fine up to 3.0.6, but now fails with: /Users/jeffdeville/Documents/code/ruby/wg/config/application.rb:6:in
2011 Oct 14
3
RSpec 2 not working on Rails 3.1.1
Hey, I updated some Gems and now rspec seems to be broken. The weird thing is it fails because of Test::Unit which doesnt make much sense to me. /Users/username/.rvm/gems/ruby-1.9.2-p290@ror_project/gems/rack-1.3.4/lib/rack/backports/uri/common_192.rb:53: warning: already initialized constant WFKV_ /Users/username/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/test/unit/testcase.rb:9:in
2011 Oct 04
4
Problem: Puppet under Passenger.
Having issues getting Puppet running under Passenger. From httpd error_log: [ pid=24647 thr=268010020 file=utils.rb:176 time=2011-10-04 11:45:10.892 ]: *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (no such file to load -- puppet/application/master) (process 24647, thread #<Thread: 0x0000001ff30448>): from
2011 Nov 27
0
/usr/bin/ld: cannot find -lmysqlclient_r installing ruby gem mysql2.... in Fedora Linux + MySQL 5.5.15...
[dinooz@fedora rails]$ uname -a Linux fedora 2.6.35.10-74.fc14.i686 #1 SMP Thu Dec 23 16:17:40 UTC 2010 i686 i686 i386 GNU/Linux [dinooz@fedora rails]$ [dinooz@fedora rails]$ rpm -qa |grep MySQL MySQL-client-5.5.15-1.linux2.6.i386 MySQL-test-5.5.15-1.linux2.6.i386 MySQL-server-5.5.15-1.linux2.6.i386 MySQL-shared-compat-5.5.15-1.linux2.6.i386 MySQL-devel-5.5.15-1.linux2.6.i386 [dinooz@fedora
2012 Jan 20
3
Istalling Ruby 1.9.2
I just installed 1.9.2 on my 2nd machine, but after I installed I checked the version with ruby -v and it sent me 1.8.7 Here''s the terminal output...anyone know what''s wrong (I have RVM installed): Francescas-MacBook-Air:~ fkrihely$ rvm install 1.9.2 Fetching yaml-0.1.4.tar.gz to /Users/fkrihely/.rvm/archives Extracting yaml-0.1.4.tar.gz to /Users/fkrihely/.rvm/src Configuring
2012 Jan 15
1
NoMethodError: undefined method `expect'
Ideas? ruby-1.9.2-p290 :002 > require ''rspec'' => true ruby-1.9.2-p290 :003 > RSpec::Version::STRING => "2.8.0" ruby-1.9.2-p290 :004 > describe ''division by zero'' do ruby-1.9.2-p290 :005 > expect { 2/0 }.to raise_error ruby-1.9.2-p290 :006?> end NoMethodError: undefined method `expect'' for
2013 Aug 29
4
linkedin gem
Hi, I am following this post * http://www.sitepoint.com/ruby-social-gems-linkedin/* for using linked gem and API for getting profile and other stuff But at the end I am getting this error: => Booting WEBrick => Rails 3.2.13 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting