3-2-stable: "undefined method `literal?' for /:Journey::Nodes::Slash" #4701

alexeymuranov opened this Issue Jan 26, 2012 · 5 comments

4 participants


Here are steps to reproduce with the latest 3-2-stable:

§ rails new test_app
§ cd test_app

Edit Gemfile:

gem 'rails', :git => 'git://github.com/rails/rails.git', :branch => '3-2-stable'


§ bundle update
§ bundle exec rails generate model User username:string

Gives me:

/Volumes/Data/Users/alexey/.rvm/gems/ruby-1.9.3-p0/gems/journey-1.0.0/lib/journey/visitors.rb:48:in `call': undefined method `literal?' for /:Journey::Nodes::Slash (NoMethodError)

Sorry, i meant 3-2-stable.


I can reproduce this problem by the above steps.
And I edited Gemfile

gem 'journey', :git => 'git://github.com/rails/journey.git'

then, It's work fine :-)
It seems that this issue is fixed already in the Journey.

Ruby on Rails member

If you generate the app with the edge option, you'll see that it uses journey from the git repo. If edge journey works well with edge rails, I think this can be closed.

Ruby on Rails member

Edge journey does work with edge rails. I'll make an official release today. :-)

@tenderlove tenderlove closed this Jan 26, 2012

Ok, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment