when I typed in $ ruby -v the output appeared as below:
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]
In the past, I used to see the output as:
ruby 1.9.3
Why is my ruby version appearing with more data now? I am new to programming and am wondering if I messed up my computer. Help! Thank you in advance!
Are you using RVM to manage your ruby versions? If not I would reccomend doing so.
https://rvm.io/
Chances are, you upgraded your Ruby installation somewhere along the line (or your system package manager did). It's very unlikely that you messed anything up.
It sounds like you are not using RVM, and that the system package manager installed an update. I would strongly recommend using RVM, it will save you tons of head ache in the future.
https://rvm.io/rvm/install/
If you are not familiar with it, it is a great version manager created by Wayne Seguin. It allows you use specific versions of ruby and specific gems for different projects.
Related
I don't know where Gem comes from, but I'm trying to install Jekyll from GitHub, and it says for start ups you need to install Gem. How do I install it?
I've looked up already on Google and on StackOverflow. The results didn't help at all. Thanks!
You need to have Ruby installed in order to use Gem. Depending on which OS you're using depends on the installation for Ruby but here is a link for windows.
now that they release v0.5.0 the question is how can I upgrade from 0.4.6 to 0.5.0 without loosing all my packages? is there even a way. Or if there is no easy way, how have people done it? What is the best way to do it?
Other question is, is it worth it or do I need to upgrade? What are the benefits or why I should not upgrade (yet)? Is there problems with Atom and other packages?
Yes there is quest same question already, but it is for older version and I thought if something has changed on upgrading.
You can go into your .julia/v0.4 folder and copy the REQUIRE file to the v0.5 folder. Then when you Pkg.update() your packages should automatically install.
There are very many upgrades (broadcast syntax, arraypoclypse, string changes, etc.), and many packages may stop supporting v0.4 for this reason. I would recommend you start upgrading soon. Juno has already released its v0.5 version, so when you update it should be compatible.
I am running a web server based on CentOS 5.8 and I need to upgrade my version of bind to make it PCI compliant. I'm currently running bind 9.3.6 and I need to have bind 9.9.8 or higher. I've tried yum update bind but apparently I already have the latest version according to yum. I did some Googling and I found an RPM file bind-9.10.2-1.el5.i686.rpm which looks like it would work but i don't know if it should try installing it or not. I think I would need bind-devel and bind-libs which I can get from the same site. Am I better off compiling from source? I know CentOS 5 is old but I'm trying to avoid reinstalling the whole server.
Installing binary rpm's from later versions of CentOS is unlikely to work: there are many changes since CentOS5.
Rebuilding a src.rpm locally is one way to see what issues there are.
Meanwhile, upgrading to CentOS6 (at least: CentOS7 uses systemd which takes some study) is often not a whole lot more effort than retrofitting something like bind, and will have other efficiencies. YMMV, everyone's does.
I'm using the academic version of enthought python for Windows. Most of ogr works, but not geometry methods like geometry.Buffer() or predicates like geometry1.crosses(geometry2). According to this:
http://gdal.org/python/osgeo.ogr.Geometry-class.html#Crosses
ogr needs to have been built with GEOS. Has anybody got these methods to work with Enthought? If not, can you suggest a Windows python binary where these are working?
thanks,
jim
Correct, there are many possible build configurations of GDAL/OGR, and geos is not currently supported by Enthought's build configuration. We will consider adding it in a future build. Meanwhile, FYI, GEOS operations are fully supported in the powerful and popular Shapely package which is included in the Enthought repository.
I want to compile the latest snapshot version of gedit on OSX as it has a lot of bug fixes and a number of new features, but I'm a little confused about the requirements to compile the sourcecode.
The readme says I need the GTK+-3 libraries, but for the life of me I can't seem to find them. I've gone through the GTK site, but there is only the 2.0 series available. Google doesn't seem to show any results for the 3.0 series either.
Anyone know how/where to get them?
The readme: http://git.gnome.org/browse/gedit/tree/README
GTK 3 has not actually been released yet, it's the current "in-development" version for the upcoming release of Gnome 3. It's still in development and not at all ready for mainstream use.
Still, if you really insist on trying it out, you can get a source tarball from the Gnome FTP server.
GTK+ 3 has been released some time ago (10-Feb-2001):
Sources: http://ftp.gnome.org/pub/GNOME/sources/gtk+/3.0/
Git repo: http://git.gnome.org/browse/gtk+