Whenever I do script/console I get an error message: Loading development enviroment. c:/ruby/lib/ruby/1.8/irb/init.rb:151: in ''parse_opts'' : undefined method ''upcase'' for nil:NilClass (NoMethodError) from c:/ruby/lib/ruby/1.8/irb/init.rb: in ''setup'' from c:/ruby/lib/ruby/1.8/irb/init.rb:54: in ''start'' from c:/ruby/bin/irb:13 It used to work before I upgraded to Rails 1.1. Everything else (webrick) works. I''ve a feeling that it''s because I''m using Ruby 1.82 Any Ideas? -- Posted via http://www.ruby-forum.com/.
Francois Beausoleil
2006-Mar-30 16:36 UTC
[Rails] script/console not working after Rails 1.1 upgrade
Hello Alex, 2006/3/30, Alex <maccman@gmail.com>:> Loading development enviroment. > c:/ruby/lib/ruby/1.8/irb/init.rb:151: in ''parse_opts'' : undefined method > ''upcase'' for nil:NilClass (NoMethodError) > from c:/ruby/lib/ruby/1.8/irb/init.rb: in ''setup'' > from c:/ruby/lib/ruby/1.8/irb/init.rb:54: in ''start'' > from c:/ruby/bin/irb:13 > > It used to work before I upgraded to Rails 1.1. Everything else > (webrick) works. I''ve a feeling that it''s because I''m using Ruby 1.82Two things: 1. Upgrade to Rails 1.8.4 2. Edit vendor/rails/railties/lib/commands/console.rb and remove the "--prompt-mode simple" option from the last line: Index: vendor/rails/railties/lib/commands/console.rb ==================================================================--- vendor/rails/railties/lib/commands/console.rb (revision 4097) +++ vendor/rails/railties/lib/commands/console.rb (working copy) @@ -22,4 +22,4 @@ else puts "Loading #{ENV[''RAILS_ENV'']} environment." end -exec "#{options[:irb]} #{libs} --prompt-mode simple" +exec "#{options[:irb]} #{libs}" Using 1.8.4 is recommended, although I haven''t gone down that route yet. Hope that helps ! -- Fran?ois Beausoleil http://blog.teksol.info/
Richard Livsey
2006-Mar-30 19:03 UTC
[Rails] script/console not working after Rails 1.1 upgrade
Alex wrote:> Whenever I do script/console I get an error message: > > Loading development enviroment. > c:/ruby/lib/ruby/1.8/irb/init.rb:151: in ''parse_opts'' : undefined method > ''upcase'' for nil:NilClass (NoMethodError) > from c:/ruby/lib/ruby/1.8/irb/init.rb: in ''setup'' > from c:/ruby/lib/ruby/1.8/irb/init.rb:54: in ''start'' > from c:/ruby/bin/irb:13 > > It used to work before I upgraded to Rails 1.1. Everything else > (webrick) works. I''ve a feeling that it''s because I''m using Ruby 1.82 > > Any Ideas? >I had the same problem (http://livsey.org/2006/03/27/scriptconsole-with-edge-rails-on-windows-with-182/) See this ticket and grab the irb.bat attached which should fix the problem. http://dev.rubyonrails.org/ticket/4362 hth -- R.Livsey http://livsey.org
Dave Silvester
2006-Mar-30 21:00 UTC
[Rails] script/console not working after Rails 1.1 upgrade
On Thursday 30 Mar 2006 17:36, Francois Beausoleil wrote:> Two things: > 1. Upgrade to Rails 1.8.4Surely you mean Ruby 1.8.4? ;-) ~Dave -- Dave Silvester Rent-A-Monkey Website Development http://www.rentamonkey.com/ PGP Key: http://www.rentamonkey.com/pgpkey.asc
Richard Livsey
2006-Mar-30 22:43 UTC
[Rails] script/console not working after Rails 1.1 upgrade
Dave Silvester wrote:> On Thursday 30 Mar 2006 17:36, Francois Beausoleil wrote: >> Two things: >> 1. Upgrade to Rails 1.8.4 > > Surely you mean Ruby 1.8.4? ;-) > > ~Dave >Upgrading to Rails 1.8.4 should fix the problem too. May be waiting a while for that one though :op -- R.Livsey http://livsey.org
Francois Beausoleil
2006-Mar-31 01:34 UTC
[Rails] script/console not working after Rails 1.1 upgrade
2006/3/30, Dave Silvester <dave@rentamonkey.com>:> On Thursday 30 Mar 2006 17:36, Francois Beausoleil wrote: > > Two things: > > 1. Upgrade to Rails 1.8.4 > > Surely you mean Ruby 1.8.4? ;-)Uh, yeah. You''re right. Can you see I think in Rails all the time ? Chuckle all you want. I laughed out loud instead :) Bye ! -- Fran?ois Beausoleil http://blog.teksol.info/
Kenneth Lee
2006-Mar-31 04:44 UTC
[Rails] script/console not working after Rails 1.1 upgrade
I''m having problems running rails at all w/ ruby 1.8.4. It compiles clean but it won''t run rails. Anyone else have problems like this? On 3/30/06, Francois Beausoleil <francois.beausoleil@gmail.com> wrote:> 2006/3/30, Dave Silvester <dave@rentamonkey.com>: > > On Thursday 30 Mar 2006 17:36, Francois Beausoleil wrote: > > > Two things: > > > 1. Upgrade to Rails 1.8.4 > > > > Surely you mean Ruby 1.8.4? ;-) > > Uh, yeah. You''re right. Can you see I think in Rails all the time ? > > Chuckle all you want. I laughed out loud instead :) > > Bye ! > -- > Fran?ois Beausoleil > http://blog.teksol.info/ > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >
njmacinnes@gmail.com
2006-Mar-31 07:02 UTC
[Rails] script/console not working after Rails 1.1 upgrade
Have you tried installing rails again after installing ruby? -Nathan On 31/03/06, Kenneth Lee <klee@klmn.net> wrote:> I''m having problems running rails at all w/ ruby 1.8.4. It compiles > clean but it won''t run rails. Anyone else have problems like this? > > On 3/30/06, Francois Beausoleil <francois.beausoleil@gmail.com> wrote: > > 2006/3/30, Dave Silvester <dave@rentamonkey.com>: > > > On Thursday 30 Mar 2006 17:36, Francois Beausoleil wrote: > > > > Two things: > > > > 1. Upgrade to Rails 1.8.4 > > > > > > Surely you mean Ruby 1.8.4? ;-) > > > > Uh, yeah. You''re right. Can you see I think in Rails all the time ? > > > > Chuckle all you want. I laughed out loud instead :) > > > > Bye ! > > -- > > Fran?ois Beausoleil > > http://blog.teksol.info/ > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Hi all, I''m helping lots of developers and architects in The Netherlands find jobs using Ruby on Rails, if anyone is interested in contacting me for work - permanent or contract based, I might be able to help. Regards Brett Brett Dawkins Adnexus Recruitment Services Tel: + 31 20 799 7988 Email: brett.dawkins@adnexus-recruitment.nl -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Richard Livsey Sent: Thursday, March 30, 2006 9:10 PM To: rails@lists.rubyonrails.org Subject: Re: [Rails] script/console not working after Rails 1.1 upgrade Alex wrote:> Whenever I do script/console I get an error message: > > Loading development enviroment. > c:/ruby/lib/ruby/1.8/irb/init.rb:151: in ''parse_opts'' : undefined method > ''upcase'' for nil:NilClass (NoMethodError) > from c:/ruby/lib/ruby/1.8/irb/init.rb: in ''setup'' > from c:/ruby/lib/ruby/1.8/irb/init.rb:54: in ''start'' > from c:/ruby/bin/irb:13 > > It used to work before I upgraded to Rails 1.1. Everything else > (webrick) works. I''ve a feeling that it''s because I''m using Ruby 1.82 > > Any Ideas? >I had the same problem (http://livsey.org/2006/03/27/scriptconsole-with-edge-rails-on-windows-with- 182/) See this ticket and grab the irb.bat attached which should fix the problem. http://dev.rubyonrails.org/ticket/4362 hth -- R.Livsey http://livsey.org _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
Brett, Thanks for the post, I recently checked your site, www.adnexus-recruitment.nl, but didnt see many Ruby jobs. I was wondering as I''m developing with a company in Amsterdam, have 5 years J2EE and about 1 year in Rails, are you still looking for developers? Best regards Paul -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---