On Oct 28, 2013, at 11:44 PM, Will Amette jeff.j.strin...@gmail.com wrote:
Hi there - I'm a ruby newbie and am stuck on the Getting Started with Rails
app. See output below. Problem arose when I ran the rake db:migrate
command. I also tried the 'rake db:migrate RAILS_ENV=development'
I think you need to run the rake db:migrate
2013/10/30 Hassan Schroeder hassan.schroe...@gmail.com
On Mon, Oct 28, 2013 at 9:44 PM, Will Amette jeff.j.strin...@gmail.com
wrote:
Hi there - I'm a ruby newbie and am stuck on the Getting Started with
Rails
app. See output below. Problem
Hi there - I'm a ruby newbie and am stuck on the Getting Started with Rails
app. See output below. Problem arose when I ran the rake db:migrate
command. I also tried the 'rake db:migrate RAILS_ENV=development' command
which may be obvious. Any ideas on how to fix this?
Many thanks!!
On Mon, Oct 28, 2013 at 9:44 PM, Will Amette jeff.j.strin...@gmail.com wrote:
Hi there - I'm a ruby newbie and am stuck on the Getting Started with Rails
app. See output below. Problem arose when I ran the rake db:migrate
command. I also tried the 'rake db:migrate RAILS_ENV=development'
Hello,
I'm trying to use command rake db:migrate, but in MySQL I continuous get
an empty set and I do know why.
#/db/seeds.rb
User.create(username: lorenz, password: mypass, admin: true)
When I run:
rake db:seed RAILS_ENV=development --trace
I received:
** Invoke db:seed (first_time)
**
On 7 May 2013 11:18, Lorenz Blackbird li...@ruby-forum.com wrote:
Hello,
I'm trying to use command rake db:migrate, but in MySQL I continuous get
an empty set and I do know why.
#/db/seeds.rb
User.create(username: lorenz, password: mypass, admin: true)
When I run:
rake db:seed
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
On 2 February 2013 16:03, Haris Hajdarevic li...@ruby-forum.com wrote:
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'
Possibly
Hello All --
I am using jruby 1.6.7.2 with rails 3.2.11 to create a brown bag for
several other developers. I cannot get the migration to work to save my
life...
In my database yaml file I have the following:
---
development:
adapter: jdbc
driver: oracle.jdbc.driver.OracleDriver
url:
I'm reading the rails tutorial book and in chapter 6 page 199 I have
to make a rake db:migrate, but I get this error:
rake aborted! undefined method `prerequisites' for nil:NilClass
(See full trace by running task with --trace)
When I try with rake db:migrate --trace I get the following errors:
I am getting error from rake db:migrate command:
rake db:migrate
(in /Projects/MiniTodo)
rake aborted!
undefined method `cookie_verifier_secret=' for
ActionController::Base:Class
anyone know what's going on here? I had to delete the file in config/
initializer directory in order to run that db
Hi--
I'm trying to do a first migration (2.3.5). I generated a model
Video, but when I try to migrate I get uninitialized constant
Videos. Why is it trying to find a plural class name?
Here's more complete output:
tr...@logisys:models$ rake db:migrate --trace
** Invoke db:migrate (first_time)
On 18 March 2010 19:32, trans transf...@gmail.com wrote:
Hi--
I'm trying to do a first migration (2.3.5). I generated a model
Video, but when I try to migrate I get uninitialized constant
Videos. Why is it trying to find a plural class name?
Here's more complete output:
Hi
I'm setting up Instiki on a webserver (VPS, linux.)
Here's my error:
[instiki-0.17]$ rake db:migrate
(in /home/peter/pehrlich.com/html/instiki-0.17)
rake aborted!
no such file to load -- sqlite3
/home/peter/pehrlich.com/html/instiki-0.17/rakefile.rb:10
(See full trace by running task with
On Fri, Feb 26, 2010 at 4:24 PM, Peter Ehrlich li...@ruby-forum.com wrote:
Hi
I'm setting up Instiki on a webserver (VPS, linux.)
Here's my error:
[instiki-0.17]$ rake db:migrate
RAILS_ENV=production rake db:migrate
production:
adapter: mysql
encoding: utf8
reconnect: false
Working with rails for the first time and I getting a rake error when I try:
rake db:migrate RAILS_ENV=staging
The Error:
(in [my current directory])
rake aborted!
undefined method `symbolize_keys' for nil:NilClass
Has anyone seen this?
--
View this message in context:
i run the command:
rake db:migrate
but i get the error of:
Mysql::Error: query: not connected: SELECT version FROM
schema_migrations
i already checked my database.yml:
development:
adapter: mysql
database: my_data
username: root
password: key123
encoding: utf8
host: localhost
Hi. When after runnig scaffold script server command I run the rake
db:migrate, it displays no such sqlite found. I have already bound
the sqlite with ruby successfully and yet it displays error.. Please
help me.. thanks
--~--~-~--~~~---~--~~
You received this
First, I'm new to 'Ruby on Rails', but have 33 years experience in
programming (mainframe, unix, windows, you name it, I've programed on
it). Also, before I put this together I did read all of the threads out
there which mention the 'rake' error.
I have to say, the responses to these poor
I just upgraded from Rails 2.2.2 to Rails 2.3.2, and found that
running rake db:migrate fails now in production mode, unless I add --
require 'config/environment' between rake and db:migrate. The
error complains that model classes referenced in our migrations are
not defined. In development
I recently upgraded Cucumber gem from 0.1.16 to 0.3.11. I ran ruby
script/generate cucumber.
When I ran rake features I received an error telling me I had pending
migrations and should run rake db:migrate. I ran rake db:migrate
despite fact that my db is up to date. I was confused that the
Ok. I tried rake db:migrate RAILS_ENV=production and rake
db:migrate after using cap deploy and both came up with the same
thing:
zelop...@angel:~/rainspore.com/current$ rake db:migrate
(in /home/zelopast/rainspore.com/releases/20090423074909)
rake aborted!
Howdy,
I'm having some trouble migrating.
From a fresh db, rake db:migrate runs successfully, with no errors.
The tasks in the latest migration are performed with no problem.
However, the latest version # is not saved in the schema_migrations
table. All other version numbers are.
Subsequent
Or at least development and test. How many times did I find myself
banging my head on the table with buggy tests until I figured out that I
had forgotten to migrate the test database.
Why rake db:migrate doesn't by default migrate all environments at the
same time?
--
Posted via
Hi, when I run this it aborts with an access denied message and
usepassword = NO
How do I change this to either not require a password, or allow me to
set the password in the rake command line execution (it's set in the
database.yml file, but rake isn't using it)
--
Posted via
Hi, I'm new to Rails. Does rake db:migrate only process things under
your /db/migrate/ folder? I made some changes in my /app/models/ files
such as defining relationships between classes, but this doesn't seem
to be reflected in my underlying database. So how do I create foreign
keys in Rails
I am wondering in my application for past few days, why the rake
db:migrate is behaving differently for different environments. Any
clue is appreciated
Application name : project
Database name : project_my_own
Environment name : my_own
If I use simply:
rake db:migrate
It works, but say I have
When I run rake db:migrate w/ oracle it hangs on the db:schema:dump
part and I am not sure why.
E:\work\sandbox\codeReviewrake db:migrate --trace
(in E:/work/sandbox/codeReview)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
**
I'm running latest RoR/Ruby/MySQL 5... I can reproduce at will.
Any idea how rake db:migrate could cause Vista to crash?
Pete
REF:
Windows Vista Home Premium (SP1), 2MB RAM, Dell Inspiron 1501
Ruby 1.8.6, Installer 186-26
MySQL 5
MySQL Connector Net 5.2.2
--
Posted via
29 matches
Mail list logo