Stream

Join this community to post or comment
 
Is there anything similar to the following but in Ruby and/or using Ruby?

web based desktop app as in:
http://nwjs.io/
http://brackets.io/ ( I am not sure in what this is done but I believe it was done almost completely in Javascript ?!?)
https://code.google.com/p/phpdesktop/ and https://github.com/naetech/nightrain (so cleverly assembled in python using various standard python libs, yet using PHP as backend language).

I would think Ruby/Sinatra as back-end (maybe rails) and some engine (web kit seems to be common choice) for front end.

This would be killer x-platform Web-Based Desktop GUI.
1
Add a comment...
 
Hey guys, how can I consume glade3 files from #Ruby ? I'd like to use gir_ffi-gtk3 or gtk3.

p.s. please, add a Ruby/GTK3 section to the community.
1
Rene Bon Ciric's profile photoMario Steele's profile photo
3 comments
 
+Rene Bon Ciric Not a problem, I'm learning much of the new Gtk3 library, so I'm hoping to have some decent examples for others to look at, in the new IDE.
Add a comment...
 
Hey guys,

I want to start myself in GUIs with #ruby. I've found this project:  gir_ffi-gtk

https://github.com/mvz/gir_ffi-gtk

It hurts for more examples. Also, if anybody can figure out how to use glade files with it, it would be awesome. 

Please, if possible, contribute an example or two.
gir_ffi-gtk - GirFFI-based bindings for Gtk+. Supports both Gtk+ 2 and Gtk+ 3
1
Rene Bon Ciric's profile photoMario Steele's profile photo
3 comments
 
+Rene Bon Ciric, Ruby Gnome 2 team already had a set of Gtk3 bindings going in production status.
Add a comment...
 
Hi,
I have released a new version of Rmldonkey. The objetive of this is the bug fixing. Also the way that the core is included on windows version have changed doing this on an easy way.
The product is distributed on two ways one installer for Windows users and a Fatjar to all others that can run a JRE 7.
http://sourceforge.net/projects/rmldonkey/

Changes on Version 0.61
===============
- "Options/Console" corrections in the window width and contents of this.
- "Downloads" correction in the parsing of downloads.
- "Downloads/Details" corrections on status tag on download details.
If we find the new chunks format does a translation to show status
correctly


Dependencies / Prerequisites
==================
Java 7 or higher

http://www.java.com/es/download/
The need of additional libraries to run Rmldonkey isn't needed anymore.
Additional libraries are bundled statically on jar file.

You can run using...
java -jar FatRmldonkey061.jar
...on Linux / Unix system a "chmod 777 *.jar" give you the double click option.

Regards.
1
Add a comment...
 
http://sourceforge.net/projects/rmldonkey/ Hi that my Jruby experiment i hope this can help others 
1
Add a comment...

Mario Steele
owner

Ruby/VisualRuby  - 
 
So, I have done a couple of things here, mostly just cleanup, and repairing a couple of issues.  First on the top of the list, which is the most important.  I have migrated over stuff that I have used in the IDE to the corelib for VisualRuby, that was meant to be in the corelib from the get go.  What that means, is that now, from revision 8c3d394 onwards, VisualRuby will require the gem vr-corelib to be installed, before you it will properly operate.

The good thing is, I have the gem published now, so that you can actually install it by just doing gem install vr-corelib.  The next thing I have done, is fixed an error in a previous commit that deals with the template for GUI Applications, when a new one was created, the project file wasn't correctly setting the proper execution line in it.  This however has been fixed.

I currently foresee that I have 3 features to setup in VisualRuby, before I launch the first public gem that can be installed for the IDE.  The first being finishing up the gem requirements in the project templates, so that for templates such as Rails, it will determine if you have the proper gems installed for it, and if not, tell you that they need to be installed, and there by install them for you.  This will be the first half of the template creation system that needs finishing, the second half being actual implementation of using commands to create the project templates, for ones that do not have static templates.

This ties in to the fact, that I don't want to update VisualRuby's core distribution everytime Rails updates some piece of their code for templates.  So, in fact, when you go into a new project, and eventually, a new file, it will use template commands to generate the project / template file for what you want.

This brings me to the second feature to implement, which is the New File dialog.  Currently, when you click on a New File, you just get a blank document.  I plan to expand that into a dialog, which will check what type of project your working with, and present the correct options for the new file, from a blank file, to a template file that is required for something to occur, such as with GUI Applications, a New dialog, a New Window, or a custom widget, with Rails apps, a new Model, a new View, or a new Controller.

The final feature that I will need to implement, before I release my first version of the new IDE, is the Project Properties dialog, which will allow you to actually setup Properties for the Project, such as Name of the Project, executable, if required, the version, authors, websites, and such.  This will eventually lead to the final part of this two part feature, which is the creation of the Gem Specification, and actual building of a gem, that will be posted to RubyGems, and installed locally, should you want to test it out.

At this point, I will feel comfortable enough in releasing the current version of the IDE, with other features being put temporarily on back burner, for the next version, such as Git/SVN/Mercurial integration and possible restructure of Project code, an Internal GUI Designer, and even the possibility to bind code to a single executable, in similar method to ocra, or rubyscript2exe.  So, more things are on the horizon for VisualRuby, and it will hopefully be something worth while.  As always, comments, suggestions, help, what have you are welcome.
1
Ljubisa Gavrilovic's profile photoMario Steele's profile photo
5 comments
 
VisualRuby and the previous version of Ruby Develop is gtk2 based and will work on windows. The new version is gtk3 and requires Gio2, which has issues on windows, so I will only be supporting Linux at this time for it.
Add a comment...
 
WHAT ABOUT "SHOES"? green or red?
1
Mario Steele's profile photoRene Bon Ciric's profile photo
2 comments
 
ah! Green Shoes rocks! It requires ruby only and not jruby! Awesome. Thank you!
Add a comment...

Mario Steele
owner

Ruby/Gnome2  - 
 
Ruby-Gnome2 released 1.2.2 without anyone knowing, then followed right up with 1.2.3, which gives some fixes for people running on Windows systems.  I can't wait for 1.2.4, as my port of the GObject Introspection version of WebKit for GTK2 will be released with that.  Soon we'll be able to have a stable Webkit binding for GTK2 version. Woot!
1
Add a comment...

Mario Steele
owner

Ruby/VisualRuby  - 
 
[New features added]

Alright, so a new commit is in for VisualRuby IDE.  This is more stable then previous commits, as I've improved the logic behind the code.  I've been using the IDE to code the IDE, so that's saying something.

Just to give you an idea of what's been added:

Fixed issue where a file is selected in the Project View, and you go to save a new file, or save a file as, it will not correctly set the Current Directory for the File Dialog, now it properly sets the path information for you.

Added a bunch of tooltips to Menu items, so you can now understand what the menu item is suppose to do.

Added code for a Context Menu for the Project View, so you can now get actions, such as Creating a new Directory, removing Files and Folders, and Execute Ruby scripts, such as Tests, that aren't part of the Main Executable.  This feature will be added as another option for the Current Buffer to be executed, with the use of Shift/Control/Alt+F5 later down the road, when I figure which key combination to use.

Some event handlers have been added for the Context menu, but not all options are there currently.  I have also done a small patch to the Process class, to check for Errno::EBADF, which is for bad File Descriptors, but I don't think this code is currently correct, and will need to do further coding to properly fix this error.  It's pretty much at a stop gap for keeping the IDE running.

Pull the updates, and check it out, let me know what you guys think.

Also, I have created a Project Group on Bitbucket that will contain the official Source Code repository for the IDE, as well as other parts that will belong to VisualRuby, such as the vrlib core runtime used in VisualRuby.  I will be eventually migrating everything there, and removing my own personal copy of the repository, and directing everything there.

I added a wiki page to the new repository under the Project Group, with a list of current tasks that are needing to be done, before an official release can be made, check it out here:  http://bitbucket.org/visualruby/ide/wiki/Todo

Enjoy
1
Add a comment...

Mario Steele
owner

Ruby/VisualRuby  - 
 
[Hot off the Presses]

A new update is available for VisualRuby IDE, I just finished committing code to the repository, that fixes the quick and sloppy work I did with the update to the new Process library, as well as some added little niceties.  No real new features have been truly added yet, it's mainly getting what I needed to work, to properly work.  Go figure, right?  So, issue your git pull -u and get the latest code to check out.
The recreation of the VisualRuby interface, to make it more of a familiar design, similar to that of Visual Studio, or MonoDevelop.
1
Add a comment...
 
I have developed a Ruby - Qt application, deployed in a Linux environment. Now I would like to use it on a Windows PC. Is there a simple way to create a distribution bundle that contains the ruby runtime, Qt bindings, sqlite and the application? Application dependenclies are managed from bundler gem.

A single bundle that can be easily installed or copied into Windows would be very helpful because the Windows PC is at a remote site and I do not have remote administration permissions on that computer.
1
Mario Steele's profile photo
 
Hello Daniel,  There are several different ways in which to distribute ruby applications on Windows, and each with their own way of doing things.  You can check out rubyscript2exe, and Orca as  possible ways to distribute programs, another is to look at a tool that is being used for Gosu/Chinga Game development called releasy, which may be another possibility.
Add a comment...

Mario Steele
owner

Ruby/VisualRuby  - 
 
After much work, pain staking, head banging, coders blocking, fixing issues kind of deal, I have finally reached a point, where I am comfortable releasing my version of VisualRuby IDE to the general populace to digest.  This version is currently Bleeding Edge, and is not 100 percent perfect, or fully stable.  You may experience crashes, or issues when using the IDE, so please keep this in mind, and don't use it for Mission Critical items.

To use, simply check out the code from the Bitbucket repository:
  git clone https://bitbucket.org/eumario/visualruby.git

If.... or rather When you run into an issue with the IDE, please submit the bug report on the Bitbucket repository at: https://bitbucket.org/eumario/visualruby/issues

And of-course, comments, suggestions, and what not are always welcome here.
User icon eumario · Follow icon Follow · Clone icon Clone Fork icon Fork · Compare icon Compare Pull request icon Pull request · HTTPS · HTTPS · SSH. Need help cloning? Visit Bitbucket 101. Clone in S...
2
Eric Cunningham's profile photoMario Steele's profile photo
2 comments
 
Here we go, a new version to try out without the Gio2 module.  https://plus.google.com/105333579436195608434/posts/LfWP5EH5fW6  Just for you +Eric Cunningham 
Add a comment...
 
Ok, here's a #ruby  + #GTK3  + #Glade3  example.

I still can't make it quit properly but I'll get there. 

# ruby file
http://fpaste.org/181760/

# glade3 file (compatible with 3.12)
http://fpaste.org/181762/20805142/

Suggestions are totally welcome. Please, don't assume I am a pro programmer. Explain with a full example if possible.
Fedora Sticky Notes is a feature-rich, yet lightweight paste utility
1
Mario Steele's profile photo
6 comments
 
Also, do it on @window, and not your instance of RubyApp
Add a comment...
 
which GUI to use with ruby2 for xplatform windows/linux ?
1
Ljubisa Gavrilovic's profile photo
18 comments
 
move this to Ruby/Tk (its mostly about Tk)
Add a comment...
 
Comparing PHP, Ruby and Python - Which Programming Language is More Successful? 
http://goo.gl/qAKxhz
1
Ljubisa Gavrilovic's profile photo
 
this is old infographics, things has moved on since
Add a comment...

Mario Steele
owner

Ruby/VisualRuby  - 
 
New Push to the repository a couple of days ago.  I pushed new code, that now allows you to use drag and drop operations in your Project View, to re-arrange folders and files in your project.  I will be adding renaming to this, as one of the final pieces of the Project View management.  The other being Project/File Properties.  The other thing left in the wind for the Project View, is an built-in Image Viewer, so you can actually view your images from inside VR.

Also, I have finally fixed most of the template projects, and examples, so that when you attempt to create one of the template projects, or Example Projects, it will actually work, and not crash on you.  Though, Rails is still in the wind, for creation, as I figure it would be best to do creation of Rails project, through the rails commands, instead of having static templates setup.  But you can see a nice WEBrick example, to give you a kind of idea of what to expect with the Rails stuff.

Also on the block, is some cleanup code, for tabs / spaces.  If you have looked at any code written before with the Previous Visual Ruby IDE, or the code I currently have in git, you will see nasty spacing issues, mainly cause VR does not convert tabs into spaces, or spaces into tabs properly.  I will be fixing this issue as well in the clean up code that I will be running over the next few days.

Still more to do before we get to stable point release, instead of developer preview release, but I think things are coming along nicely in the new IDE.  Would love to hear everyone's opinions on the IDE, and how it's currently implemented.  So feel free to contact me on here, or through email.  Any feedback, be it good or bad, is welcome.
1
Add a comment...

Mario Steele
owner

Ruby/VisualRuby  - 
 
Hello All,

I have finally released a new version of VisualRuby IDE to the Git Server, which contains the new Gem Manager system.  It still lacks the Updating, but it will show all installed gems, the gems you have on your account on RubyGems.org, and allow you to search for, and install Gems, with a nice Apt-Get Like Dialog to show you the download, and install progress.  The best way to see this dialog in action, is to uninstall (If installed) rails, and it's components, and then run the install for Rails.

I have also added patches to fix various errors in Visual Ruby, ranging from VR::Process having issues using Process.kill() to see if a Sub-Process is still alive, instead using ::Process.waitpid with ::Process::WNOHANG, and checking for pid return, Errno::ECHILD, or Errno::EINVAL, this should allow Sub-Processes to be better handled on Windows, compared to the previous method, and less issues on Linux in the long run.

Also fixed some issues on Windows, where the Toolbar was not properly loading the Icons using the Stock GTK Icons.  Now properly using the icons that are available in the default Gtk::Stock Icons.

The biggest thing added to this release, is the new VR::Thread class.  Due to the nature of Ruby, and nature of Gtk, you really aren't suppose to execute GUI Commands from a thread that isn't the Main GLib Thread that is currently running the Gtk.main_loop.  Therefore, using suggestions that have been posted on the Ruby-Gnome2 Mailing List, when dealing with Threads, I have created the VR::Thread singleton class, to allow you to protect GUI functions that need to be run on the Main Thread, to ensure that they are actually ran on the main thread.

This has caused issues with the development of the Gem Manager, as a lot of the functions dealing with Searching, Dependency checks, Downloading and Installing of gems, were being shunted out to a secondary Thread, to allow the main thread to continue processing.  And cause I always prefer a Responsive UI, over a Halting UI when trying to do intensive checks, this works out perfectly.  VR::Thread as well as some other enhancements that I have put into VisualRuby will be making it's way into vrlib core, so that you can start using them in your own Program, along with documentation to follow.

As always, any comments, suggestions, questions, what have you, are welcome.  Love to know how many people are actually checking this out, and using it in their Ruby Development, even with it's quirky bits that are currently in there. ;-)
1
Mario Steele's profile photo
 
Also to add to that, I have also added something new to the Settings dialog, which allows you to actually use themes for the Editor itself.  I haven't tested this on Windows yet, but will be testing soon.  Also, with the Gem Manager now taking shape in VisualRuby, I have also added a RubyGems tab to the settings dialog, which will allow you to Add RubyGem Logins, which is done through creating an API Token for your login, so password information is never stored on your system, or tracked by the IDE itself.

Listing of RubyGems that you own, will be selectable based on the API key you choose soon, and you will be able to soon upload Gems to RubyGems.org from the Gem Manager, or from the Project list, when you create a RubyGem there.  Some of the final touches for the Gem Manager to be completed, as well as System Upgrades of Libraries, and such.  So, definitely more to come.
Add a comment...

Mario Steele
owner

Ruby/VisualRuby  - 
 
[New Feature]

Soon, I will be committing new code that will take the Gem tabs out of the main interface, and placing them in a Manager Dialog that will be accessible under Tools > Gem Manager.  This will show you the gems you currently have installed, your own gems that are hosted on RubyGems.org (Either by yourself, or as a part of a group that you develop with), as well as allow you to search for, and install Gems.

The nice thing about this, is that the Gems API is being used for 80 percent of this setup.  From listing Gems installed, to Checking for Updates, and searching for Gems on RubyGems.org, is being handled by the RubyGems library.  The Installed Gems is using custom code to actually check for Gems that you have uploaded to RubyGems.org, but still uses the Official API as published by the RubyGems team.

Work is still being done on the Update part and Install Part, but this is coming along nicely.  Once these last two parts are finished, the new code will be posted to Bitbucket, under the new Team tag for VisualRuby, and I will be creating a repository for the VisualRuby library vrlib.  So watch out for this, as it will be hitting sometime soon.
3
Add a comment...

Mario Steele
owner

Ruby/VisualRuby  - 
 
New update hit the BitBucket repository.  Due to issues with GIO2 not properly compiling on some systems, I have removed all dependencies on GIO2, and opted to use Open3 from the Ruby 1.9.x/2.0 line of Interpreters.  This means that currently, VisualRuby IDE is currently not 1.8.x compliant, as I will still need to create a Compliant Open3 module for Windows, and Linux.  How many people still use the 1.8.x series of Ruby interpreters, just out of curiosity?

Make sure to update your local copies by issuing a 'git pull -u' in the folder where you checked out the code. :)
The recreation of the VisualRuby interface, to make it more of a familiar design, similar to that of Visual Studio, or MonoDevelop.
1
Eric Cunningham's profile photoMario Steele's profile photo
8 comments
 
Gong through the apt packages will install for the system ruby, not for rvm
Add a comment...

Mario Steele
owner

Discussion  - 
 
Have there been any excitement out there for you guys to get interested in lately?  I have seen new work being done on the GObject Introspection bindings for GStreamer and GooCanvas.  The GObject Introspection will make binding to 3rd party libraries 100 times easier, which I think will be a good thing.  What about other GUI Platforms out there?  Qt, MonkeyBars, any other development libraries that you may be working on, or working with, or are just simply interested in. :-D

Also if you have any questions, or problems, feel free to post thoes here, we're here to help Rubyist develop thoes Killer Desktop Applications that they have in their head.
2
James Britt's profile photo
 
I have a vested interest in Monkeybars, but to be honest I'm not typically thinking in terms of desktop apps.  I'm more inclined to think Web app or mobile (and what lies between).

When I do consider a desktop app I find myself thinking through whether to do a single cross-platform thing or to target  particular platforms and go for a proper native look and feel.
Add a comment...