dows environment, change
the path to the java according to the java directory installed in your
machine.
retResult = system("/home/user1/java/jdk1.6.0_07/bin/java -jar
Sample.jar #{args1} #{args2}")
end #chdir
end
If you get error while running this, please post the error h
dows environment, change
the path to the java according to the java directory installed in your
machine.
retResult = system("/home/user1/java/jdk1.6.0_07/bin/java -jar
Sample.jar #{args1} #{args2}")
end #chdir
end
If you get error while running this, please post the error h
You can use system call to execute jar file.
# Change to the directory where jar resides
Dir.chdir("#{RAILS_ROOT}/public//") do
# Execute jar
retResult = system(" -jar .. ")
if retResult
Jar executes succesfully
else
error in executing jar file.
end #chdir
Thank
ileName = data[:datafile].original_filename
filePath = "#{RAILS_ROOT}/public/data/#{orig_fileName}"
file_data = data[:datafile].read
File.open(filePath,"wb"){ |f| f.write file_data }
end
Thanks
Senling
On Feb 17, 2:18 pm, Michael Pavling wrote:
> On 17 February 2010 05:58, Greg Ma
I have installed YM4R/GM plugin. I'm using Rails 2.3.5. After
installing, i could'nt start my application. it shows,
Application error
Rails application failed to start properly.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to
There is no rails gem installed in my system.
Thanks
senling
On Jan 29, 10:57 am, kannav rajeev wrote:
> uninstall rails then ruby restart system then make all processes in better
> mannered way .
>
>
>
> On Fri, Jan 29, 2010 at 11:25 AM, senling wrote:
> > Hi,
> &
Hi,
I have installed ruby and trying to set rails environment.
>ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
>gem environment
RubyGems Environment:
- VERSION: 0.9.4 (0.9.4)
- INSTALLATION DIRECTORY: C:/Ruby/lib/ruby/gems/1.8
- GEM PATH:
- C:/Ruby/lib/ruby/gems/1.8
Yes, you saved my time.
Regards:
senling
On Jan 28, 7:24 pm, kannav rajeev wrote:
> try to download from gemcutter
>
>
>
> On Thu, Jan 28, 2010 at 6:43 PM, senling wrote:
> > Hi,
> > I'm setting the rails environment in my windows machine.
>
> &
ize is 279 kb and it took 2 hours to download.
What is the problem.
again the same downloading issue in rails gem also.
Is there any other site to download gems ?
Thanks in advance
Senling
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails:
Rendering rescues/layout (internal_server_error)
*
On Jan 22, 4:19 pm, Colin Law wrote:
> 2010/1/22 senling :
>
>
>
> > Hi,
> > I am adding login functionality to my app which has two controllers
> > user and photos an
Rendering rescues/layout (internal_server_error)
*
On Jan 22, 4:19 pm, Colin Law wrote:
> 2010/1/22 senling :
>
>
>
> > Hi,
> > I am adding login functionality to my app which has two controllers
> > users and photos and
irects to http://www.example.com/photos
and the page displays correctly.
When i access the main url http://www.example.com
i got this error : Missing template photos/_index.erb in view path
app/views
I am working with rails 2.3.5
Any sugestions?
Thanks in advance
Senling
--
You received
12 matches
Mail list logo