Skip to content

Tag Archives: Ruby on Rails

Rails 2.3.3 in OpenSolaris

30-May-10

If I could just get the stupid thing to build
Rails 2.3.3 in OpenSolaris /contrib repo
A while back an OpenSolaris repository called /contrib was introduced to basically allow anyone with an account on opensolaris.org to submit Open Source applications/libraries to an OpenSolaris repo. The details of how to go about doing this are best saved for [...]

Share on Facebook

Rails without welcome screen Aboard

30-Apr-09

First remove the file , public/index.html and add a route (to config/routes.rb) like:
then …
For example map.connect’ ‘ :controller => ‘Home’, :action => ‘ index’
To specify the Controller and Action for the initial you application Rails.

Share on Facebook

var button = document.getElementById(’facebook_share_link_261′) || document.getElementById(’facebook_share_icon_261′) || document.getElementById(’facebook_share_both_261′) || document.getElementById(’facebook_share_button_261′);
if (button) {
button.onclick = function(e) {
var [...]

Share on Facebook

Why Ruby…??? My Reasonable Question

27-Apr-09

Why would any self-respecting Java developer care about Ruby? Ruby is a general-purpose scripting language created 10 years ago in Japan. Contrary to popular belief, it is a pure object-oriented language. Unlike Java technology, Ruby has no scalars, so everything, including integers, are first-class objects. Ruby’s syntax borrows heavily from Smalltalk, Python, and Ada. Like [...]

Share on Facebook

Locos x Rails second part…

14-Apr-09

This is video by  locos x rails Conference Buenos Aires Argentina

We are in the Video  Juan Ayup and Me

Tinix./

Share on Facebook

var button = document.getElementById(’facebook_share_link_240′) || document.getElementById(’facebook_share_icon_240′) || document.getElementById(’facebook_share_both_240′) || document.getElementById(’facebook_share_button_240′);
if (button) {
button.onclick = function(e) {
var url = this.href.replace(/share\.php/, ’sharer.php’);
window.open(url,’sharer’,'toolbar=0,status=0,width=626,height=436′);
return false;
}

if (button.id === ‘facebook_share_button_240′) {
button.onmouseover = function(){
this.style.color=’#fff’;
this.style.borderColor = ‘#295582′;
this.style.backgroundColor = ‘#3b5998′;
}
button.onmouseout = function(){
this.style.color = ‘#3b5998′;
this.style.borderColor = [...]

Share on Facebook

Ruby-debugger Second part

07-Apr-09

The package needed is the ruby1.8-dev …then install

tinix@Creek:/#sudo gem install ruby-debug
Building native extensions. This could take a while…
Building native extensions. This could take a while…
Successfully installed linecache-0.43
Successfully installed ruby-debug-base-0.10.3
Successfully installed ruby-debug-0.10.3
3 gems installed
Installing ri documentation for linecache-0.43…
Installing ri documentation for ruby-debug-base-0.10.3…
Installing ri documentation for ruby-debug-0.10.3…
Installing RDoc documentation for linecache-0.43…
Installing RDoc documentation for ruby-debug-base-0.10.3…
Installing [...]

Share on Facebook

Ruby-debugger

07-Apr-09

I needed install ruby-debug but the package could a take Error
tinix@Creek:/home/tinix/test# gem install ruby-debug
Building native extensions. This could take a while…
ERROR: Error installing ruby-debug:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb install ruby-debug
extconf.rb:1:in `require’: no such file to load — mkmf (LoadError)
from extconf.rb:1

Gem files will remain installed in /var/lib/gems/1.8/gems/linecache-0.43
for [...]

Share on Facebook

Locos x Rails finished

06-Apr-09

Finished the Conference in Buenos Aires locosxrails.com all very good, where I served well and I learned a lot more with different speakers,
I like the talk Obie Fernandez was …
that he wanted to rescue Rio Cuarto developers who are working on Ruby on Rails as well,
this moment not remenber his names…
everything was great thanks again [...]

Share on Facebook

Gem Install Twitter

06-Mar-09

Gem install does not want twitter I have trouble now for created application with rubyonrails and twitter.
debian:/home/tinix# gem install twitter
Building native extensions. This could take a while…
ERROR: Error installing twitter:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb install twitter
extconf.rb:1:in `require’: no such file to load [...]

Share on Facebook

Configuration WEBrick port 3000 to 80 in rubyonrails

01-Sep-08

This is a simple configuration of port on WEBrick,
A few minutes ago I was looking for change parameters for lifting webrick in him port 80, because the truth that is not wanted in the 3000 perhaps for the sake of itself …. so here I leave the path so they can do that,
tinix@debian:~/rails$ locate webrick.rb
usr/lib/ruby/1.8/webrick.rb
/usr/share/rails/railties/lib/commands/servers/webrick.rb
/var/lib/gems/1.8/gems/rails-1.2.5/lib/commands/servers/webrick.rb
tinix@debian:~/rails$
then
tinix@debian:~/rails$jed [...]

Share on Facebook

Rails is the killer app for Ruby _Second Part

01-Sep-08

My first work on rubyonrails was the created of a weblog by conect on database ; MYSQL all it’s very well and great…was howto I thinking
•  Web development that dosen’t hurt…
•  Allora parlando italiano ho detto
•  “Sono rimasto stupito di queste weblog in RoR”
•  In italian say I was surprised by this weblog…
•  It’s very [...]

Share on Facebook