Rails version:4.2
Ruby version:2.2
Line = rails new appcomposer -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb
the code displays the following error
/home/felipe/.rvm/gems/ruby-2.2.10/gems/thor-1.2.1/lib/thor/actions.rb:226:in apply': private method
open' called for URI:Module (NoMethodError)
be able to resolve the error by uninstalling the latest versions of "thor" and using only the version thanks to everyone who helped
gem uninstall thor --version (version)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.