Displaying 20 results from an estimated 50000 matches similar to: "using rails_upgrade on windows"
2010 Sep 03
6
upgrading to rails 3.
I''ve installed rails_upgrade plugin with ruby script/plugin install
http://github.com/rails/rails_upgrade.git.
Then if I run rake rails:upgrade:check it says
rake aborted!
no such file to load -- initializer
What I''ve missed?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2011 Jun 15
0
rail_upgrade gem fails to recognise environment.rb
The rails 3 upgrade gem is refusing to generate a new application rb for a
project i am trying to get onto rails 3.
Running: rake rails:upgrade:configuration --trace
Results in the following error:
There doesn''t seem to be a real environment.rb in your app. Are you sure
config/environment.rb has the right contents?
2010 Oct 27
4
Anything special needed to migrate test::unit tests from Rails 2x to Rails3?
Looks like I''ve gotten my app upgraded successfully, at least in the
browser. When I ''rake test'' I get no love. I know I can start digging
through the Rails rake tasks, first want to see if anyone has an idea what
is going on:
DKMac:creditcompare3 DK$ rake test
(in /Users/DK/Documents/ror/projects/creditcompare3)
DKMac:creditcompare3 DK$
(requesting verbose fares just
2011 Aug 22
6
Trouble with Ruby on Rails
Some background info: I am an OS X user, and my MAC system is OS X
10.6.8(snow leopard).
@1st problem (regarding Ruby on Rails installation):
I have installed ruby "1.9.2" with RVM. When I typed "ruby -v" command
in terminal after installation, it says that the ruby version I have
is "1.8.7". Strange, isn''t it? So, I have tried "rvm use 1.9.2"
2010 Nov 22
3
Issue using bundler
I run bundle install, or bundle update, and it fails. I''m using RVM, so
if I switch to Ruby 1.9.2, this works fine, but using Ruby 1.8.7 it
fails. Any idea?
jeremy-woertinks-imac:winovations jeremywoertink$ bundle update
Fetching source index for http://rubygems.org/
Using rake (0.8.7)
Using RedCloth (4.2.3)
Using abstract (1.0.0)
Installing activesupport (3.0.1)
2010 Nov 30
2
db migration fails
I''m deploying new rails applications. Everything works well
except when it comes to the db migration:
* executing "cd /var/rails/benefits_test/releases/20101129190121 &&
/opt/ruby-enterprise-1.8.7-2010.02/bin/rake RAILS_ENV=production
db:util:migrate"
servers: ["ps-test-app1"]
[ps-test-app1] executing command
** [out :: ps-test-app1] (in
2010 May 05
2
uninitialized constant when trying to migrate files
Hi,
i am having this problem:
kevinngsw$ rake db:migrate --trace
(in /Users/kevinngsw/Documents/Programming/*******)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
An error has occurred, this and all later migrations canceled:
uninitialized constant CreateUrls
2011 Apr 04
0
issue installing gem Capybara on Debian5 w ruby 1.9.2 ( Rails 3.0.5) => installing native extension
On this server I already installed it in the gemsets for Ruby 1.8.7
and Rails 2.3.11 without any problem ...
but trying (many times .. ) to install in Ruby 1.9.2 (Rails 3.0.5)
raises an error ... It''s not related to the gem itself as the gem
doesn(t build any native extension .. but to one dependency...
I don''t know where to start looking for ...
here is the log message :
2010 Oct 12
5
yml file structure
Hi All,
rake db:create is not working. It is giving an error like
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
syntax error on line 17, col -1: `''
My yml file reads like:
development:
adapter:mysql
encoding:utf8
reconnect:false
database:news_development
pool:5
username:root
password:
host:localhost
There is space at
2011 Jan 19
6
rake aborted! can't convert Hash into String
Hello,
I encouter a problem when i try to do "rake db:migrate":
rake aborted!
can''t convert Hash into String
Here is the trace result:
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
can''t convert Hash into String
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:1408:in
2010 Oct 22
1
Could not find rake-0.8.7 in any of the sources
After upgrading my server to:
Ubuntu server 10.10
Ruby 1.9.2
Rails 3.0.1
Passenger 3.0.0
rake is unable to find itself:
> rake -T
Could not find rake-0.8.7 in any of the sources
Try running `bundle install`.
but `gem list` and ''bundle list'' shows that rake-0.8.7 is installed!
When loading the webapp in the browser:
Could not find rake-0.8.7 in any of the sources
2010 Nov 29
0
rake aborted! getaddrinfo: Name or service not known
I''m deploying new rails applications. Everything works well
except when it comes to the db migration:
* executing "cd /var/rails/benefits_test/releases/20101129190121 &&
/opt/ruby-enterprise-1.8.7-2010.02/bin/rake RAILS_ENV=production
db:util:migrate"
servers: ["ps-test-app1"]
[ps-test-app1] executing command
** [out :: ps-test-app1] (in
2011 Jan 13
5
undefined method `xss_terminate'
I''m trying to run a rails app developed by my firm on my Ubuntu machine.
I''m using RVM with what I think are all the appropriate gems installed.
The application works fine on co-workers OSX machines.
When running db:migrate I get the following error:
$ rake db:migrate --trace
...
rake aborted!
An error has occurred, all later migrations canceled:
undefined method
2012 Jan 05
2
Error while rake actions
rake aborted!
/home/Mahesh/uma/myapp/Rakefile:6: unterminated string meets end of file
/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `load''
/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile''
/usr/local/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile''
/usr/local/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling''
2013 Jun 29
0
rake db:create giving undefined method `' for nil:NilClass
My ruby version is 1.8.7
I have installed mysql-essential-5.0.90-win32
and using Fedena 2.3.5
List of all gems installed:*
columnize (0.3.6)
declarative_authorization (0.5.1)
fattr (2.2.1)
ffi (1.9.0)
gem_plugin (0.2.3)
highline (1.6.19)
i18n (0.4.2)
metaclass (0.0.1)
mime-types (1.23)
mocha (0.14.0)
mongrel (1.1.5)
mysql (2.8.1)
net-ping (1.6.0)
prawn (0.6.3)
prawn-core (0.6.3)
prawn-format
2012 Dec 11
0
upgrade problems and questions
I''m trying to use the rails_upgrade plugin to upgrade a 2.3.4 app to 3.2.9
and running into all kinds of things that "don''t work". I''ll start with a
specific problem. Hopefully you folks can help me discover a "pattern" so
I don''t need to post to this group for every problem.
The "first" problem: Based on the activemerchant
2010 Jan 20
4
Rake Aborted wont Migrate mysql
Hello all, I''ve been trying to get ruby on rails to work with my local
install of mysql(its with wamp). Windows XP, Ruby 1.8.6, rails 2.3.5,
rubygems 1.3.5, mysql 5.2 something I believe.
I have ruby installed in:
C:\Ruby
and my mysql is installed in:
C:\wamp\bin\mysql\mysql5.1.30\bin
I''ve attempted to change my database.yml file to include the port 80,
and port 3036, the
2010 Dec 11
2
Problem using rvm in bash script
I am using rvm installed on Ubuntu 10.04 as recommended in the rvm
docs (including changes to .bashrc) and all is working well with
several versions of Rails, and Ruby 1.8.7 and 1.9.2.
If I run
rvm use 1.9.2
it says
Using /home/colinl/.rvm/gems/ruby-1.9.2-p0
and if I run
rvm info
It shows exactly what I would expect for 1.9.2 and I can start the
rails server and all is well.
The problem arises if
2011 Feb 10
8
rvm install 1.8.7 prompts "There has been an error while running make. Halting the installation."
I want to work with both Rails 2 and Rails 3 projects.
I have RVM installed.
When I upgraded to Rails 3, Installed RVM via terminal:
bash < <( curl http://rvm.beginrescueend.com/releases/ … ll-latest)
version=$(curl http://rvm.beginrescueend.com/releases/ … sion.txt);
mkdir -p ~/.rvm/src/ && cd ~/.rvm/src/ && curl -O
http://rvm.beginrescueend.com/releases/ … on}.tar.gz |
2011 Nov 01
1
rake db:migrate aborted
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:
rake aborted!
undefined method `prerequisites'' for nil:NilClass