Versions?
by Bryan Kearney
I tied to build 1.9.1 Fedora 12, and neither the p376, nor stable
worked, nor the one linked off of [1]. I had to use the nightly build.
Does that jive with what others are seeing?
BTW.. Jeroen.. why does your repo require bison?
-- bk
[1] http://fedoraproject.org/wiki/The_Road_to_Ruby_1.9
13 years, 4 months
Gem packaging in ruby-1.9.1
by Jeroen van Meeuwen
Dear lazyweb,
I have a problem packaging gems in my attempts to get ruby-1.9.1 going. Below
is some output describing what the problem is exactly, and really, it is
beyond me.
The following changes have been applied to how a normal Fedora ruby
installation runs, and gems are packaged:
- The search path for ruby is:
$ ruby -e 'puts $:'
/usr/local/share/ruby/1.9.1
/usr/local/share/ruby/1.9
/usr/local/share/ruby/
/usr/local/lib64/ruby/1.9.1
/usr/local/lib64/ruby/1.9
/usr/local/lib64/ruby/
/usr/lib64/ruby/1.9.1
/usr/lib64/ruby/1.9
/usr/lib64/ruby/
/usr/share/ruby/1.9.1
/usr/share/ruby/1.9
/usr/share/ruby/
- The packaged gems are being installed (by default) in /usr/share/ruby/gems/
(%{ruby_vendorlib})
- The rubygems package can (supposedly) be obsoleted by ruby-1.9.1's new gem
capabilities
- The same goes for rake (now also a part of the ruby-1.9.1 family).
# gem install -V --local --install-dir=/usr/share/ruby/ --force
~jmeeuwen/devel/rpmbuild/SOURCES/rack-1.0.0.gem
Installing gem rack-1.0.0
Using local gem /usr/share/ruby/cache/rack-1.0.0.gem
/usr/share/ruby/gems/rack-1.0.0/COPYING
(...long list of files removed...)
/usr/share/ruby/gems/rack-1.0.0/SPEC
/usr/share/ruby/gems/rack-1.0.0/RDOX
/usr/share/ruby/gems/rack-1.0.0/rack.gemspec
/usr/share/ruby/bin/rackup
Successfully installed rack-1.0.0
1 gem installed
Installing ri documentation for rack-1.0.0...
Updating class cache with 0 classes...
Installing RDoc documentation for rack-1.0.0...
[root@ghandalf ~]# gem list
*** LOCAL GEMS ***
# gem uninstall rack
ERROR: While executing gem ... (Gem::InstallError)
Unknown gem rack >= 0
$ ruby -rrubygems -e 'puts Gem::dir'
/usr/local/lib64/ruby/
13 years, 4 months
Re: ruby version
by Jeroen van Meeuwen
Frédéric Logier wrote:
> I need mongoid pre and devise pre which depends of rails3. Anyway now
> I'm using rvm http://rvm.beginrescueend.com
>
I was looking at RVM once or twice, but I haven't really sunk my teeth into it
yet.
Since you obviously have some more experience, could you tell me how you would
think this could be enabled/packaged/available on a system-wide and per-
application basis?
-- Jeroen
13 years, 4 months
Re: ruby version
by Mamoru Tasaka
Hello, Frédéric
(ccing also to ruby-sig)
Frédéric Logier wrote, at 05/14/2010 07:54 PM +9:00:
> Hi,
>
> I'm using Fedora 12 and I'm very afraid to see that Fedora 13 will have
> always an oldest ruby 1.8.6 version.
> Is it possible to package with a ruby 1.8.7 version ? Because there is
> many recent gems that require 1.8.7.
>
> Thanks, Frédéric Logier.
As Fedora 13 is to be released within 2 weeks, it is impossible at this
stage to upgrade ruby to 1.8.7.x for Fedora 13.
Currently the leading maintainer of ruby on Fedora, Jeroen van Meeuwen
has some plan to support multiple version of ruby on Fedora 14. If you
are interested in co-maintaining ruby on Fedora or have some idea
for ruby on Fedora, we would appreciate it if you join ruby-sig mailing list:
https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
Regards,
Mamoru Tasaka
13 years, 4 months