[email protected]:/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
[email protected]:/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
but still rake db:migrate gives error for rdiscount-1.3.1.1
checking for srandom()… yes
rake db:migrate for gitorious wants rdiscount = 1.3.1.1
/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.
checking for srandom()… yes
rake db:migrate for gitorious wants �rdiscount �= 1.3.1.1
/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.