similar to: upgrading to rails 3.

Displaying 20 results from an estimated 10000 matches similar to: "upgrading to rails 3."

2006 Aug 05
14
Rake aborted! on No Rakefile Found error
Hello, On a command: rake db:migrate I get the "rake aborted!" error. The message is: No Rakefile found (looking for: rakefile, Rakefile, rakebile.rb, Rakefile.rb) c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in ''load_rakefile'' Checking my setup, I see that Rakefile.rb is in the expected path. Why can''t rake see Rakefile.rb,
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''
2010 Oct 28
2
ActiveRecord JDBC error Generated keys not requested
I''m getting the following error while connecting to mysql using activerecord-jdbcmysql-adapter (1.0.2). Rails 3.0.1. ActiveRecord::JDBCError: Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate() or Connection.prepareStatement().: SET SQL_AUTO_IS_NULL=0 This occurs not matter what application I run it in to e.g. rake, rails
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 --
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 Dec 05
7
ActionMailer dont function with JRuby?
I have application that i send email normal with native ruby. But when i execute the sample application with jruby, it dont send email and dont get error. What can be wrong? -- Atenciosamente, Paulo Coutinho. Blog: www.prsolucoes.com/blog Site: www.prsolucoes.com Msn: paulo-QE/7f1ia5mR0ubjbjo6WXg@public.gmane.org -- You received this message because you are subscribed to the Google Groups
2008 Sep 14
2
rake spec:rcov => [BUG] Segmentation fault ruby 1.8.6 (2007-09-24) [i386-mswin32]
i have a rails app that tests fine with "rake spec" but gets a segmentation fault when "rake spec:rcov" is run. i am on windows xp, ruby 1.8.6, rails 2.1.1, mysql 5 my app is at http://github.com/scottnj/test_blog/tree/master so maybe someone can try to replicate my error so i know if the problem is with my code or something installed on my pc. here is a copy of my shell
2010 Aug 13
5
"uninitialized constant" Error for CalendarHelpper
After installing calendar_helper-0.2.3 gem, application using CalendarHelper works fine. Then I tried to test using rake command which gave me the following error. Why does these messages appear evenif the application owrks fine. ------------------------------ Error Messags -------------------------------------- /usr/local/jruby-1.5.1/bin/jruby -I"lib:test"
2010 Sep 08
14
A version problem
After updating, script/server fails with this stack trace: script/server -u /.../1.8/rubygems.rb:223:in `activate'': undefined method `map'' for nil:NilClass (NoMethodError) from /.../1.8/rubygems/custom_require.rb:35:in `require'' from <project>/vendor/rails/railties/lib/commands/server.rb:1 from /.../1.8/rubygems/custom_require.rb:31:in
2011 Jul 27
9
Migration to rails2 rails3
Good evening everyone, I went to change the Rails version of my project, and saw that many things have stopped working. As the "rake routes", which is giving the following error: rrmartins rodrigo @: ~ / Documents / vota_prato $ rake routes rake aborted! no such file to load - tasks / rails (See full trace by running task with - trace) What do you think you can be? thanks -- *
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
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
2010 Sep 27
3
having some issues with factory_girl and bundler...
Hi All Need some brilliants minds here :) I''m using Rails 2.3.8 & ruby 1.8 (I know, I know... ) I''ve move my gems from .gems to Bundler, but I''m having some issues with Factory_girl when I rake spec "uninitialized constant Factory" I''m following the instructions from http://gembundler.com/rails23.html. Basically: - grab all config.gem and place
2007 May 15
5
rake db:migrate sucks
I have installed ruby1.8.5-22 under windows, and then rails 1.2.3 and also i update rubygems to 0.9.3 with gems update --system however,when i enter the project directory and input the command rake db:migrate,it sucks with the following errors: rake aborted! uninitialized constant ActionController c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:2028:in `const_missing''
2009 Sep 17
1
Load Error Using Mechanize Gem
Hi, I''m getting a "Could not open any of [xml2, xslt, exslt] (LoadError)" error when trying to run a simple Ruby program taken from the EXAMPLES.rdoc file of the Mechanize gem. The error is in this line of the Nokogiri module of libxml.rb: ffi_lib ''xml2'', ''xslt'', ''exslt'' Not sure if there are missing gems, and if so,
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
2008 Dec 01
1
Undefined method "full_description" when trying to run "rake spec"
Hello guys, I''m getting this weird error when trying to run the specs using "rake spec": /home/mauricio/NetBeansProjects/talkies/vendor/rails/actionpack/lib/action_controller/test_process.rb:471:in `method_missing'': undefined method `full_description'' for #<Spec::Rails::Example::ControllerExampleGroup::Subclass_73::Subclass_9:0x7f5fdca4a810>
2012 Feb 27
9
Bit of a issue with creating a new app and running it
HI all, I have just setup the ROR environment on a vps, but once i created the app and run rails s or db:create after modifying the database.yml it keeps on appearing with the "Could not find gem sqlite3" etc message which i know this as it''s not install as i am using mysql. What else have i got to do other than modifying the database.yml as to me it''s still looking
2009 Feb 21
4
problem with running rake db:migrate on a Rails app
Hi everybody, I am trying to get the Typo blog engine up and running in development mode but I hit the wall as early as running rake db:migrate: (in /home/tweisser/workspace/typo/typo) rake aborted! no such file to load -- spec/rake/spectask /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:31:in `gem_original_require''
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