error de sintaxis de nested_set Gemfile, inesperado ':', esperando $end
Frecuentes
Visto 209 veces
0
en mi Gemfile
gem 'nested_set', git: 'git://github.com/skyeagle/nested_set.git', tag: '~> 1.7.0' # September 11, 2013. To fix the error of wrong format of nested_st for 1.7.0
but when I run rails s, I got this error.
emfile:33: syntax error, unexpected ':', expecting $end
gem 'nested_set', git: 'git://github.com/skyeagle/ne...
^
how can I fix it? thanks!
1 Respuestas
0
You can fix this by using Ruby 1.9+.
El problema es que estás usando el JSON-like notation which is not supported by ruby 1.8
contestado el 20 de mayo de 14 a las 18:05
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas ruby-on-rails-3 gemfile or haz tu propia pregunta.
Can you show the whole gemfile as-is? - uday