ORA-00955 Error. You can solve this problem by drop table xxxx_seq;
Yes. It is a begginers' mistake. And now it works fine with Oracle after
dropping ****_seq table.
Default permissions
As mentioned in http://cygwin.com/ml/cygwin/2006-01/msg00257.html, the default permissions for a Cygwin installation are rwxrwxrwx. Even if you don't care about the security implications, Ruby does. You might get sick of seeing Ruby make complaints like:
warning: Insecure world writable dir /usr/local/bin, mode 040777
The directory and exact mode may differ, but you'll need to chmod o-w the directory in question. Here's the minimal set of changes I needed to make to keep Ruby quiet:
chmod o-w /usr/local/bin
chmod o-w /usr/local
chmod o-w /usr
chmod o-w /etc
chmod o-w /usr/sbin
chmod o-w /usr/bin
chmod o-w /usr/X11R6/bin
chmod o-w /usr/X11R6
chmod o-w /cygdrive/c
Of course, this still leaves every binary on your system world-writable. Strangely, Ruby's happy to run world-writable binaries, as long as the directory they're in isn't world-writable.
unset RUBYOPT
chmod -R a+w /usr/lib/ruby/site_ruby/1.8/rubygems
ruby setup.rb
(no more permission denied Errorno:EACCES)
And I followed this article.
http://www.gfd-dennou.org/arch/ruby/
1. num.round => integerRounds num to the nearest integer. Numeric implements
this by converting itself to a Float and invoking Float#round.
2. flt.round => integerRounds flt to the nearest integer. Equivalent to:
def roundreturn (self+0.5).floor if self > 0.0
return (self-0.5).ceil if self <0.0
return 0
end
1.5.round #=> 2
(-1.5).round #=> -2
3. num.ceil => integerReturns the smallest Integer greater than or equal to num. Class Numeric achieves this by converting itself to a Float then invoking Float#ceil.
1.ceil #=> 1
1.2.ceil #=> 2
(-1.2).ceil #=> -1
(-1.0).ceil #=> -1
4. flt.ceil => integerReturns the smallest Integer greater than or
equal to flt.
1.2.ceil #=>2
2.0.ceil #=> 2
-1.2).ceil #=> -1
(-2.0).ceil #=> -2
Grid Focus by Derek Punsalan 5thirtyone.com. Converted by Blogger Buster