On Jul 9, 3:04 am, Manish Arya <[email protected]>
wrote:
> rdiscount-1.3.1.1 is uninstallable on solaris
>
> ---------------------------------------------------------
> r...@dcb0:/opt/gitorious# gem install rdiscount -v 1.3.1.1
> Building native extensions. This could take a while...
> ERROR: Error installing rdiscount:
> ERROR: Failed to build gem native extension.
>
> /opt/ruby/bin/ruby extconf.rb
> checking for random()... yes
> checking for srandom()... yes
> checking for funopen()... no
> checking for fopencookie()... no
> extconf.rb:11: No funopen or fopencookie support available.
> (RuntimeError)
> -----------------------------------------------------------
>
> so I have installed rdiscount-1.3.4
>
> and
>
> rake db:migrate for gitorious wants rdiscount = 1.3.1.1
>
> --------------------------------------------
> r...@dcb0:/opt/gitorious# rake db:migrate
> (in /opt/gitorious)
> Missing these required gems:
> rdiscount = 1.3.1.1
>
> You're running:
> ruby 1.8.7.72 at /opt/ruby/bin/ruby
> rubygems 1.3.2 at /home/marya/.gem/ruby/1.8,
> /opt/ruby/lib/ruby/gems/1.8
> --------------------------------------------
>
> is there someway to bypass version check ?
>
> i tried to make symlink of rdiscount-1.3.4 to rdiscount-1.3.1.1 and
> upadted rdiscount.gemspec with ver 1.3.1.1
>
I wouldn't recommend doing that - it's not recommended, nor is it
correct.
Looking over the gitorious source, the config/environment.rb file
specifically requires that version. A quick scan of the rdiscount
source history shows that the most notable changes made between
1.3.1.1 and 1.3.4 were moving up the underlying Discount version and
correcting the issue with funopen you've run into above. Just fix the
line in environment.rb and things should be fine.
--Matt Jones
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---