Last week I attempted to install RVM on my system so I could use various versions of Ruby including Macruby. I encountered problems including a reinstall of RVM that had incorrect permissions. However, it is quite possible that all the errors were the result of my naviety about the ruby environment so I'm willing to give it another go. Has anyone else used RVM with Macruby and does it work well? Can I safely run multiple versions of Macruby? Will it alter or contaminate the regular installed version? Any advice would be appreciated. Thanks, Shannon
The MacRuby team doesn't use RVM and therefore doesn't recommend users to use it. However, some users reported using RVM and being happy with it. Was my reply useless? More than likely :p -= Matt On Fri, May 20, 2011 at 3:18 PM, Shannon Love <techzen@me.com> wrote:
Last week I attempted to install RVM on my system so I could use various versions of Ruby including Macruby. I encountered problems including a reinstall of RVM that had incorrect permissions. However, it is quite possible that all the errors were the result of my naviety about the ruby environment so I'm willing to give it another go.
Has anyone else used RVM with Macruby and does it work well? Can I safely run multiple versions of Macruby? Will it alter or contaminate the regular installed version?
Any advice would be appreciated.
Thanks, Shannon _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
RVM works just fine for macruby, but I would recommend against using it. It's not extremely useful as an alternative ruby implementation (think jRuby, Rubinius), which is where RVM shines. It's much better to use the `mac` prefix than to replace `ruby` with macruby in your shell. On Fri, May 20, 2011 at 7:17 PM, Matt Aimonetti <mattaimonetti@gmail.com>wrote:
The MacRuby team doesn't use RVM and therefore doesn't recommend users to use it. However, some users reported using RVM and being happy with it. Was my reply useless? More than likely :p
-= Matt
On Fri, May 20, 2011 at 3:18 PM, Shannon Love <techzen@me.com> wrote:
Last week I attempted to install RVM on my system so I could use various versions of Ruby including Macruby. I encountered problems including a reinstall of RVM that had incorrect permissions. However, it is quite possible that all the errors were the result of my naviety about the ruby environment so I'm willing to give it another go.
Has anyone else used RVM with Macruby and does it work well? Can I safely run multiple versions of Macruby? Will it alter or contaminate the regular installed version?
Any advice would be appreciated.
Thanks, Shannon _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-- chrisrhoden
Chris Rhoden, As I understand it: (1) Apple does not recommend upgrading the system 1.8.7 ruby to 1.9.2 because some system scripts depend on the ruby installation. Most other resources recommend against doing that as well. So, if I want to use 1.9.2, I need to use RVM. (2) Since Cucumber doesn't work with Macruby at all right now and I've not been able to get rspec to work, if I want to learn either, I will need to be able to install non-macruby versions of both without interfering with my Macruby install ( incase I try again to get rspec to work with it.) So, I'll probably end up giving RVM a go again but I thought I would check and see if anyone knew of specific problems with RVM and Macruby that would make that a futile enterprise. Thanks, Shannon On May 20, 2011, at 6:29 PM, Chris Rhoden wrote:
RVM works just fine for macruby, but I would recommend against using it. It's not extremely useful as an alternative ruby implementation (think jRuby, Rubinius), which is where RVM shines. It's much better to use the `mac` prefix than to replace `ruby` with macruby in your shell.
On Fri, May 20, 2011 at 7:17 PM, Matt Aimonetti <mattaimonetti@gmail.com> wrote: The MacRuby team doesn't use RVM and therefore doesn't recommend users to use it. However, some users reported using RVM and being happy with it. Was my reply useless? More than likely :p
-= Matt
On Fri, May 20, 2011 at 3:18 PM, Shannon Love <techzen@me.com> wrote: Last week I attempted to install RVM on my system so I could use various versions of Ruby including Macruby. I encountered problems including a reinstall of RVM that had incorrect permissions. However, it is quite possible that all the errors were the result of my naviety about the ruby environment so I'm willing to give it another go.
Has anyone else used RVM with Macruby and does it work well? Can I safely run multiple versions of Macruby? Will it alter or contaminate the regular installed version?
Any advice would be appreciated.
Thanks, Shannon _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-- chrisrhoden _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
the RVM irc channel is actually very helpful in general. If you're running into issues with it, you might want to check in there. Ben Nicholas On May 20, 2011, at 4:58 PM, Shannon Love wrote:
Chris Rhoden,
As I understand it:
(1) Apple does not recommend upgrading the system 1.8.7 ruby to 1.9.2 because some system scripts depend on the ruby installation. Most other resources recommend against doing that as well. So, if I want to use 1.9.2, I need to use RVM.
(2) Since Cucumber doesn't work with Macruby at all right now and I've not been able to get rspec to work, if I want to learn either, I will need to be able to install non-macruby versions of both without interfering with my Macruby install ( incase I try again to get rspec to work with it.)
So, I'll probably end up giving RVM a go again but I thought I would check and see if anyone knew of specific problems with RVM and Macruby that would make that a futile enterprise.
Thanks, Shannon
On May 20, 2011, at 6:29 PM, Chris Rhoden wrote:
RVM works just fine for macruby, but I would recommend against using it. It's not extremely useful as an alternative ruby implementation (think jRuby, Rubinius), which is where RVM shines. It's much better to use the `mac` prefix than to replace `ruby` with macruby in your shell.
On Fri, May 20, 2011 at 7:17 PM, Matt Aimonetti <mattaimonetti@gmail.com> wrote: The MacRuby team doesn't use RVM and therefore doesn't recommend users to use it. However, some users reported using RVM and being happy with it. Was my reply useless? More than likely :p
-= Matt
On Fri, May 20, 2011 at 3:18 PM, Shannon Love <techzen@me.com> wrote: Last week I attempted to install RVM on my system so I could use various versions of Ruby including Macruby. I encountered problems including a reinstall of RVM that had incorrect permissions. However, it is quite possible that all the errors were the result of my naviety about the ruby environment so I'm willing to give it another go.
Has anyone else used RVM with Macruby and does it work well? Can I safely run multiple versions of Macruby? Will it alter or contaminate the regular installed version?
Any advice would be appreciated.
Thanks, Shannon _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-- chrisrhoden _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
I have been using rvm with MacRuby a while now, mostly for the use of gemsets. I have been able to switch between MacRuby 0.10 and the "nightly" builds without issue including several different gemsets for "nightly" builds. However, there will be issues if you are developing with Xcode. But they are pretty easy to keep up with. 1. Outside of an rvm enabled shell, the most recently installed version of MacRuby is the default. 2. Similarly, using gems with an app will require you to install the gems using macgem explicitly (or setting your GEM_PATH to point to where rvm is storing stuff). Sent from my iDevice On 2011-05-20, at 18:18, Shannon Love <techzen@me.com> wrote:
Last week I attempted to install RVM on my system so I could use various versions of Ruby including Macruby. I encountered problems including a reinstall of RVM that had incorrect permissions. However, it is quite possible that all the errors were the result of my naviety about the ruby environment so I'm willing to give it another go.
Has anyone else used RVM with Macruby and does it work well? Can I safely run multiple versions of Macruby? Will it alter or contaminate the regular installed version?
Any advice would be appreciated.
Thanks, Shannon _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
The point of my email was: Use RVM to install 1.9.2 or jRuby or whatever. Install MacRuby from source or the package, and execute it using `macruby`, `macirb`, and the like. There is no reason to overload `ruby` to point at macruby, which is the only real benefit RVM gets you. On Fri, May 20, 2011 at 8:09 PM, Mark Rada <mrada@marketcircle.com> wrote:
I have been using rvm with MacRuby a while now, mostly for the use of gemsets. I have been able to switch between MacRuby 0.10 and the "nightly" builds without issue including several different gemsets for "nightly" builds.
However, there will be issues if you are developing with Xcode. But they are pretty easy to keep up with.
1. Outside of an rvm enabled shell, the most recently installed version of MacRuby is the default.
2. Similarly, using gems with an app will require you to install the gems using macgem explicitly (or setting your GEM_PATH to point to where rvm is storing stuff).
Sent from my iDevice
On 2011-05-20, at 18:18, Shannon Love <techzen@me.com> wrote:
Last week I attempted to install RVM on my system so I could use various versions of Ruby including Macruby. I encountered problems including a reinstall of RVM that had incorrect permissions. However, it is quite possible that all the errors were the result of my naviety about the ruby environment so I'm willing to give it another go.
Has anyone else used RVM with Macruby and does it work well? Can I safely run multiple versions of Macruby? Will it alter or contaminate the regular installed version?
Any advice would be appreciated.
Thanks, Shannon _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-- chrisrhoden
Not true. For those of us that have a lot of gems, being able to use gemsets with MacRuby can yield significant speed ups when loading something that requires a gem. As a quick benchmark I chose to load the "abstract" gem because it is a single file weighing in at 75 lines (including comments and white space), then I tried loading it with varying numbers of other gems installed: macruby -rubygems -e "start = Time.now; require 'abstract'; p Time.now - start" 0 other gems: 0.180205 seconds 1 other gem: 0.310673 seconds 10 other gems: 0.795038 seconds 23 other gems: 2.478057 seconds 23 gems seems odd, but that is how many other gems are installed when you install rails. If you have rails and then some other gems, the load time would be much worse because, as you can see, the performance degradation is _exponential_. This performance issue will eventually go away, but not any time soon. For me, this is a "real" reason for using rvm, but this may not be the case for everyone. Mark Rada mrada@marketcircle.com On 2011-05-21, at 10:04 PM, Chris Rhoden wrote:
The point of my email was:
Use RVM to install 1.9.2 or jRuby or whatever.
Install MacRuby from source or the package, and execute it using `macruby`, `macirb`, and the like. There is no reason to overload `ruby` to point at macruby, which is the only real benefit RVM gets you.
On Fri, May 20, 2011 at 8:09 PM, Mark Rada <mrada@marketcircle.com> wrote: I have been using rvm with MacRuby a while now, mostly for the use of gemsets. I have been able to switch between MacRuby 0.10 and the "nightly" builds without issue including several different gemsets for "nightly" builds.
However, there will be issues if you are developing with Xcode. But they are pretty easy to keep up with.
1. Outside of an rvm enabled shell, the most recently installed version of MacRuby is the default.
2. Similarly, using gems with an app will require you to install the gems using macgem explicitly (or setting your GEM_PATH to point to where rvm is storing stuff).
Sent from my iDevice
On 2011-05-20, at 18:18, Shannon Love <techzen@me.com> wrote:
Last week I attempted to install RVM on my system so I could use various versions of Ruby including Macruby. I encountered problems including a reinstall of RVM that had incorrect permissions. However, it is quite possible that all the errors were the result of my naviety about the ruby environment so I'm willing to give it another go.
Has anyone else used RVM with Macruby and does it work well? Can I safely run multiple versions of Macruby? Will it alter or contaminate the regular installed version?
Any advice would be appreciated.
Thanks, Shannon _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-- chrisrhoden _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
This is a problem with MacRuby, not Rubygems On Sat, May 21, 2011 at 11:38 PM, Mark Rada <mrada@marketcircle.com> wrote:
Not true.
For those of us that have a lot of gems, being able to use gemsets with MacRuby can yield significant speed ups when loading something that requires a gem.
As a quick benchmark I chose to load the "abstract" gem because it is a single file weighing in at 75 lines (including comments and white space), then I tried loading it with varying numbers of other gems installed:
macruby -rubygems -e "start = Time.now; require 'abstract'; p Time.now - start"
0 other gems: 0.180205 seconds 1 other gem: 0.310673 seconds 10 other gems: 0.795038 seconds 23 other gems: 2.478057 seconds
23 gems seems odd, but that is how many other gems are installed when you install rails. If you have rails and then some other gems, the load time would be much worse because, as you can see, the performance degradation is _exponential_. This performance issue will eventually go away, but not any time soon.
For me, this is a "real" reason for using rvm, but this may not be the case for everyone.
Mark Rada mrada@marketcircle.com
On 2011-05-21, at 10:04 PM, Chris Rhoden wrote:
The point of my email was:
Use RVM to install 1.9.2 or jRuby or whatever.
Install MacRuby from source or the package, and execute it using `macruby`, `macirb`, and the like. There is no reason to overload `ruby` to point at macruby, which is the only real benefit RVM gets you.
On Fri, May 20, 2011 at 8:09 PM, Mark Rada <mrada@marketcircle.com> wrote:
I have been using rvm with MacRuby a while now, mostly for the use of gemsets. I have been able to switch between MacRuby 0.10 and the "nightly" builds without issue including several different gemsets for "nightly" builds.
However, there will be issues if you are developing with Xcode. But they are pretty easy to keep up with.
1. Outside of an rvm enabled shell, the most recently installed version of MacRuby is the default.
2. Similarly, using gems with an app will require you to install the gems using macgem explicitly (or setting your GEM_PATH to point to where rvm is storing stuff).
Sent from my iDevice
On 2011-05-20, at 18:18, Shannon Love <techzen@me.com> wrote:
Last week I attempted to install RVM on my system so I could use various versions of Ruby including Macruby. I encountered problems including a reinstall of RVM that had incorrect permissions. However, it is quite possible that all the errors were the result of my naviety about the ruby environment so I'm willing to give it another go.
Has anyone else used RVM with Macruby and does it work well? Can I safely run multiple versions of Macruby? Will it alter or contaminate the regular installed version?
Any advice would be appreciated.
Thanks, Shannon _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-- chrisrhoden _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-- chrisrhoden
The topic is rvm with MacRuby, so it is a relevant point. And the problem is not just MacRuby, but both are being actively developed right now so the point is kind of moot. Mark Rada mrada@marketcircle.com On 2011-05-21, at 11:42 PM, Chris Rhoden wrote:
This is a problem with MacRuby, not Rubygems
On Sat, May 21, 2011 at 11:38 PM, Mark Rada <mrada@marketcircle.com> wrote: Not true.
For those of us that have a lot of gems, being able to use gemsets with MacRuby can yield significant speed ups when loading something that requires a gem.
As a quick benchmark I chose to load the "abstract" gem because it is a single file weighing in at 75 lines (including comments and white space), then I tried loading it with varying numbers of other gems installed:
macruby -rubygems -e "start = Time.now; require 'abstract'; p Time.now - start"
0 other gems: 0.180205 seconds 1 other gem: 0.310673 seconds 10 other gems: 0.795038 seconds 23 other gems: 2.478057 seconds
23 gems seems odd, but that is how many other gems are installed when you install rails. If you have rails and then some other gems, the load time would be much worse because, as you can see, the performance degradation is _exponential_. This performance issue will eventually go away, but not any time soon.
For me, this is a "real" reason for using rvm, but this may not be the case for everyone.
Mark Rada mrada@marketcircle.com
On 2011-05-21, at 10:04 PM, Chris Rhoden wrote:
The point of my email was:
Use RVM to install 1.9.2 or jRuby or whatever.
Install MacRuby from source or the package, and execute it using `macruby`, `macirb`, and the like. There is no reason to overload `ruby` to point at macruby, which is the only real benefit RVM gets you.
On Fri, May 20, 2011 at 8:09 PM, Mark Rada <mrada@marketcircle.com> wrote: I have been using rvm with MacRuby a while now, mostly for the use of gemsets. I have been able to switch between MacRuby 0.10 and the "nightly" builds without issue including several different gemsets for "nightly" builds.
However, there will be issues if you are developing with Xcode. But they are pretty easy to keep up with.
1. Outside of an rvm enabled shell, the most recently installed version of MacRuby is the default.
2. Similarly, using gems with an app will require you to install the gems using macgem explicitly (or setting your GEM_PATH to point to where rvm is storing stuff).
Sent from my iDevice
On 2011-05-20, at 18:18, Shannon Love <techzen@me.com> wrote:
Last week I attempted to install RVM on my system so I could use various versions of Ruby including Macruby. I encountered problems including a reinstall of RVM that had incorrect permissions. However, it is quite possible that all the errors were the result of my naviety about the ruby environment so I'm willing to give it another go.
Has anyone else used RVM with Macruby and does it work well? Can I safely run multiple versions of Macruby? Will it alter or contaminate the regular installed version?
Any advice would be appreciated.
Thanks, Shannon _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-- chrisrhoden _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-- chrisrhoden _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (5)
-
Benjamin Nicholas
-
Chris Rhoden
-
Mark Rada
-
Matt Aimonetti
-
Shannon Love