similar to: rails 2.2.2 does not work with ruby 1.9.1

Displaying 20 results from an estimated 10000 matches similar to: "rails 2.2.2 does not work with ruby 1.9.1"

2010 Mar 18
13
ERROR NoMethodError: private method `gsub!' called
I have just upgraded to Ruby 1.8.7 and Rails 2.2.2. My previous project was at Ruby 1.8.6 and Rails 2.0.2. My platform is Windows and Webrick for development. When I run Webrick, the server starts without error, the application runs, database connections work and I can click through the pages and display data. But it does not serve any stylesheets or javascript files. What''s
2010 Dec 08
1
configuration issue (Uninitialized constant Aftimagr (NameError) )
Hello All I am getting this error, any one resolved this..... it''s urgent ruby script/server --debugger => Booting WEBrick... => Debugger enabled config.gem: Unpacked gem rspec-rails-1.1.11 in vendor/gems has no specification file. Run ''rake gems:refresh_specs'' to fix this. config.gem: Unpacked gem rubyist-aasm-2.0.2 in vendor/gems has no specification file. Run
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
2009 Mar 21
6
script/console: "no such file to load -- application.rb (MissingSourceFile)"
Here''s what I get when I try to use the console with the current facebooker: First I make a simple app: rails foo -d mysql cd foo script/plugin install git://github.com/mmangino/facebooker.git Then I go to config/environment.rb and change the rails version to ''2.2.2'' Then I run the console: script/console and I get: [17:56][herdrick:~/rails/foo]$ script/console
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 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''
2010 Oct 06
6
Error on running unity test: "no such file to load -- 'active_record/version'"
Hi folks! I''ve been experimenting an error messagem when I try to run unity test in any model of my project. Here it is: /home/fabricio/shopcell/config/environment.rb:1:in `require'': no such file to load -- active_record/version (LoadError) from /home/fabricio/shopcell/config/environment.rb:1 from ./test/test_helper.rb:2:in `require'' from ./test/test_helper.rb:2
2009 Feb 10
3
uninitialized constant ActsAsFerret (NameError)
Hi all, I have another problem that I fight with for some time and I could not understand where is the problem. Probably the problem is that I am quite "green" in RR :) I am trying to make the Demo Application that comes with Ferret to work but I guess something with my environment is not OK. I will do apreciate any help. [root at moonlight FerretDemo]# ./script/server => Booting
2009 Sep 12
5
undefined method `^' for "d":String
Hi guys. I''m a freshman on Rails (and Ruby) so I''m sorry if my question is pretty basic, and possible has a vary basic answer. I tried to Google this problem, but a couple of hour after and no solution found, I decided to ask for help here. I have installed ruby 1.9.1p243, Rails 2.3.4, Gem 1.3.5, SQLite version 3.6.18 (I think this is all that it''s needed). I´m reading
2008 Jan 15
9
using postgres rails/rake fails
hello list, yesterday i installed a fresh rails installation with a proper upgrade of gem to version 1.0.1 i saw, there is still a gem package to support postgresql known as postgres-0.7.9.2008.01.09 on rubyforge, its the newest one of stable postgres support for ruby additionally i installed, of course, a the postgres database on my machine to C:\Programme\PostgreSQL\8.2 after setting up a new
2009 Sep 23
6
Dreamhost launch issues. What gems are used in my rails app?
Hi guys, I made a quick app for a family member to be deployed on Dreamhost (low budget). It''s my first time deploying on DH so I''m not familiar with the restrictions. I''m having an issue where I''ve been able to get git on both systems and used capistrano to deploy the app. However migrations fail. I also tried exporting my local staging mysql schema and
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) **
2009 Dec 20
3
Noob Install Failed 0.0.0.0:3000
Happy Holidays, I am new to RoR and have just run through the install, which well seemed to be vaquely documented as some ''Do this'' type of thing on the http://rubyonrails.org/download page. download gem setup.rb gem install rails rails path/to/your/new/application cd path/to/your/new/application ruby script/server and then ( drumroll ) .... Follow the instructions on
2009 Dec 30
4
Error running Mongrel on Ruby 1.9
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body bgcolor="#ffffff" text="#000000"> <div class="moz-text-html" lang="x-western"> <span class="Apple-style-span"
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''
2011 Sep 13
3
Accessing Rails helper method with_output_buffer
Hi all, I cannot figure out how to correctly use the with_output_buffer helper method (located in ActionView::Helpers::CaptureHelper) inside a custom FormBuilder. Below follows a simplified example. I''m trying to achieve the following behavior in an ERB as suggested in the form_for helper docs in the Rails source: ========== <%= form_for @object, :builder => MyFormBuilder do
2010 Aug 18
6
undefined method `eq' for nil:NilClass
I''m walking through an example in the "Head First Rails" book, but, instead doing the examples using Rails3.0.0.rc. But, I''m getting this error when browsing for example: http://localhost:3000/advs/1 undefined method `eq'' for nil:NilClass Provided that my advs_controller.rb is as follows: http://pastie.org/private/cd9zntg2ite57ept288kfa Any ideas why
2011 Jun 12
3
Problem with undefined variable current_user
Hi everyone, I''m working through the tutorial at the following link and attempting to customise/adapt the lessons for my own slightly different application. Link: Ruby on Rails Tutorial: Learn Rails by Example | Ruby on Rails 3 Tutorial book and screencasts | by Michael Hartl <http://ruby.railstutorial.org/ruby-on-rails-tutorial-book> I''m currently trying to work
2006 Feb 26
6
Having trouble getting Edge Rails running
Hello, I''ve been playing with this for hours, and got through a couple glitches (e.g. updating to Ruby 1.8.4) but this one is well beyond my N00b skills. When trying to run script/server I get: ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:87:in `as_load_path'': stack level too deep (SystemStackError) from
2010 Jun 17
2
"LoadError: no such file to load -- openssl", following Rails Guides
[With apologies for cross-posting at http://railsforum.com/viewtopic.php?id=39587] Hi all, I''m following the edge ''getting started'' guide at http://guides.rails.info/getting_started.html, running ROR 3. I''m running Ruby 1.9.2 (as instructed by the guide), installed using RVM. I get an error when following "4.3 Setting the Application Home Page".