我有我试图启动和运行,但是当我尝试迁移数据库,它说的exsisting Ruby on Rails项目:无法安装特定的宝石
$ rake db:migrate
Could not find json-1.6.5 in any of the sources
当我再尝试安装特殊的宝石,它失败了!
$ gem install json -v '1.6.5'
Fetching: json-1.6.5.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing json:
ERROR: Failed to build gem native extension.
/Users/dev/.rvm/rubies/ruby-1.9.2-p136/bin/ruby extconf.rb
creating Makefile
make
sh: make: command not found
Gem files will remain installed in /Users/dev/.rvm/gems/[email protected]/gems/json-1.6.5 for inspection.
Results logged to /Users/dev/.rvm/gems/[email protected]/gems/json-1.6.5/ext/json/ext/parser/gem_make.out
试过gem install libjson-ruby,但没有找到它。当我谷歌 - 它看起来像它是Debian的宝石。我正在运行Mac.And当我做一个宝石名单--remote json没有任何东西叫做libjson-ruby – lmkk