我正在使用bower和我的rails4项目。
这是我的bower.json
{
"name": "sinestro",
"version": "0.0.1",
"homepage": "https://github.com/ind9/sinestro",
"authors": [
"Bharath ツ <bharathraja@live.com>"
],
"description": "Product Catalog",
"license": "MIT",
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"app/assets/javascripts/lib/bower",
"test",
"tests"
],
"dependencies": {
"jquery": "~2.1.1",
"jquery-ui": "~1.10.4",
"backbone": "~1.1.2",
"bootstrap": "~3.0.0",
"underscore": "~1.7.0",
"requirejs": "~2.1.14",
"requirejs-text": "~2.0.12",
"image-center": "git://github.com/boxlight/bl-jquery-image-center",
"spin.js": "~2.0.1",
"numeral": "~1.5.3",
"ix" : "git@github.com:ind9/magneto.git"
},
"resolutions": {
"jquery-ui": "~1.11.1",
"bootstrap": "~3.2.0"
}
}
这是我的.bowerrc
{
"directory": "bower_lib"
}
凉亭版本是1.3.12。当我说bower安装时 - 它打印出解析依赖关系并获取它的日志 - 但它并没有安装在任何地方。没有创建名为bower_lib的目录。有人能帮我吗?并且输出中也没有错误。