Displaying 20 results from an estimated 6000 matches similar to: "How to use Oniguruma in ruby 1.9.2?"
2010 Feb 27
3
Oniguruma and Ultraviolet on Windows 7
Hi I have been tying to install the followings gems in order to add
code syntax highlighting to my application:
-Oniguruma
-Ultraviolet
-Harsh
Unfortunately I have been running into the the following errors when
running "gem install oniguruma ultraviolet"
Building native extensions. This could take a while...
ERROR: Error installing oniguruma:
ERROR: Failed to build gem
2007 Aug 27
0
how can I get malformed UTF-8 characters to display properly?
Hello everyone,
I''m scraping a lot of sites for a project, and occasionally the
scraped content will have "malformed UTF-8" characters. When the
scraped content is processed (basically a database record is created),
these characters often don''t appear as they''re supposed to.
Normally, the following code works great:
str.unpack("U*").collect {|s| (s
2008 Feb 03
4
Extract vowels and consonants using Ruby Regex
Hello,
I am trying to build a regex to extract vowels and consonants from a
string. So far, I am able to extract the basic a-e-i-o-u sequence
using the following extension to the String class:
class String
def vowels
scan(/[aeiou]/i)
end
def consonants
scan(/[^aeiou]/i)
end
end
examples:
>> "Mary had a little lamb".vowels
=> aaaiea
>> "Mary had a
2015 Jan 08
0
Package "ore": Oniguruma Regular Expressions
Dear all,
I'm pleased to announce the availability of the "ore" package (for
"Oniguruma Regular Expressions"), which offers an alternative to base
R's functions for searching, splitting and substituting text which
matches (Perl-style) regular expressions. The package uses the
Oniguruma/Onigmo regex library behind the scenes, and offers the
following advantages:
-
2015 Jan 08
0
Package "ore": Oniguruma Regular Expressions
Dear all,
I'm pleased to announce the availability of the "ore" package (for
"Oniguruma Regular Expressions"), which offers an alternative to base
R's functions for searching, splitting and substituting text which
matches (Perl-style) regular expressions. The package uses the
Oniguruma/Onigmo regex library behind the scenes, and offers the
following advantages:
-
2011 Feb 10
8
rvm install 1.8.7 prompts "There has been an error while running make. Halting the installation."
I want to work with both Rails 2 and Rails 3 projects.
I have RVM installed.
When I upgraded to Rails 3, Installed RVM via terminal:
bash < <( curl http://rvm.beginrescueend.com/releases/ … ll-latest)
version=$(curl http://rvm.beginrescueend.com/releases/ … sion.txt);
mkdir -p ~/.rvm/src/ && cd ~/.rvm/src/ && curl -O
http://rvm.beginrescueend.com/releases/ … on}.tar.gz |
2012 Nov 16
5
Missing Dependency: libselinux-ruby is needed by package puppet-3.0.1-1.el5.noarch (puppetlabs-products)
Hello Everybody,
I am trying to install puppet on Red Hat
Enterprise Linux Server release 5.8 Beta (Tikanga)
I have installed the following rpms
sudo rpm -ivh
http://yum.puppetlabs.com/el/5/products/i386/puppetlabs-release-5-6.noarch.rpm
I am getting the following error when I am trying to install puppet server
sudo yum install puppet-server
puppet-3.0.1-1.el5.noarch
2011 Nov 14
3
ruby 1.9.3 causes rbuf_fill timeout, but 1.8.7 does not
subject line says it all. I am trying to use the Google Storage gem
(gstore), and if i use ruby 1.8.7, no problem. If i try to use ruby
1.9.3, i get this error:
Timeout::Error: Timeout::Error
from /usr/local/lib/ruby/1.9.1/net/protocol.rb:146:in `rescue
in rbuf_fill''
from /usr/local/lib/ruby/1.9.1/net/protocol.rb:140:in
`rbuf_fill''
from
2012 Oct 16
4
Unable to create the rrd graph
Hello Everybody,
I have been trying to use the rrdgraph reporting
feature available in puppet.
After performing all the instruction maintained
on the site http://docs.puppetlabs.com/references/latest/report.html , the
rrd directory for the agents get created but they are empty.
When i check the log files in
2011 Apr 06
2
Can i upgrade a project from rails 1.2.3 to rails 3.0.5 ?
hello,
i have an application which is created in rails 1.2.3 and ruby 1.8.6
and now i have to upgrade it to rails 3.0.5 and ruby 1.8.7 ? is it
possible? and if yes how ?? can you guys provide me with some kind of
link or reference .
Thanks
Nishant
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send
2011 Dec 05
2
About Latest version of ROR
hi all,
i have application developed in following ruby ,rails and gem version i
want to upgrade it with latest version,can anyone tell what are
stable version for ruby,rails and gem ? and also with compability for
Ruby and Rails version with latest gem version ?
gem version:1.3.7
ruby version:ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
rails version:Rails 1.1.6
thanks in advanced
2011 Jan 24
3
CSV::parse with named columns error on Heroku
The following code works locally (parsing a CSV with specific headers) but
when on Heroku I get the following error on the ''next if'' row:
TypeError (can''t convert String into Integer)
CSV.parse(File.open(file_path, ''r'').read.gsub(/"/, ''''), :headers =>
true) do |row|
next if row[''Customer'']
2011 Oct 25
2
Did not find a test named RAW-*
Hi,
I am facing problem while running RAW tests. When i run following command, i
get the error stating "Did not find a test named RAW-*".
Command ::
root at nishant-ThinkCentre-A85:/home/nishan# smbtorture //nishant/base
-Uuser1%base_ubuntu RAW-*
using seed 1319521290
host=nishant share=base user=user1 myname=nishant-ThinkCentre-A85
Did not find a test named RAW-*
Please help me
2011 Mar 07
3
.rvmrc file not working?
hello,
i am trying to install gemsets but my .rvmrc file not working so i
have create gem sets with the command rvm gemset create rails3 but
when i am using rvm info its not showing the gemsets in the
environment.. this is the content of .rvmrc file
rvm 1.9.2@rails3 --create..help me guys..
thanks
nishant
--
You received this message because you are subscribed to the Google Groups "Ruby
2011 Nov 18
3
Problem in reading a file using smbclient.
Hi all,
I am facing a problem in reading the file contents using smbclient.
Command:: bin/smbclient //localhost/ubuntu -Ubase%base_system
The smb prompt appears, when read the file without smbclient it contains
some data, but when try to read through smbclient ie. "print <filename>"
it erases all data present inside the file.
Why is this happening and how to read and write to
2009 Mar 05
7
issue with the object cache
Hi,
I am getting a method_missing error when I run my application in the
production environment unless I set config.cache_classes = false in
config/environments/production.rb. This happens in Rails 2.2.2 but not
in Rails 2.1.0. The method that is missing is one I used to have
before I edited by hand the migration that creates the table
associated with the object (I know you are discouraged to do
2012 Oct 31
5
how to trigger puppet run on agents remotely
Hello Everybody,
I am looking for a way to trigger puppet rum
remotely. so that i don''t need to login into individual nodes and perform
the puppet agent --test from there.
Is there any alternative to puppet kick in puppet 3.0, since its being
deprecated in telly.
Also , can anybody tell how to configure foreman 1 to trigger puppet run
from the gui in puppet
2011 Mar 11
8
Help Regarding Amazon S3 and Career Wave along with Rspec
hello Guys,
i would like to know some details regarding how to implement AMAZON S3
with Career Wave in Rails 3.0.3 and i have to write Rspec test Cases
as well . Actually i already have code which is implemented with
Career Wave its a image uploading code and i need to change that code
on AMAZON S3. Can you guys help to me to make those changes and in
writing RSpec test Cases.Its really important
2011 Mar 03
4
Problems with Sqlite3 and apt-get
I am new to Ruby, and have a problem to install Sqlite3.
After searching the previous posts, I found a solution, first to do :
sudo apt-get install libsqlite3-0 libsqlite3-dev
However, I am on an AWS Ec2 instance which don''t have apt-get, only
with yum. Would anyone please
tell me how to install apt-get, or how to use yum to install
libsqlite3-dev ? Really appreciate !
Scott
--
You
2013 Mar 27
2
ADUC tool cannot creates users home directory
Hello everybody,
if I use Microsoft's Active Directory & Users tool to add a home drive mapping to a users profile, I encounter the problem that ADUC tool cannot create automatically the home directory for the desired user. ADUC tool fails with the message, that the share cannot be accessed.
My smb.conf contains:
[global]
template homedir = /data1/homes/%ACCOUNTNAME
[homes]