Giter VIP home page Giter VIP logo

Comments (5)

enriclluelles avatar enriclluelles commented on August 12, 2024

Could you post the entire stacktrace please?

On Friday, September 14, 2012 at 12:52 AM, kjakub wrote:

/ruby-1.9.2-p320/gems/actionpack-3.0.14/lib/action_dispatch/routing/route.rb:25:in `initialize': can't convert Array into String (TypeError)
config/locales/routes.yml
cs:
cars: 'translated_cars'
routes.rb
end
Dt::Application.routes.translate_from_file('config/locales/routes.yml')


Reply to this email directly or view it on GitHub (#9).

from route_translator.

kjakub avatar kjakub commented on August 12, 2024

Loading user extensions...
/home/jk/.rvm/gems/ruby-1.8.7-p370/gems/rack-mount-0.6.14/lib/rack/mount/regexp_with_named_groups.rb:31:in initialize': can't convert Array into String (TypeError) from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/rack-mount-0.6.14/lib/rack/mount/regexp_with_named_groups.rb:31:incompile'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/rack-mount-0.6.14/lib/rack/mount/regexp_with_named_groups.rb:31:in initialize' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/rack-mount-0.6.14/lib/rack/mount/regexp_with_named_groups.rb:25:innew'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/rack-mount-0.6.14/lib/rack/mount/regexp_with_named_groups.rb:25:in new' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/actionpack-3.0.14/lib/action_dispatch/routing/route.rb:25:ininitialize'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/actionpack-3.0.14/lib/action_dispatch/routing/route_set.rb:192:in inject' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/actionpack-3.0.14/lib/action_dispatch/routing/route.rb:24:ineach'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/actionpack-3.0.14/lib/action_dispatch/routing/route.rb:24:in inject' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/actionpack-3.0.14/lib/action_dispatch/routing/route.rb:24:ininitialize'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/actionpack-3.0.14/lib/action_dispatch/routing/route_set.rb:305:in new' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/actionpack-3.0.14/lib/action_dispatch/routing/route_set.rb:305:inadd_route'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/route_translator-1.0.2/lib/route_translator/route_set/translator.rb:28:in translate' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/route_translator-1.0.2/lib/route_translator/route_set/translator.rb:27:ineach'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/route_translator-1.0.2/lib/route_translator/route_set/translator.rb:27:in translate' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/route_translator-1.0.2/lib/route_translator/route_set.rb:29:intranslate_from_file'
from /home/jk/Projects/tviny/config/routes.rb:395
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.14/lib/active_support/dependencies.rb:236:in load' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.14/lib/active_support/dependencies.rb:236:inload'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.14/lib/active_support/dependencies.rb:225:in load_dependency' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.14/lib/active_support/dependencies.rb:597:innew_constants_in'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.14/lib/active_support/dependencies.rb:225:in load_dependency' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.14/lib/active_support/dependencies.rb:236:inload'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.14/lib/rails/application.rb:127:in reload_routes!' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.14/lib/rails/application.rb:127:ineach'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.14/lib/rails/application.rb:127:in reload_routes!' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.14/lib/rails/application.rb:120:inroutes_reloader'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.14/lib/active_support/file_update_checker.rb:32:in call' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.14/lib/active_support/file_update_checker.rb:32:inexecute_if_updated'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.14/lib/rails/application/finisher.rb:51
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.14/lib/rails/application/finisher.rb:52:in call' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.14/lib/rails/application/finisher.rb:52 from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.14/lib/rails/initializable.rb:25:ininstance_exec'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.14/lib/rails/initializable.rb:25:in run' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.14/lib/rails/initializable.rb:50:inrun_initializers'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.14/lib/rails/initializable.rb:49:in each' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.14/lib/rails/initializable.rb:49:inrun_initializers'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.14/lib/rails/application.rb:134:in initialize!' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.14/lib/rails/application.rb:77:insend'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.14/lib/rails/application.rb:77:in method_missing' from /home/jk/Projects/tviny/config/environment.rb:5 from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.14/lib/active_support/dependencies.rb:242:inrequire'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.14/lib/active_support/dependencies.rb:242:in require' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.14/lib/active_support/dependencies.rb:225:inload_dependency'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.14/lib/active_support/dependencies.rb:597:in new_constants_in' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.14/lib/active_support/dependencies.rb:225:inload_dependency'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.14/lib/active_support/dependencies.rb:242:in require' from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.14/lib/rails/application.rb:103:inrequire_environment!'
from /home/jk/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.14/lib/rails/commands.rb:22
from script/rails:6:in `require'
from script/rails:6

from route_translator.

kjakub avatar kjakub commented on August 12, 2024

as you see i tried both ruby 1.8.7 and 1.9.2 ..

from route_translator.

guiocavalcanti avatar guiocavalcanti commented on August 12, 2024

Same problem here.

from route_translator.

enriclluelles avatar enriclluelles commented on August 12, 2024

I'm closing old issues. If it's still happening please reopen, I will address faster this time

from route_translator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.