>
> I fix the problem.
>
It is very annoying when this types of mistakes do not generate an error.
(It is almost as bad as my day of c programming chasing a memory leak.
dgb to the rescue.)
class PatientsController < ApplicationController
def create
@patient = Patient.new(patient_params)
I forgot to post this line for the Patient class.
accepts_nested_attributes_for :elig, reject_if: :all_blank,
allow_destroy: false
On Saturday, May 14, 2016 at 7:39:18 PM UTC-4, Luis wrote:
>
> Hi all,
>
> this form will not display the nested part when it fails validation.
>
Hi all,
this form will not display the nested part when it fails validation.
What is really throwing me in a loop is that if eliminate one of the
":include_blank => true"
it works.
I have tried changing them to text_field and it fails also.
Thanks for you help in advance.
-Lui
Thanks Colin, that did it.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send
ting_mds, :foreing_key => :admiting_md, :class_name =>
"Sched"
end
Same error
BTW James I took that Benadryl. ;-)
-Luis
On Thursday, May 12, 2016 at 2:28:12 PM UTC-4, Luis wrote:
>
> I am trying to establish the following relation, but no joy!
>
> Can someone plea
!
I'll give it another try
Thanks
-Luis
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To pos
I am trying to establish the following relation, but no joy!
Can someone please tell me how should I do this.
Thanks.
Luis
#Sched attributes:
#id
#...
# pcp_id:integer
# admitingMd_id :integer
class Sched < ActiveRecord::Base
belongs_to :admitingMd, :class_name =>
Thanks a lot Diego!
I will have a look!
Best regards!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyon
Hi all,
My name is Luis, and I'm a 16 years old guy from Spain. I would like to
learn Ruby because I've seen is pretty cool and seems quite easy to
learn. I tried to look for some spanish forums but they are not too
active so I'm going to post here, please forgive my poor English
There is no unit test for this.
On Friday, September 11, 2015 at 11:43:39 AM UTC-4, Luis wrote:
>
> Hi!
>
> I have the following classes for postgres rails 4 project :
>
> class Medhospital < ActiveRecord::Base
> belongs_to :pcp
> belongs_to :hospital
> v
That is all I have, The controller have nothing special all is basic and
default. Well not quite, I am using
cocoon gem for the nested forms but other than that is pretty vanilla.
Thanks.
class PcpsController < ApplicationController
before_action :set_pcp, only: [:show, :edit, :update,
> Here is the code you ask Colin:
_form
simple_form_for @pcp do |f|
= f.error_notification
.form-inputs.row.col-md-12
= f.input :name
= f.input :last
= f.input :phone1
= f.input :phone2
= f.input :bod
= f.input :esp
=f.simple_fields_for :medhospitals do |ho
uot;
BTW I am testing manually from a view form.
Am I doing something wrong ?
Thanks
-Luis
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an ema
Thank you Walter, that worked.
- Luis
Sent from my iPhone
> On Aug 19, 2015, at 8:10 PM, Walter Lee Davis wrote:
>
>
>> On Aug 19, 2015, at 7:07 PM, ITF-tkd wrote:
>>
>> Hi,
>>
>> Can someone explain to me why is this behaviour please?
>>
>
I have a problem with update a video for web cam, in development mode
work and update video but on server fail
my model:
has_attached_file :video_presentacion, :styles => {
:original => { :geometry => "1280x720", :format =>
'mp4',:convert_options => { :output => { :vcodec => 'libx264'}} },
Hi,
Can you post the error you're getting and the log?
Thanks
On Wednesday, October 16, 2013 11:44:18 AM UTC+1, Gilvam wrote:
>
> Hello everybody.
>
> I'm trying to make the save and update 2 tables and I can not do the same.
> Use Ruby 4 Rails 2.
>
> Table I and Table cases valves. Need to s
orking/19369601?noredirect=1#comment28708707_19369601
Any more ideas on how I might solve this?
Segunda-feira, 14 de Outubro de 2013 10:28:12 UTC+1, Luis Bivar Ramos
escreveu:
>
> I'm having trouble with saving to two different models, from one form... I
> tried to follow rails casts #19
I'm having trouble with saving to two different models, from one form... I
tried to follow rails casts #196 and looked at several other examples here
at stackoverflow but I haven't figured out how to do this because my case
is a little bit different...
So, I have two models:
class Patient <
I been using clockwork to schedule sidekiq background jobs, but now I'm
having an issue when running Clockwork clock.rb. This is the error I'm
getting:
$ clockwork clock.rb
/Users/lurraca/.rvm/gems/ruby-1.9.3-p...@shop.pr/gems/activesupport-3.2.11/lib/active_support/duration.rb:107:in
`method_m
ed ?
Another alternative would be to have a label_content helper returning the
calculated content.
Thanks,
Cheers,
Luis Reis
--
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 rubyonrails-talk@g
If you want a web development job, I would suggest that you learn first the
basics of html5/css/javascript, than you move to server-side development
with php or rails.
*
Luis Va**sconcellos,** *Web Developer
twitter: @vasconcelloslf <http://www.twitter.com/vasconcelloslf>
mobile: 55 21 95
stand
ajax and basic dom manipulation, than learn rails.
*
Luis Va**sconcellos,** *Web Developer
twitter: @vasconcelloslf <http://www.twitter.com/vasconcelloslf>
mobile: 55 21 95100576
DTM | Simplifying Ideas
http://dtmtec.com.br <http://www.dtmtec.com.br>
@dtmtec <http://www.twit
Try this:
> Cbapp::Application.routes.draw do
> root :to => 'users#index'
> match 'users/login' => 'users#login'
> resources :users
> end
Enviado desde mi iPhone
El 31/10/2012, a las 15:22, IT Coobo Internal Team
escribió:
> Hi everbody,
>
> I'm new in the forum. I' studing ruby and rails
Yes, it is only a text area option, and also the second parameter that a
text_field accepts it's the prompt value (default value) of the field, and
that second parameter needs to be a string.
*
Luis Va**sconcellos *|* *Web Developer at DTM
wblog: luisvasconcellos.com
twitter: @vasconcel
http://railscasts.com/episodes?utf8=%E2%9C%93&search=ajax
*
Luis Va**sconcellos *|* *Web Developer at DTM
wblog: luisvasconcellos.com
twitter: @vasconcelloslf <http://www.twitter.com/vasconcelloslf>
mobile: 55 21 95100576
http://dtmtec.com.br <http://www.dtmtec.com.br&g
On Thursday, June 21, 2012 1:16:05 PM UTC-3, Ruby-Forum.com User wrote:
>
>
> Hi Luis,
> Thanks for the answer. I did run bundle install and bundle update a few
> times after I changed the gemfile without any luck. I wonder why less
> is depending on therubyracer? Any id
o
RubyGems:
https://rubygems.org/gems/less
Please verify your dependencies first.
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To view this discussion on the web visit
https://groups.google.com
nd restart your computer to ensure "node"
executable is available in the command prompt.
Then try your Rails application again.
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To view this discussion on the
d extend Rake.application
The following Gist is what I used with one application to send errors to
Exceptional.io:
https://gist.github.com/2725772
You could replace the exceptional.io handling and go whatever you want.
Hope that helps
--
Luis Lavena
--
You received this message because you are s
e file: you're trying to load the whole thing.
There are two options for this:
A) You stream the contents of your CSV file, reading by chunks into a
ZipStream
or
B) You zip the file from outside Ruby (shelling out to gzip for example)
--
Luis Lavena
--
You received this message because
ip::ZipOutputStream.open(zip_path) do |zos|
> zos.put_next_entry(File.basename(csv_path))
> zos.print IO.read(csv_path)
> end
>
You're reading the entire file contents into memory and then saving.
Look if there is a way for you to stream chunks (16 kilobytes for
load *all* records:
find(:all).each does that.
Either you change to find_in_batches or find_each
See documentation:
http://api.rubyonrails.org/classes/ActiveRecord/Batches.html
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk&q
ange the mode from 'w' to 'wb' (write binary)
Also, don't forget to close the file (csf.close) as you keep that open in
your test, leaking file handlers.
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Ra
e only difference between your system is just editions
(standard vs enterprise), I think there is more that we aren't seeing.
Please join RubyInstaller and bring the subject there, as others in the
list might have other ideas on what could be the reason for this issue.
https://groups.google.com/
D
processor:
https://groups.google.com/d/topic/rubyinstaller/npF30tledm8/discussion
Don't think that is your case.
Hope that helps.
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To view this discussion on t
>
Has the server the WOW64 installation?
WOW64 allows to run 32bits applications (Ruby) on 64bits OS.
can you provide the exact, complete output of gem install so we can see the
error configure?
Please note that for ruby-odbc to work it requires some headers.
--
Luis Lavena
--
You recei
m/rails-sqlserver/activerecord-sqlserver-adapter
In the Wiki there are comments about the pros of this alternative:
https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/wiki
Hope that helps.
--
Luis Lavena
--
You received this message because you are subscribed to the Google Grou
ild locally EventMachine:
gem install eventmachine --pre --platform=ruby
B) Request the gem authors to release a gem with the flag updated
We are discussing the technical challenges to solve that at Ruby level:
http://bugs.ruby-lang.org/issues/6352
--
Luis Lavena
--
You received this message be
you can
obtain with "ruby -v") I'm just guessing.
If you want to start with Rails on Windows it is recommended you use
instead RailsInstaller as it contains everything ready to be used.
Regards
--
Luis Lavena
--
You received this message because you are subscribed to the Google
:\j
ruby-1.6.7\lib\ruby\gems\1.8\gems\win32-api-1.4.8\ext"): CreateProcess
error=2,
The system cannot find the file specified
popen at org/jruby/RubyIO.java:3613
Mentions JRuby, then you're using JRuby :P
Check your PATH, perhaps both JRuby and normal Ruby installation
s are not suitable for JRuby.
Developers are working on port it to use FFI instead. You can also reach
the Watir guys to figure out alternatives.
Hope that helps
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" gro
MySQL and
Ruby using mysql adapter. It required me set "reconnect: true" or specify
some timeout mechanism to certain services (Redis for example).
Is there a way you can obtain a log from one of those thin installation
behind Apache?
--
Luis Lavena
--
You received this message because yo
ed from FreeTDS
that is not there, which brings again the question about what version of
FreeTDS did you install.
Also, more details about your version of Ruby (ruby -v, gem env) will be
good.
Considering you mention apt, I expect we're talking about Ubuntu/Debian and
a debian-provided Ruby
student (Masters) and this summer I will probably not have an
>> ordinary summer job, but instead work on some of my own projects. These
>> will probably not fill my time so now I want some ideas for a project to
>> start or a gem to develop in Rails.
>>
>> Do you have any service y
Hi,
I want to read data from Rails 3.1 app with PHP. I use REST with JSON for
this.
My problem is that Rails app have "devise" and "cancan" and i don't want
access to REST Services because i haven't auth previously.
Any example of this?
Thanks and sorry for my english.
--
You received thi
.html
In relation to SQLite3 gem, gem is now "sqlite3", sqlite3-ruby is now a
shim/redirect and has been deprecated.
So, you will end with this in your Gemfile:
gem "sqlite3", "~> 1.3.5"
There is no need for :require since the gem name matches the require itself.
tible).
Once you install it try to install the gem again.
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/MgK3m
als/installing_nokogiri.html for help with
> installing dependencies.
>
I believe the error message is pretty clear.
You need to install libxml2 in your cygwin installation to be able to
install nokogiri. See the installation document for other dependencies.
--
Luis Lavena
--
You received this mess
o this, ensure you're pointing to the right version in your
Gemfile, or bundler will complain and ask you to bundle install, which you
should avoid.
Always install gems outside bundler when you need to provide additional
compilation flags, the do "bundle check" to ensure it picks the
On Thursday, March 15, 2012 3:46:55 PM UTC-3, Evandro wrote:
>
> Nunca tive contato antes com Ruby on Rails. Temos um servidor aqui no
> serviço que foi configurado para receber aplicações Ruby. Na máquina
> local, o site estava funcionando perfeitamente. Agora existe este
> erro: http://planari
On Thursday, March 1, 2012 9:14:35 PM UTC-3, Reynier Pérez Mira wrote:
>
> Ok but can you tell me which is the correct line? I'm lost here :(
>
>
gem install pg -- --with-pg-include=... --with-pg-lib=...
Note the double dashes...
Looking at "gem help install" woul
;
>> require "openssl"
=> true
>> module Foo
| include OpenSSL::Cipher
| end
TypeError: wrong argument type Class (expected Module)
(ripl):5:in `include'
(ripl):5:in `'
(ripl):4:in `'
You're trying to include a class into a module, OpenSSL::
t could be blocking?
We need more information about your environment:
gem env
For some reason webrick is not starting properly, so there must be
something in your setup that is producing that.
Can you start a console instead?
ruby script\rails console
--
Luis Lavena
--
You received this
pplication in a
path with spaces (Documents and Settings)
Please avoid spaces in the path. Please create another application in
a directory without spaces.
If you installed RailsInstaller, you can create your application
inside C:\Sites directory.
Hope that helps.
--
Luis Lavena
--
You receiv
having issues, it could be a proxy setting that is
missing, check your browser configuration to determine if a proxy is
required and then use --http-proxy argument for gem or use HTTP_PROXY
environment variable.
The proxy syntax is http://user:pass@host:port/
Then, try bundle install and see if tha
That will help us figure out where the error is coming from.
Also, ensure you have latest RubyGems (gem update --system)
--
Luis Lavena
--
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 rubyonra
a permanent fix, please see this Cucumber wiki page:
https://github.com/cucumber/cucumber/wiki/Troubleshooting
http://codesnippets.joyent.com/posts/show/414
It involves edits to the registry.
Another recommendation: use a true type font for your console. Your
eyes will thank you later.
--
Luis L
installation?
Use chcp from the command line and change to Latin one (1251 or 1252)
or Unicode (65001) and try gem install again.
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send emai
the double dashes before "--with-mysql-
dir" option. Also note the use of forward slashes instead of
backslashes.
Hope that helps.
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this grou
ersion
v0.6.8
That should be the output.
After that ExecJS should be working properly.
--
Luis Lavena
--
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 rubyonrails-talk@googlegroups.com.
To
e .gemspec files
> for each target OS... I'm all ears!!
Above example has been used in different projects, most of the time by
#dup the gemspec and building it for each platform.
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Ra
place all your commands "rails" by "ruby -S rails", that means
adding "ruby -S" at the beginning of all the command line commands.
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To p
s of the Gemfile?
And no, not everybody can do a TeamViewer session to help you solve
your problem, finding the right time slot across timezones, work and
others is almost impossible (and we are not paid to do it anyway)
--
Luis Lavena
--
You received this message because you are subscribed to
ing
bundler (bundle command line) from a directory that is not a Rails
application or contains a Gemfile
Have you tried "CD" into the application directory and then execute
your commands?
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups &quo
do
provider :facebook, $omniauth[:facebook_app_id],
$omniauth[:facebook_app_secret],
:scope => $omniauth[:facebook_scope],
:client_options => { :ssl => ssl_options }
end
The principle is the same for newer version of OmniAuth. You just need
the cert bundle.
--
Luis Lavena
--
You receiv
gem pristine --all
Then do "gem install " for the gems still showing "Invalid
gemspec" error
PS: This was already answered here and all over the internet
(including stackoverflow). Search is your friend.
--
Luis Lavena
--
You received this message because you are subscrib
/gems/1.9.1 . Is there a special command?
>
gem install foo -i /path
Then
gem server --dir /path
PS: If you want to host gems locally, please take a look to stickler
[1] or gemfury for hosted/remote one [2]
[1] https://github.com/copiousfreetime/stickler
[2] http://www.gemfury.com/
--
Luis Laven
rary
libmysql.dll
If you need further assistance, feel free to post to RubyInstaller
group:
https://groups.google.com/group/rubyinstaller/
(This was also answered there too)
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk&q
pec didn't regenerate
Please use gem install activemodel -v 3.2.0.rc1
Or do "gem pristine activemodel"
If you need more details on this, please read this.
http://blog.rubygems.org/2011/08/31/shaving-the-yaml-yak.html
Have you updated RubyGems?
gem update --system
What is the output
Invalid gemspec in
> [/usr/lib/ruby/gems/1.8/specifications/actionpack-3.2.0.rc1.gemspec]:
Update to latest RubyGems (1.8.13) and do:
gem pristine --all
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
mation. When I sent an email, I need know. The question to be
> answered by my app is "Did they read it?"
>
See SendGrid
http://sendgrid.com/
They have "open" notifications when you use HTML templates for the
emails.
--
Luis Lavena
--
You received this message because y
erence, please see my previous comment.
At this time, if you have the alternative to implement your
application in other than IIS or WIndows, go to Linux and use 1.9.3 +
Passenger and Nginx.
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Rub
tters.net/post/12897174267/speedup-ruby-1-9-3-on-windows
Cheers,
--
Luis Lavena
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe
>
> Could any one provide me solution,
>
Use thin or passenger standalone.
--
Luis Lavena
--
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 rubyonrails-talk@googlegroups.com.
To unsu
n of Visual Studio that do
not link to the same version of the CRT and thus, segfaults.
* Is no longer maintained
* FastCGI (which was used for those IIS plugins) do not compile under
MinGW/GCC, which is the one used by latest Ruby installers.
Hope that helps.
--
Luis Lavena
--
You received this m
de from control panel / uninstall so that rails picked new
> path.
>
Perhaps because you tried to do that in a open command prompt? Changes
to the PATH are not applied to existing sessions, that is true for
bash too.
--
Luis Lavena
--
You received this message because you are subscribed to the Go
ysql.exe lives) to the PATH doing the following on a console:
SET PATH=%PATH%;C:\path\to\mysql
However, to avoid issues with spaces and such, I recommend you use the
MySQL Console Client shortcut.
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups &qu
indows)
I'm ignorant in relation to where you can get those, but I bet if you
google for jni.h will get some details (perhaps JDK or something like
that?)
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To
:2:in
> `require': Incorrect MySQL client library version! This gem was compile
> d for 6.0.0 but the client library is 5.1.45. (RuntimeError)
> At line:1 char:6
Please see my response to your question on stackoverflow:
http://stackoverflow.com/questions/8438990/some-issue-with-runn
database.yml file.
Neither if using the MySQL command line client does indeed connect.
Without knowing if MySQL *works* we are just guessing any possible
cause.
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk"
2) That is the entire backtrace of your application?
3) This does happen randomly or you have a way to reproduce it?
4) Does it reproduce on a clean application or just your application?
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
?
PS: Upgrade at least to Ruby 1.8.7, 1.8.6 has been dead for quite some
time.
--
Luis Lavena
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe
all node into a directory without spaces.
As for no JScript support, does invoking cscript.exe from the command
line works?
--
Luis Lavena
--
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 ruby
ags or something?!!! :)
>
You're posting from ruby-forum, a forum-like bridge to Ruby on Rails
mailing list -- is not a forum.
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send
know what is issue:-
> # software in your host machine.>
When you requested a page you aborted it for full rendering, thus, the
request was triggered by the web server couldn't deliver to the
client.
Also, did you check your firewall settings just in case?
--
Luis Lavena
--
You rece
get to install Ruby versus install RVM or the missing
pieces of Ruby they get when using apt.
Again, please apologize if what I said did affect you personally, I'm
not a native english speaker so sometimes the way things are expressed
in my language do not translate properly to english.
--
L
On Nov 26, 3:03 pm, Michael Pavling wrote:
> On 26 November 2011 16:23, Luis Lavena wrote:
>
> > On Nov 26, 8:35 am, Colin Law wrote:
>
> >> Not true for 'every single problem'. I think if you were to look at
> >> my first post on this thread it says
ociated with learning the differences, getting started on those
platforms might be a better option for them.
--
Luis Lavena
--
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 rubyonrails-tal
give
them a choice.
RubyInstaller project is working on providing a better and solid Ruby
for Windows and RailsInstaller, by using it, will improve too.
But, for that to happen, a supportive and friendlier community is
required.
--
Luis Lavena
--
You received this message because you are s
o help out
better integration and transition from Windows to Linux environments,
but that only will happen when users feel comfortable with the newer
tool.
But I understand not everybody sees this like this.
--
Luis Lavena
--
You received this message because you are subscribed to the Google G
I do recommend you join RailsInstaller or RubyInstaller list and ask
there.
The guys over do understand better platform constraints and friendlier
about them.
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To po
t of the issues after you
installed RubyInstaller and the DevKit.
--
Luis Lavena
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this gr
On Nov 10, 2:23 pm, jeb wrote:
> That worked well in 1.8.7, but not in 1.9.2.
>
Dunno what are you doing, but works fine for me:
C:\Users\Luis>ruby -v
ruby 1.9.2p290 (2011-07-09) [i386-mingw32]
C:\Users\Luis>irb
irb(main):001:0> require "base64"
=> true
irb(main):0
this in 1.9.2?
>
require "base64"
content = File.binread("filename")
encoded = Base64.encode64(content)
There you go.
--
Luis Lavena
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group,
rmanent change, see here:
https://github.com/cucumber/cucumber/wiki/Troubleshooting
http://codesnippets.joyent.com/posts/show/414
--
Luis lavena
--
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 ru
taller/wiki/Troubleshooting#wiki-gems_fails
When you install Ruby using either RubyInstaller or RailsInstaller, it
warns you about path with spaces (above the field you enter the path
for installation).
Install outside a path with spaces and things will work.
--
Luis Lavena
--
You received t
r example mine is: Wayne E. Seguin
> name >"
>
> I checked the global settings for git. They seems to be right and they
> are situated in file
>
> C:\Documents and Settings\aleksandrovP\.gitconfig
>
> and looks like
>
http://groups.google.com/group/railsinstaller/br
ng?
>
Seems you're not doing anything wrong.
Please report the issue to the GitHub gem repository:
https://github.com/defunkt/github-gem/issues
Windows is not the most tested platform for a lot of Ruby code.
--
Luis Lavena
--
You received this message because you are subscribed to th
On Oct 22, 3:45 am, "Tomas R." wrote:
> i get this error
>
> https://gist.github.com/1305417
>
EventMachine 0.12.10 is not compatible with Ruby 1.9.2 on Windows.
Please install eventmachine 1.0 instead:
gem install eventmachine --pre
--
Luis Lavena
--
You received th
figuration options (--with-mysql...)
HTH,
--
Luis Lavena
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to
ruby
1 - 100 of 221 matches
Mail list logo