开发者

Error while running rails on remote host. "Could not find crack-0.1.8 in any of the sources"

开发者 https://www.devze.com 2023-02-09 22:37 出处:网络
I am trying to deploy my rails app that is working fine on my local machine , to a remote host. I am using railsplayground.com to be exact. When I try to run the app using Passenger,I get this error

I am trying to deploy my rails app that is working fine on my local machine , to a remote host. I am using railsplayground.com to be exact. When I try to run the app using Passenger,I get this error

"Could not find crack-0.1.8 in any of the sources"

But when I did a,

$gem list

the gem , crack (0.1.8) is present. I am using Rails 3 btw.

Any suggestions is welcome. Thanks 开发者_运维百科in advance.


Make sure the Gem is installed via Bundler. Check your Gemfile and see if the gem is listed. Then, when deploying the application, make sure to execute the $ bundle install command.

If you deploy the project with capistrano, you can use the default bundler recipe by including the recipe at the top of your deploy.rb file.

require 'bundler/capistrano'
0

精彩评论

暂无评论...
验证码 换一张
取 消