hi
i had ruby 1.8.7 in my system. (Ubuntu 9.04)
so in console when i type:
which ruby
=> /usr/bin/ruby
ruby -v
=>ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
now i have installed ruby 1.9 side by side to the previous one and
something goes wrong during that. now in console:
which ruby
=>/usr/local/bin/ruby
ruby -v
=>ruby 1.9.0 (2007-12-25 revision 14709) [i686-linux]
ruby1.8 -v
=>ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
ruby1.9 -v
=>ruby 1.9.0 (2008-06-20 revision 17482) [i486-linux]
problem is that now i'm not able to start web server i.e.
when i pass command 'ruby script/server' to start Webrick (inside my
rails application), the following error comes:
/home/abhi/Rails_Projects/Blog/vendor/rails/activesupport/lib/active_support/vendor.rb:33:in
`require': no such file to load -- builder (LoadError)
from
/home/abh/Rails_Projects/Blog/vendor/rails/activesupport/lib/active_support/vendor.rb:33:in
`rescue in <top (required)>'
from
/home/abhi/Rails_Projects/Blog/vendor/rails/activesupport/lib/active_support/vendor.rb:2:in
`<top (required)>'
from
/home/abhi/Rails_Projects/Blog/vendor/rails/activesupport/lib/active_support.rb:26:in
`require'
from
/home/abhi/Rails_Projects/Blog/vendor/rails/activesupport/lib/active_support.rb:26:in
`<top (required)>'
from
/home/abhi/Rails_Projects/Blog/vendor/rails/railties/lib/commands/server.rb:1:in
`require'
from
/home/abhi/Rails_Projects/Blog/vendor/rails/railties/lib/commands/server.rb:1:in
`<top (required)>'
from script/server:3:in `require'
from script/server:3:in `<main>'
when i pass 'ruby script/console' :
/usr/local/lib/ruby/1.9.0/irb/completion.rb:10:in `require': no such
file to load -- readline (LoadError)
from /usr/local/lib/ruby/1.9.0/irb/completion.rb:10:in `<top
(required)>'
from /usr/local/lib/ruby/1.9.0/irb/init.rb:250:in `require'
from /usr/local/lib/ruby/1.9.0/irb/init.rb:250:in `block in
load_modules'
from /usr/local/lib/ruby/1.9.0/irb/init.rb:248:in `each'
from /usr/local/lib/ruby/1.9.0/irb/init.rb:248:in `load_modules'
from /usr/local/lib/ruby/1.9.0/irb/init.rb:21:in `setup'
from /usr/local/lib/ruby/1.9.0/irb.rb:54:in `start'
from /usr/local/bin/irb:13:in `<main>'
can anyone guide me..?
thanx.
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---