我正在将我的系统升级到ruby 2.0并且我已经完成了将计算机扔到墙上的所有事情.我发现很难相信fastthread是问题所在.运行'bundle install'时是否有其他人看到此错误.这是我的红宝石版本
ruby -v ruby 2.0.0p0(2013-02-24修订版39474)[x86_64-darwin12.2.0]
当我尝试运行rails -v时,我得到了这个
rails -v无法在任何源代码中找到fastthread-1.0.7运行bundle install以安装缺少的gem.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.0.3)
Using i18n (0.6.1)
Using multi_json (1.6.1)
Using activesupport (3.2.9)
Using builder (3.0.4)
Using activemodel (3.2.9)
Using erubis (2.7.0)
Using journey (1.0.4)
Using rack (1.4.5)
Using rack-cache (1.2)
Using rack-test (0.6.2)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.2.2)
Using actionpack (3.2.9)
Using mime-types (1.21)
Using polyglot (0.3.3)
Using treetop (1.4.12) …Run Code Online (Sandbox Code Playgroud) 大脑倾倒,因为我的谷歌用谷歌搜索并在电脑上猛击我的头.任何帮助或线索将非常感谢!
我通过rvm管理我的宝石.
$ ruby -v
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.0]
$ rails -v
Rails 4.0.0.beta1
Run Code Online (Sandbox Code Playgroud)
然后,当我想从头开始创建一个全新的应用程序
$ rails new brand_new_app
create
create README.rdoc
...
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
$ cd brand_new_app
Run Code Online (Sandbox Code Playgroud)
然后我初始化一个git repo,添加我刚创建的应用程序.然后我创建一个heroku实例
brand_new_app $ heroku create
Git remote heroku added
Run Code Online (Sandbox Code Playgroud)
然后我尝试部署到heroku但它在活动支持gem上失败.
brand_new_app $ git push heroku master
Counting objects: 62, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (50/50), done.
Writing objects: 100% …Run Code Online (Sandbox Code Playgroud)