简体   繁体   中英

rvm, ubuntu 11.10 gem preventing server from starting up

I've been banging my head up against a wall on this problem for the past day or two. (I have only been using Linux for a week, and Ruby for 7 months so go easy on me, but I asked a few developers, and no dice, so it sounds like its a real issue).

I have rvm installed with Ruby 1.9.2, and Rails 3.1.1 on Ubuntu 11.10. Everything worked fine while I was coding in windows 7.

Here's the issue: When I run rails server , I get the following:

$ rails server
 /usr/share/ruby-rvm/gems/ruby-1.9.2-p318/gems/bundler-1.1.1/lib/bundler/runtime.rb:74:in `require': no such file to load -- twilio/ruby (LoadError)
from /usr/share/ruby-rvm/gems/ruby-1.9.2-p318/gems/bundler-1.1.1/lib/bundler/runtime.rb:74:in `rescue in block in require'

this goes on for a while. This is weird to me, because, I searched my app for the line "twilio/ruby" and I couldn't find it.

I found these links, where it looks like people had similar issues, but I either couldn't understand what they were saying, or was too afraid to adopt their suggestion to my use in fear of messing up my environment further.

Also, one developer told me to do the following:

  1. cd to my project directory
  2. rvm use 1.9.2
  3. bundle install
  4. rails server

But that didn't work either.

在应用程序中搜索“ twilio-ruby”或只是“ twilio”。将其视为捆绑程序,它将在其中抛出异常……否则它可能是另一个gem的依赖项。如果您执行“ gem list -d twilio” '你还得到什么?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM