RVM在终端上运行 - Ruby 2.1.2

时间:2014-08-27 07:18:38

标签: ruby-on-rails ruby ruby-on-rails-4 terminal

任何人都可以解释一下我的RVM和我的终端可能出现的问题吗?

我已经bundle install了几次,然后才意识到情况并非如此。 还完成了Ruby和RVM的全新安装。没有运气。

davidfranciscus:~/hipcloset$ rails s
Could not find proper version of railties (4.1.5) in any of the sources
Run `bundle install` to install missing gems.
davidfranciscus:~/hipcloset$ ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
davidfranciscus:~/hipcloset$ rvm use 2.1.2
Using /Users/davidfranciscus/.rvm/gems/ruby-2.1.2
davidfranciscus:~/hipcloset$ ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
davidfranciscus:~/hipcloset$ rails s
=> Booting Thin
=> Rails 4.1.5 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
Thin web server (v1.6.2 codename Doc Brown)
Maximum connections set to 1024
Listening on 0.0.0.0:3000, CTRL+C to stop

我已经成功实施了一个临时解决方案来解决这个问题,但不知道为什么会出现这种情况令人恼火。

0 个答案:

没有答案