Ruby 1.9
I have 3 questions:
- When will this release be officially supported by the Archlinux team instead of a community-driven release?
- Is it OK if I install Ruby 1.9 from AUR or should I perhaps wait for the official?
- What are the books/tutorials available which talk about this version of Ruby?
Thanks for reading.
Majorix wrote:
I have 3 questions:
- When will this release be officially supported by the Archlinux team instead of a community-driven release?
- Is it OK if I install Ruby 1.9 from AUR or should I perhaps wait for the official?
- What are the books/tutorials available which talk about this version of Ruby?
Thanks for reading.
The last I heard Arch is looking for a Ruby maintainer. It was announced on a couple of the mailing lists. If you're interested, this is the end of one of the threads:
http://www.archlinux.org/pipermail/arch … 10169.html
Similar Messages
-
Just a bug report on some ruby word options on Japanese script
「泳」for 「泳ぐ」never accept any ruby.
「三味線」should be reas as 「しゃみせん」and suggested option actually includs the correct reading. However, the actual ruby you will get is 「ざみせん」.
Hope they are fixed in the next update.For Apple to see your report, you should use
http://www.apple.com/feedback -
Ruby on Rails Concurrent program registration in EBS 11i
hi everyone
I'm trying to see if it is possible to register a Ruby on Rails concurrent program in Oracle E-business Suite 11i applications. We have Ruby on the Rail program we are using to create a GL Daily Rates file into one of our Custom top directory. Our intention is to create a request set that includes this Ruby on Rails program and SQL*Loader program that loads the data into staging table before data is uploaded to the GL_Daily_Rates_Interface.
I have seen that the execution method for Ruby on Rails does not exist in 11i and have tried to use perl but without success.
Any help will be much appreciated.
Thanks in advance.
LeoThis is Oracle Application Server forum. Oracle Apps (EBS) forums are here:
http://forums.oracle.com/forums/category.jspa?categoryID=3 -
Ruby on rails in archlinux bootstrap instalation
I have 6 servers that were migrated from CentOS to Archlinux. They run apache with ruby on rails. The installations were done via bootstrap with one exception. In all they had to have them installed via bootstrap error "invalid byte sequence in US-ASCII ". I created a debug to see what is happening because the whole application runs on UTF-8. I noticed that the servers installed with bootstrap changed the environment variables, these changes occurred with the application running.
before the error
ENV inspect {"XDG_DATA_HOME"=>"/root/.local/share", "GEM_HOME"=>"/usr/lib/ruby/gems/1.9.1", "TERM"=>"xterm", "SHELL"=>"/bin/bash", "SSH_CLIENT"=>"***.**.** 45873 22", "OLDPWD"=>"/home/fusion-apps/minika.objectdata.com.br/rails", "SSH_TTY"=>"/dev/pts/0", "USER"=>"mongrel", "XDG_CONFIG_DIRS"=>"/etc/xdg", "MAIL"=>"/var/mail/root", "PATH"=>"/usr/lib/ruby/gems/1.9.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl", "PWD"=>"/home/fusion-apps/minika.objectdata.com.br/rails", "LANG"=>"pt_BR.UTF-8", "PS3"=>"> ", "SHLVL"=>"3", "PS4"=>"+ ", "HOME"=>"/home/mongrel", "XDG_CONFIG_HOME"=>"/root/.config", "BUNDLE_GEMFILE"=>"/home/fusion-apps/minika.objectdata.com.br/rails/Gemfile", "XDG_CACHE_HOME"=>"/root/.cache", "LOGNAME"=>"mongrel", "XDG_DATA_DIRS"=>"/usr/share/:/usr/local/share/", "SSH_CONNECTION"=>"201.95.50.68 45873 192.168.0.200 22", "GEM_PATH"=>"", "PROMPT_COMMAND"=>"echo -ne \"\\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\\007\"", "RUBYOPT"=>"-I/usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib -rbundler/setup", "BUNDLE_BIN_PATH"=>"/usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/bin/bundle", "G_BROKEN_FILENAMES"=>"1", "_"=>"/usr/bin/bundle", "RAILS_ENV"=>"production"}
$LANG => pt_BR.UTF-8
after error
ENV inspect {"GEM_HOME"=>"/usr/lib/ruby/gems/1.9.1", "SHELL"=>"/bin/bash", "SSH_CLIENT"=>"***.**.** 12975 22", "OLDPWD"=>"/home/fusion-apps/minika.objectdata.com.br/rails", "USER"=>"mongrel", "MAIL"=>"/var/mail/root", "PATH"=>"/usr/lib/ruby/gems/1.9.1/bin:/usr/bin:/bin:/usr/sbin:/sbin", "PWD"=>"/home/fusion-apps/minika.objectdata.com.br/rails", "SHLVL"=>"3", "HOME"=>"/home/mongrel", "BUNDLE_GEMFILE"=>"/home/fusion-apps/minika.objectdata.com.br/rails/Gemfile", "LOGNAME"=>"mongrel", "SSH_CONNECTION"=>"189.111.110.78 12975 192.168.0.200 22", "GEM_PATH"=>"", "RUBYOPT"=>"-I/usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib -rbundler/setup", "BUNDLE_BIN_PATH"=>"/usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/bin/bundle", "_"=>"/usr/bin/bundle", "RAILS_ENV"=>"production"}
$LANG =>
The frequency of the error is one of the servers is 30 in 30 minutes, which made me disable syslog and crontab, but still not resolved, the others are one time during the day or at night.
As I said, the facilities with Centos or Arch with CD do not present problems.
Last edited by ariveira (2011-05-20 13:26:14)One topic, bootstrap install usage http://arm.konnichi.com/2010/10/18/ repo because limit of Centos, after pacman -Suy
-
Launching Edge code thru terminal for Ruby on Rails
hello
i am studying ruby on rails programming. i just started and I am new to alot things about it.
The tutorials im watching say to use sublime text or some other one. if it makes sense i would like to use edge code because i come from a design background and i trust adobe have the best features by the end of the game.
so in the tutorials they used this command to conect the terminal work we've been studying to sublime text
ln -s /Aplplications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl usr/local/bin/subl
and allowed him the edit his .bash_profile in sublime text simply by typing
subl .bash_profile
Im curious to see if there is an equivalent to this for edge code. or am i trying to use the wrong app for ruby on rails?There is not a way to open a file via the command line with Edge Code (or
Brackets) yet, but you can at least right click on a file and do Open With.
In terms of 'does it make sense to write Ruby code with Edge Code', I can't
answer that. I use Brackets for all my front end code, and Node.js stuff on
the back, but not for any ColdFusion work I do. Best I can suggest is just
to try it out and let us know how it works. -
Any Extension for Ruby On Rails on DW
Hello,
I am planning to quit PHP and start developing in Ruby on
Rails. Their MVC model is really great and plus MS has also
appreciated this model and getting this implemented in new Orcas
Model ( New Asp.net 3.5 version ).
Ruby really beats every one since its totally OOP and plus it
offers more powerful features than PHP5 and Easily fights with
asp.net in power.
Ruby on Rails is the future. I need to practice this on DW8
can any one prpvide me a working Extension for Ruby.
ThanksRuby doesn't even come close to the .NET framework. That is
just wishful thinking.
Anyways, here is a link:
http://rubyweaver.gilluminate.com/ -
How to execute a ruby command stored in a variable in powershell
I am executing a command of the form rake
drive:unit_tests:load_data parameters here'. I get the erroris not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.`
I used the code in my ps1 file
$dat1 = one ruby command | Out-String
# $dat1 will contain the value - rake drive:unit_tests:load_data
$dat2 = " parameters here"
$dat3 = $dat1 + $dat2
& $dat3Hiho,
try running this from the directory you installed Ruby into (or set the location to that directory before that step).
Cheers,
Fred
There's no place like 127.0.0.1
Thanks. I'll try that link now. But, I 'd like to know why the command works when I copy paste / type it, but not when I store it in a variable and then execute it.
When you copy/paste or type it into the console command line, the parser is interpreting it in
Command Parsing Mode.
When you read it back from a variable, the parser is interpreting it in
Expression Parsing Mode.
This article by Keith Hill explains more about the differences:
http://rkeithhill.wordpress.com/2007/11/24/effective-powershell-item-10-understanding-powershell-parsing-modes/
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " " -
[Solved] Ruby - Gem bundle install no longer works
Hi,
I am new to Linux, Arch and Ruby.
About 3 days ago I installed Arch on my virtualbox.
After I was happy with my installation (openbox as WM) I installed ruby.
I was able to install a project (Gemfile) using the command:
gem bundle install (from the terminal)
(That was after installing the bundle gem from within ruby: gem install bundle)
Today, after updating my Arch system, I had to install that project again (for reasons related to the project), and I cannot.
I write in the terminal:
gem bundle install
and get:
ERROR: While executing gem ... (RuntimeError)
Unknown command bundle
I searched the forums, but there's nothing relevant that I could find.
Can someone help?
Edit:
After more tries and searches I have found:
1. This has nothing to do with the Arch update as I feared.
2. The command to run is "bundle install" not as I initially did.
Apologies for cluttering the forum.
Last edited by Tronn (2012-07-24 06:07:18)bradmccormack wrote:
Hi mavenik,
Whilst it is not the best way to do it, the following worked for me
1) install gcc44 from AUR (you can probably use gcc45 too). If you are not sure how to do that please search the forums for installing from Aur or Aur wrappers (I use packer)
packer -S gcc44.
2) After it is installed temporarily rename your current gcc (4.7.x)
sudo mv /usr/bin/gcc /usr/bin/gcc4.7
3) create a symlink to gcc4.4.x
sudo ln -s /opt/gcc-4.4/gcc /usr/bin/gcc
Test gcc version by doing
gcc --version
It should say 4.4.6 or similar
4) install ruby1.8 or ruby-enterprise from Aur (if this is required for redmine)
packer -S ruby-enterprise
ruby will now be compiled using an older version of gcc and gems will install correctly.
5) delete the symlink
sudo unlink /usr/bin/gcc
6) rename gcc4.7 back to gcc
sudo mv /usr/bin/gcc4.7
Test the version again to make sure it has reverted.
Please note the proper way to do this would be to set ruby1.8 / ruby-enterprise to compile with the older gcc by setting CC in the pkgbuild.
I'm not sure how to do that (had no luck) so the hacky solution above worked for me.
Please check each command above before you use it to make sure it is safe and valid for you.
Enjoy !
You should be able to compile with the older gcc by putting CC=/path/to/your/compiler right before "make", like so:
CC=/opt/gcc-4.4/gcc make
YEAH! I got it working! Here's what I did: install "gcc45" from the AUR, then compile ruby-enterprise by downloading the AUR package and running:
CC=gcc-4.5 makepkg
... then install the package. IT WORKS!
Last edited by synthead (2012-04-23 13:52:39) -
New wiki page on Ruby on Rails
Hi,
Just wanted to let you know that I created a Ruby on Rails page on the
wiki. It's not really long but the basis is there to quickly set up a
rails application.
http://wiki.archlinux.org/index.php/RubyOnRails
As always, please feel free to comment and edit the wiki.
ekseHi,
It is a really nice idea. Maybe the page ought to serve as a hub for other articles.
A couple of comments on sharing medias:
* I have not been very happy with upnp. I used it for a while when I had a Synology NAS, but the fact that it seemed to rely on some kind of index made it less attractive. Samba has treated me nice; it always works (as oppose to "real" Windows shares which is a drag to setup). I use samba for sharing videos and pictures to XMBC4Xbox.
* For streaming live audio output, i.e. what is playing *right now* on my laptop to my stero, I have found a combo of icecast, pulseaudio and gstream to work nice. For serving static audio files I use squeezeboxserver. Had I used a Sonos sound system I would have used Samba again.
* For PS3, which is a somewhat limited device, there is a nice java application that takes care of everything.
* What I really miss is some way to preserve metatags when downloading video podcasts. To me it does not matter much at the moment as xbmc does not support local rss feeds. . .
I could add some comments on some of the above if you think it fits into your article.
--Rasmus -
Ruby threads cannot be used in RubyCocoa without patches to the Ruby interp
Hi,
We are getting an error message while running the iTunes U work flow. We get this each time ithe work flow runs it seems. The error message is in the Podcast Producer error log. Here is the error message. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/ge ms/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `run': Ruby threads cannot be used in RubyCocoa without patches to the Ruby interpreter
How can I do this update or fix this problem please?
Thank you,
ChipDo this:
http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/
You may have to compile ruby...(/usr/local/bin/*) like I did. This worked for me.
If you already did this, everything will be groovy. Then if you are having trouble with mysql see this: http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/ -
Ruby threads cannot be used in RubyCocoa without patches to the Ruby inter
I updated a working Podcast Server recently and now it doesn't work.
I'm getting:
Ruby threads cannot be used in RubyCocoa without patches to the Ruby interpreter
Any thoughts on how to fix it.You can safely ignore the "Ruby threads cannot be used in RubyCocoa without patches to the Ruby interpreter" message, it has nothing to do with the problems you are having.
Can you give us more details? Can you not start recordings, are recordings not beings processed, etc? -
What is the recommended way to upgrade system ruby and python binaries and their libraries?
I'd like to upgrade my system ruby to 1.9.2 instead of old 1.8.7. Also was wondering what's the recommended way of upgrading any scripting languages installed on system?
Hi Sogaard,
see below:
How does SAP recommend to integrate Webi-report in the SAP Portal? Is it through an URL iview, the iview templates (thumbnail, folder and alert) or through the Master Iview?
The sample iViews are just samples for a particular case. The iView template allows you to use any application on the BusinessObjects system - including the viewing of content. What you are looking for is the creation process for WebI. So you have 2 options: you can use the KM integration and you can build a java application that offers the workflow you looking for and integrate it with the iView template
Depending on what method should be used, I'd like to know which settings to be focused on. For instance, if the Master Iview is to be used, should opendocument be used instead of reports? And what other customizations will have to be done in order to integrate a Webi-report instead of a Crystal-Report?
OpenDocument is for viewing reports. The Installation Guide outlines the integration of the iView template and the KM part.
What is the intended use for the BOBJ repositoy manager? Would that be the way to integrate the Info-view?
This is the integration into the KM repository which provides a richer functionality then just an iView.
Ingo -
Help with Ruby on Rails and mysql - I just don't get the terminal...
Let me just start by saying I'm pretty new to using the terminal and unix commands. I've been trying to teach myself how to use Ruby on Rails (ror) over the pasy couple of days and have had some luck but I'm struggling with the terminal.
For instance, when starting a new ror project I need to use the terminal to creat a new database schema (I think this the right terminology) within mysql. The tutorials I'm using suggest that I use the terminal to create the database with a command like:
mysqladmin -u root -p create expenses_development
no matter how I try I cannot seem to find the way to make this work. I contunue to switch directories in the terminal, but am not getting anywhere. Can someone shed some light on where I could be going wrong?
thanks in advance
MacBook Pro Core 2 Duo 2.33 Mac OS X (10.4.8) 2 GB RAMokay, that helped. Here's what I get:
erik-petersons-computer:/usr/local/mysql/bin erikpeterson$ ls
comp_err mysql_zap
makesharedlibdistribution mysqlaccess
makewin_bindist mysqlaccess.conf
makewin_srcdistribution mysqladmin
msql2mysql mysqlbinlog
myprintdefaults mysqlbug
myisam_ftdump mysqlcheck
myisamchk mysqld
myisamlog mysqld_multi
myisampack mysqld_safe
mysql mysqldump
mysqlclienttest mysqldumpslow
mysql_config mysqlhotcopy
mysqlconvert_tableformat mysqlimport
mysqlcreate_systemtables mysqlmanager
mysqlexplainlog mysqlshow
mysqlfindrows mysqltest
mysqlfixextensions mysqltestmanager
mysqlfix_privilegetables mysqltestmanager-pwgen
mysqlsecureinstallation mysqltestmanagerc
mysql_setpermission perror
mysql_tableinfo replace
mysqltzinfo_tosql resolvestackdump
mysql_upgrade resolveip
mysqlupgradeshell safe_mysqld
mysql_waitpid
erik-petersons-computer:/usr/local/mysql/bin erikpeterson$
How would I create a new database from here? -
How do I live preview a Ruby on Rails/Ember application?
I have a Ruby on Rails application and I am under the impression that Edge Code will work with locally hosted web servers to use live preview. I have set up the project settings to use the locally hosted address: http://localhost:3000/ ... However when I use Live Preview I receive the following error.
"Open an HTML file or make sure there is an index.html file in your project in order to launch live preview."
I have done so and I meet the criteria but it doesn't seem to work. Does Adobe Edge Code support this feature?What's the file extension of the page you want to view in Live Preview? You may need to add it to the internal (not yet easily configurable) list of file extensions.
Randy -
Issues installing ruby 1.9.3 - error: C compiler cannot create executables
I am trying to install ruby 1.9.3 on my Macbook pro but I've run into a wall.
Here are the essentials;
OS: OS X 10.7.3
Xcode: 4.3
When I run the rvm command I get the following...
"rvm install 1.9.3"
Fetching yaml-0.1.4.tar.gz to /Users/vindigo/.ram/archives
Extracting yaml-0.1.4.tar.gz to /Users/vindigo/.rvm/src
Configuring yaml in /Users/vindigo/.rvm/src/yaml-0.1.4.
Error running ' ./configure --prefix="/Users/vindigo/.rvm/usr" ', please read /Users/vindigo/.rvm/log/ruby-1.9.3-p125/yaml/configure.log
Compiling yaml in /Users/vindigo/.rvm/src/yaml-0.1.4.
Error running 'make ', please read /Users/vindigo/.rvm/log/ruby-1.9.3-p125/yaml/make.log
Database file /Users/vindigo/.rvm/config/packages does not exist.
Installing Ruby from source to: /Users/vindigo/.rvm/rubies/ruby-1.9.3-p125, this may take a while depending on your cpu(s)...
ruby-1.9.3-p125 - #fetching
ruby-1.9.3-p125 - #extracted to /Users/vindigo/.rvm/src/ruby-1.9.3-p125 (already extracted)
ruby-1.9.3-p125 - #configuring
Error running ' ./configure --prefix=/Users/vindigo/.rvm/rubies/ruby-1.9.3-p125 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/vindigo/.rvm/usr ', please read /Users/vindigo/.rvm/log/ruby-1.9.3-p125/configure.log
There has been an error while running configure. Halting the installation.
CONFIGURE.LOG
[2012-02-26 14:56:49] ./configure --prefix="/Users/vindigo/.rvm/usr"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/Users/vindigo/.rvm/src/yaml-0.1.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
MAKE.LOG
make: *** No targets specified and no makefile found. Stop.
Another suggestion I received was to use the following command...
"rvm install 1.9.3 --with-gcc=clang"
but I get the same results.
At this point I've exhausted my options and I am not sure what to try next, other than starting from scratch and reloading the entire OS.
Any help would be greatly appreaciated.
Thanks,
RichPhew! That was harrowing.
Found this, and it solved the problem. Refreshingly, it was written in English and done well at that!
http://pragmaticstudio.com/blog/2010/9/23/install-rails-ruby-mac
Follow all the instructions. The main missing ingredient for me was downloading the developer tools for the command line from Apple. I had to register there, but it was free. These tools seemed to install the compiler where it was needed. You might need a github something or other, I don't know. I think I downloaded it as some point. Anyway, I did everything this author told me, and now I have my first rails app! Good luck - Joel -
Ruby on Rails with Oracle Database
I am starting a new project that needs to produce dynamic charts and data reports on the web. I am a Java programmer and new to databases. I have heard good things about Ruby on Rails but cannot get it to work with Mac OS X and our Oracle database. I've read many, many forum posts about the lack of an Intel Client from Oracle, but would really like to know how if its possible to
A) Get Ruby on Rails to read from an Oracle database AND
B) Find out how to configure Locomotive (the Ruby GUI I'm using) to connect to the Oracle database.
Thanks for any help!Hello Deepak,
Thanks a lot for this great content.
Feel feel to contact OTN editors if you want to publish new articles on Oracle Tech site.
Tugdual Grall
Maybe you are looking for
-
Web font, Merriweather Light, not displaying correctly
Hello, I have designed a site using a web font from Typekit called Merriweather Light. On my monitor, using several different browsers it looks fine. Most of the other computers we've checked this site on, it looks fine. But, on 2 different computers
-
Iphone not working after update to 7.06. from 7.04.
I updated my iphone from ios 7.04 to ios 7.06. The phone stopped suddenly. I can do nothing. The phone is showing the apple sign in display from last day. My Itunes don't detect my iphone. Could you please give a suggestion to make it work? I think I
-
Error message for my torch 9800 - app error 601
My torch now has an error message of app error 601... what does that mean please help I'd really appreciate it
-
He actualizado iOS 6 en mi iphone 3GS y no me reconoce la SIM
Al actualizar iOS 6 no me reconoce el operador y me ha desaparecido la opción operador de Ajustes.
-
Unable to download geocache by groundspeak
Their tech support points me back to Verizon. I am using a droid x2. Android ver 2.2.2. I buy the app and it hangs up saying "authorizing" or "downloading" but the download never starts.