versions

An error occurred while installing pg (0.17.1), and Bundler cannot continue

匿名 (未验证) 提交于 2019-12-03 02:11:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I just installed Rails 4.0.2 and when creating a new app, in the bundle stage I get: Installing pg (0.17.1) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /Users/Dee/.rvm/rubies/ruby-2.0.0-p247/bin/ruby extconf.rb checking for pg_config... no No pg_config... trying anyway. If building fails, please try again with --with-pg-config=/path/to/pg_config checking for libpq-fe.h... no Can't find the 'libpq-fe.h header *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of

Could not find a version that satisfies the requirement pytz

匿名 (未验证) 提交于 2019-12-03 02:11:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a problem installing pytz in virtualenv. Downloading/unpacking pytz Could not find a version that satisfies the requirement pytz (from versions: 2009r, 2008b, 2009f, 2008c, 2007g, 2011g, 2005m, 2011e, 2007f, 2011k, 2007k, 2006j, 2008h, 2008i, 2011e, 2008a, 2009e, 2006g, 2011j, 2010l, 2005m, 2008i, 2005k, 2008g, 2007c, 2007i, 2009l, 2009r, 2006j, 2011k, 2007d, 2006p, 2009i, 2009u, 2007i, 2009f, 2010g, 2008h, 2009a, 2007g, 2011e, 2006p, 2012b, 2010k, 2005r, 2007f, 2009l, 2009p, 2008c, 2009j, 2008g, 2010g, 2010h, 2011h, 2010k, 2007c,

Xcode keeps searching dylib at wrong path

匿名 (未验证) 提交于 2019-12-03 01:59:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Thats my error: dyld: Library not loaded: /usr/local/lib/libofa.0.dylib Referenced from: /sers/david/Projekte/Test/build/Debug/Test.app/Contents/MacOS/Test Reason: image not found I've done some research and changed the path inside the dylib with install_name_tool: davids-macbook:Test david$ otool -L libofa.0.0.0.dylib libofa.0.0.0.dylib: @executable_path/../Frameworks/libofa.0.0.0.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1) /System/Library

Maven “versions” plugin - how to exclude alpha/beta versions from reponse?

匿名 (未验证) 提交于 2019-12-03 01:49:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have an issue concerning the plugin versions. When it generates a report with the goal: mvn versions:display-dependency-updates It suggest is a lot of libraries that with beta or alpha versions. org.hibernate:hibernate-validator ......... 4.2.0.Final -> 4.3.0.Beta1 The issue is that event if the goal of this plugin is to show the very latest versions of each dependency, I don't want to use beta/alpha versions for production code. But I don't want to search manually the last stable version neither. I've tried the 'comparisonMethod' option:

Error: ConnectFailure (Connection refused)

匿名 (未验证) 提交于 2019-12-03 01:40:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have the xamarin.forms application for which i am trying to connect localhost from PC to Iphone simulator in mac,Iam using the Ip address for connecting, private string Uri = "http://192.168.0.16:62271/";//Windows Ip address:localhost port number private string GetDishesUrl = "api/DishDetails/GetDishDetails?id=5"; try{ var httpClient = new HttpClient(); httpClient.BaseAddress = new Uri(Uri); var response = await httpClient.GetAsync(new Uri(Uri + GetDishesUrl)); var stringAsync = await response.Content.ReadAsStringAsync(); if (response

Gem install wrong number of arguments (given 1, expected 0)

匿名 (未验证) 提交于 2019-12-03 01:39:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: When I run bundle , I get the following: The `bundle' command exists in these Ruby versions: 2.1.8 2.4.2 jruby-9.1.15.0 My project uses Ruby-2.5.1, so I'm trying to update my bundler using gem install bundler , but I get the following error: ERROR: While executing gem ... (ArgumentError) wrong number of arguments (given 1, expected 0) Using --backtrace /Users/spencerbailey/.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:47:in `require' /Users/spencerbailey/.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0

Maven versions plugin: reference a rule.xml from a maven dependency?

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am using the mvn versions:display-dependency-updates versions:display-plugin-updates goals to check for dependencies or plugins updates. My maven project is a multi module one, which looks like this: moduleA |- moduleB1 | |- moduleC |- moduleB2 |- build - config / rules . xml Since there is some unwanted updates, like betas I don't want, I've made a filter (which works). I use it like that: <profile> <id> maven-version-plugin-1 </id> <activation> <property> <name> version.rules.uri </name> </property> </activation> <build>

How do I tell Maven to use the latest version of a dependency?

匿名 (未验证) 提交于 2019-12-03 01:33:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: In Maven, dependencies are usually set up like this: wonderful-inc dream-library 1.2.3 Now, if you are working with libraries that have frequent releases, constantly updating the tag can be somewhat annoying. Is there any way to tell Maven to always use the latest available version (from the repository)? 回答1: NOTE: This answer applies to Maven 2 only! The mentioned LATEST and RELEASE metaversions have been dropped in Maven 3 "for the sake of reproducible builds" , over 6 years ago. Please refer to this Maven 3 compliant solution . If you

Resolved versions for app (22.0.0) and test app (21.0.3) differ

匿名 (未验证) 提交于 2019-12-03 01:30:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: After upgrading to API 22 and support lib revision 22 I'm getting the following warning: Warning:Conflict with dependency 'com.android.support:support-annotations'. Resolved versions for app (22.0.0) and test app (21.0.3) differ. Gradle itself is more forgiving, but Android Studio, not so much. I have no dependencies declared with 21.0.3 ... is one of the dependent libraries using 21.0.3 and Google forgot to update it with the rest of the batch? My build.gradle with the extras cut out android { compileSdkVersion 22

urllib and “SSL: CERTIFICATE_VERIFY_FAILED” Error

匿名 (未验证) 提交于 2019-12-03 01:29:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am getting this error Exception in thread Thread-3: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/Users/Matthew/Desktop/Skypebot 2.0/bot.py", line 271, in process info = urllib2.urlopen(req).read() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2